Home
last modified time | relevance | path

Searched refs:nvb (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c70 if (base == 0 || (uintptr_t)&nvb[1] > lim) in nv_fixed_init()
73 nvb->nvb_buf = (uintptr_t)&nvb[0]; in nv_fixed_init()
74 nvb->nvb_cur = (uintptr_t)&nvb[1]; in nv_fixed_init()
75 nvb->nvb_lim = lim; in nv_fixed_init()
76 nva->nva_arg = nvb; in nv_fixed_init()
84 nvbuf_t *nvb = nva->nva_arg; in nv_fixed_alloc() local
85 uintptr_t new = nvb->nvb_cur; in nv_fixed_alloc()
87 if (size == 0 || new + size > nvb->nvb_lim) in nv_fixed_alloc()
90 nvb->nvb_cur = P2ROUNDUP(new + size, sizeof (uintptr_t)); in nv_fixed_alloc()
105 nvbuf_t *nvb = nva->nva_arg; in nv_fixed_reset() local
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1675 hc_auth_changed(nvlist_t *nva, nvlist_t *nvb, const char *propname) in hc_auth_changed() argument
1680 nvlist_lookup_string(nvb, propname, &strb) != 0) in hc_auth_changed()