Searched refs:nvh (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sbin/hastd/
H A Dnv.c100 #define NVH_DATA(nvh) ((unsigned char *)nvh + NVH_HSIZE(nvh))
101 #define NVH_HSIZE(nvh) \
102 (sizeof(struct nvhdr) + roundup2((nvh)->nvh_namesize, 8))
103 #define NVH_DSIZE(nvh) \
104 (((nvh)->nvh_type & NV_ORDER_MASK) == NV_ORDER_HOST ? \
105 (nvh)->nvh_dsize : \
106 le32toh((nvh)->nvh_dsize))
107 #define NVH_SIZE(nvh) (NVH_HSIZ
201 struct nvhdr *nvh; local
345 struct nvhdr *nvh; local
558 struct nvhdr *nvh; local
578 struct nvhdr *nvh; local
624 struct nvhdr *nvh; local
763 struct nvhdr *nvh; local
832 struct nvhdr *nvh; local
873 nv_swap(struct nvhdr *nvh, bool tohost) argument
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/nvpair/
H A Dnvpair.c2259 nvs_header_t *nvh = (void *)buf; local
2277 nvh->nvh_encoding = encoding;
2278 nvh->nvh_endian = nvl_endian = host_endian;
2279 nvh->nvh_reserved1 = 0;
2280 nvh->nvh_reserved2 = 0;
2288 encoding = nvh->nvh_encoding;
2289 nvl_endian = nvh->nvh_endian;

Completed in 58 milliseconds