Home
last modified time | relevance | path

Searched refs:nv_size (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/stand/libsa/zfs/
Dnvlist.c104 size = xdr->xdr_getint(xdr, buf, &s->nv_size); in xdr_string()
105 size = NV_ALIGN4(size + s->nv_size); in xdr_string()
169 s = malloc(nvs->nv_size + 1); in nvstring_get()
171 bcopy(nvs->nv_data, s, nvs->nv_size); in nvstring_get()
172 s[nvs->nv_size] = '\0'; in nvstring_get()
194 nvl->nv_asize = nvl->nv_size = sizeof(*nvs); in nvlist_create()
216 nvl->nv_idx += xdr_string(xdr, &nv_string->nv_size, nv_string); in nvlist_nvp_decode()
354 nvl->nv_asize = nvl->nv_size = nvlist_size(&ntoh, stream); in nvlist_import()
394 nvp_name->nv_size); in nvlist_remove()
396 if (memcmp(nvp_name->nv_data, name, nvp_name->nv_size) == 0 && in nvlist_remove()
[all …]
Dlibzfs.h73 size_t nv_size; member
100 unsigned nv_size; member
Dzfsimpl.c208 nvp_name->nv_size) == 0) { in nvlist_check_features_for_read()
216 nvp_name->nv_size, nvp_name->nv_data); in nvlist_check_features_for_read()
/freebsd-12-stable/sys/mips/broadcom/
Dbcm_nvram_cfe.c264 u_int nv_size; in bcm_nvram_iocfe_init() local
314 nv_size = nvram_info.nvram_size; in bcm_nvram_iocfe_init()
342 nv_size = fi.flash_size; in bcm_nvram_iocfe_init()
348 if (nv_size > SIZE_MAX || SIZE_MAX - nv_size < nv_offset) { in bcm_nvram_iocfe_init()
350 nv_size, (intmax_t)nv_offset); in bcm_nvram_iocfe_init()
356 iocfe->size = nv_size; in bcm_nvram_iocfe_init()
/freebsd-12-stable/sys/fs/nandfs/
Dnandfs_fs.h504 uint16_t nv_size; member
/freebsd-12-stable/sys/netpfil/ipfw/
Dip_fw_sockopt.c96 uint32_t nv_size; /* number hash size */ member
4348 ni->nv_size = NAMEDOBJ_HASH_SIZE; in ipfw_objhash_create()
4356 for (i = 0; i < ni->nv_size; i++) in ipfw_objhash_create()
4408 v = val % (ni->nv_size - 1); in objhash_hash_idx()