| /freebsd-13.1/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_labels.c | 32 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 D | zpool_import_corrupt_001_pos.ksh | 120 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 D | zutil_import_os.c | 109 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 D | nvdimm.c | 249 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 D | lib_slkrefr.c | 52 #define NumLabels num_labels 103 if (i < num_labels) { in slk_intern_refresh()
|
| H A D | lib_slk.c | 59 #define NumLabels num_labels
|
| H A D | lib_newterm.c | 57 #define NumLabels num_labels
|
| H A D | lib_set_term.c | 57 #define NumLabels num_labels
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 278 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 D | zutil_import_os.c | 111 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 D | tinfo_driver.c | 726 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 D | TO-DO | 111 for them (num_labels > 0, label_height, label_width, label_format, label_off,
|
| /freebsd-13.1/contrib/ncurses/include/ |
| H A D | Caps.uwin | 264 num_labels nlab num Nl - - ----- number of labels on screen
|
| H A D | Caps.hpux11 | 273 num_labels nlab num Nl - - ----- number of labels on screen
|
| H A D | Caps | 271 num_labels nlab num Nl - - ----- number of labels on screen
|
| H A D | Caps.osf1r5 | 289 num_labels nlab num Nl - - ----- number of labels on screen
|
| H A D | Caps.aix4 | 271 num_labels nlab num Nl - - ----- number of labels on screen
|
| H A D | Caps.keys | 273 num_labels nlab num Nl - - ----- number of labels on screen
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.abi | 4158 <parameter type-id='7292109c' name='num_labels'/>
|