Searched refs:label_size (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/ldns/ |
H A D | wire2host.c | 58 uint8_t label_size; in ldns_wire2dname() local 72 label_size = wire[*pos]; in ldns_wire2dname() 73 while (label_size > 0) { in ldns_wire2dname() 75 while (label_size >= 192) { in ldns_wire2dname() 98 label_size = wire[*pos]; in ldns_wire2dname() 100 if(label_size == 0) in ldns_wire2dname() 102 if (label_size > LDNS_MAX_LABELLEN) { in ldns_wire2dname() 105 if (*pos + 1 + label_size > max) { in ldns_wire2dname() 113 tmp_dname[dname_pos] = label_size; in ldns_wire2dname() 114 if (label_size > 0) { in ldns_wire2dname() [all …]
|
H A D | dname.c | 163 uint8_t label_size; in ldns_dname_clone_from() local 175 label_size = data[0] + 1; in ldns_dname_clone_from() 176 data += label_size; in ldns_dname_clone_from() 177 if (data_size < label_size) { in ldns_dname_clone_from() 181 data_size -= label_size; in ldns_dname_clone_from()
|
/freebsd/lib/libdpv/ |
H A D | dpv.c | 153 label_size = LABEL_SIZE_DEFAULT; in dpv() 197 label_size = config->label_size; in dpv() 213 if (label_size < -1) in dpv() 214 label_size = -1; in dpv() 229 if (label_size == 0 && no_labels == FALSE) in dpv() 230 label_size = LABEL_SIZE_DEFAULT; in dpv() 281 if (label_size == -1) in dpv() 305 if ((int)len > (label_size - 3)) { in dpv() 306 if (label_size > 0) in dpv() 307 label_size += 3; in dpv() [all …]
|
H A D | dprompt.c | 61 int label_size = LABEL_SIZE_DEFAULT; /* Max width for labels */ variable 128 dwidth = label_size + pbar_size + 9; in dprompt_init() 218 label_size = 0; in dprompt_init() 222 label_size = dwidth - 8; in dprompt_init() 224 else if (label_size > (dwidth - pbar_size - 9) || wide) in dprompt_init() 225 label_size = no_labels ? 0 : dwidth - pbar_size - 9; in dprompt_init() 230 label_size = 0; in dprompt_init() 323 warnx("label_size = %i pbar_size = %i", label_size, pbar_size); in dprompt_init() 447 flabel_size = label_size; in dprompt_add_files()
|
H A D | dprompt.h | 39 extern int label_size;
|
H A D | dpv.h | 103 int label_size; /* Label size. Default 28 */ member
|
/freebsd/usr.bin/dpv/ |
H A D | dpv.c | 315 config->label_size = in main() 317 if (config->label_size == 0 && errno == EINVAL) in main() 320 else if (config->label_size < -1) in main() 321 config->label_size = -1; in main()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_import.c | 198 size_t label_size = sizeof (vdev_label_t) - (2 * VDEV_PAD_SIZE); in zpool_clear_label() local 200 if (pwrite64(fd, label, label_size, label_offset(size, l) + in zpool_clear_label() 201 (2 * VDEV_PAD_SIZE)) == label_size) in zpool_clear_label()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 187 zpool_label_name(char *label_name, int label_size) in zpool_label_name() argument 203 snprintf(label_name, label_size, "zfs-%016llx", (u_longlong_t)id); in zpool_label_name()
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm.c | 195 index->label_size != 1) in label_index_is_valid() 209 num * (128 << nv->label_index->label_size); in read_label()
|
H A D | nvdimm_var.h | 39 uint8_t label_size; member
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | blkdev.shlib | 614 typeset label_size=$((256*1024)) 617 "$(($label_size + (128*1024 - 32)))" \ 618 "$(($vdev_size - $label_size - (128*1024 + 32)))" \
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 97 SYSCTL_INT(_security_mac_lomac, OID_AUTO, label_size, CTLFLAG_RD,
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 97 SYSCTL_INT(_security_mac_mls, OID_AUTO, label_size, CTLFLAG_RD,
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 96 SYSCTL_INT(_security_mac_biba, OID_AUTO, label_size, CTLFLAG_RD,
|