Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c70 nvbuf_t *nvb = (nvbuf_t *)P2ROUNDUP(base, sizeof (uintptr_t)); in nv_fixed_init() local
72 if (base == 0 || (uintptr_t)&nvb[1] > lim) in nv_fixed_init()
75 nvb->nvb_buf = (uintptr_t)&nvb[0]; in nv_fixed_init()
76 nvb->nvb_cur = (uintptr_t)&nvb[1]; in nv_fixed_init()
77 nvb->nvb_lim = lim; in nv_fixed_init()
78 nva->nva_arg = nvb; in nv_fixed_init()
86 nvbuf_t *nvb = nva->nva_arg; in nv_fixed_alloc() local
87 uintptr_t new = nvb->nvb_cur; in nv_fixed_alloc()
89 if (size == 0 || new + size > nvb->nvb_lim) in nv_fixed_alloc()
92 nvb->nvb_cur = P2ROUNDUP(new + size, sizeof (uintptr_t)); in nv_fixed_alloc()
[all …]
/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1729 hc_auth_changed(nvlist_t *nva, nvlist_t *nvb, const char *propname) in hc_auth_changed() argument
1734 nvlist_lookup_string(nvb, propname, &strb) != 0) in hc_auth_changed()