Searched refs:nvb (Results 1 – 2 of 2) sorted by relevance
68 nvbuf_t *nvb = (nvbuf_t *)P2ROUNDUP(base, sizeof (uintptr_t)); in nv_fixed_init() local70 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() local85 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()[all …]
1675 hc_auth_changed(nvlist_t *nva, nvlist_t *nvb, const char *propname) in hc_auth_changed() argument1680 nvlist_lookup_string(nvb, propname, &strb) != 0) in hc_auth_changed()