Home
last modified time | relevance | path

Searched refs:num_labels (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) in extract_label_info() argument
46 *num_labels = (h->cth_objtoff - h->cth_lbloff) / sizeof (ctf_lblent_t); in extract_label_info()
59 uint_t num_labels; in ctf_label_topmost() local
61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_topmost()
64 if (num_labels == 0) { in ctf_label_topmost()
69 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL) in ctf_label_topmost()
83 uint_t i, num_labels; in ctf_label_iter() local
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_iter()
91 if (num_labels == 0) in ctf_label_iter()
94 for (i = 0; i < num_labels; i++, ctlp++) { in ctf_label_iter()
/freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_corrupt_001_pos.ksh120 typeset -i num_labels=$( $ZDB -l $DISK | $GREP pool_guid | wc -l )
121 if [[ $num_labels -ne 1 ]]; then
123 log_fail "Expected 1 vdev label but found $num_labels"
/freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c109 int num_labels; in zpool_open_func() local
156 if (zpool_read_label(fd, &config, &num_labels) != 0) in zpool_open_func()
158 if (num_labels == 0) { in zpool_open_func()
164 rn->rn_num_labels = num_labels; in zpool_open_func()
/freebsd-13.1/sys/dev/nvdimm/
H A Dnvdimm.c249 size_t bitfield_size, index_size, num_labels; in read_labels() local
254 num_labels = 8 * (index_size - in read_labels()
256 if (index_size + num_labels * sizeof(struct nvdimm_label) >= in read_labels()
260 num_labels = (nv->label_area_size - index_size) / in read_labels()
262 bitfield_size = roundup2(num_labels, 8) / 8; in read_labels()
270 index_0_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
272 index_1_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
/freebsd-13.1/contrib/ncurses/ncurses/base/
H A Dlib_slkrefr.c52 #define NumLabels num_labels
103 if (i < num_labels) { in slk_intern_refresh()
H A Dlib_slk.c59 #define NumLabels num_labels
H A Dlib_newterm.c57 #define NumLabels num_labels
H A Dlib_set_term.c57 #define NumLabels num_labels
/freebsd-13.1/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c278 int order, int num_labels, nvlist_t *config) in add_config() argument
304 ne->ne_num_labels = num_labels; in add_config()
402 ne->ne_num_labels = num_labels; in add_config()
897 zpool_read_label_slow(int fd, nvlist_t **config, int *num_labels) in zpool_read_label_slow() argument
959 if (num_labels != NULL) in zpool_read_label_slow()
960 *num_labels = count; in zpool_read_label_slow()
974 zpool_read_label(int fd, nvlist_t **config, int *num_labels) in zpool_read_label() argument
1042 error = zpool_read_label_slow(fd, config, num_labels); in zpool_read_label()
1091 if (num_labels != NULL) in zpool_read_label()
1092 *num_labels = count; in zpool_read_label()
/freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c111 int num_labels = 0; in zpool_open_func() local
156 error = zpool_read_label(fd, &config, &num_labels); in zpool_open_func()
162 if (num_labels == 0) { in zpool_open_func()
183 rn->rn_num_labels = num_labels; in zpool_open_func()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dtinfo_driver.c726 TCB->info.numlabels = VALID_NUMERIC(num_labels) ? num_labels : 0; in drv_init()
967 if (labnum > 0 && labnum <= num_labels) { in drv_hwlabel()
/freebsd-13.1/contrib/ncurses/
H A DTO-DO111 for them (num_labels > 0, label_height, label_width, label_format, label_off,
/freebsd-13.1/contrib/ncurses/include/
H A DCaps.uwin264 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.hpux11273 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps271 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.osf1r5289 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.aix4271 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.keys273 num_labels nlab num Nl - - ----- number of labels on screen
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.abi4158 <parameter type-id='7292109c' name='num_labels'/>