Lines Matching refs:nvi_nvp
140 ((i_nvp_t *)((size_t)(nvp) - offsetof(i_nvp_t, nvi_nvp)))
344 if (strcmp(NVP_NAME(&e->nvi_nvp), name) == 0 && in nvt_lookup_name_type()
346 NVP_TYPE(&e->nvi_nvp) == type)) in nvt_lookup_name_type()
347 return (&e->nvi_nvp); in nvt_lookup_name_type()
383 uint32_t hash = nvt_hash(NVP_NAME(&e->nvi_nvp)); in nvt_resize()
479 if (nvt_nvpair_match(&e->nvi_nvp, nvp, nvl->nvl_nvflag)) { in nvt_remove_nvpair()
609 nvsize = len + offsetof(i_nvp_t, nvi_nvp); in nvp_buf_alloc()
614 nvp = &buf->nvi_nvp; in nvp_buf_alloc()
627 size_t nvsize = nvp->nvp_size + offsetof(i_nvp_t, nvi_nvp); in nvp_buf_free()
809 nvpair_t *nvp = &curr->nvi_nvp; in nvlist_copy_pairs()
862 nvpair_t *nvp = &curr->nvi_nvp; in nvlist_free()
888 if (&curr->nvi_nvp == nvp) in nvlist_contains_nvp()
1456 return (curr != NULL ? &curr->nvi_nvp : NULL); in nvlist_next_nvpair()
1480 return (curr != NULL ? &curr->nvi_nvp : NULL); in nvlist_prev_nvpair()
2076 nvp = &curr->nvi_nvp; in nvlist_exists()
2336 if (nvs->nvs_ops->nvs_nvpair(nvs, &curr->nvi_nvp, NULL) != 0) in nvs_encode_pairs()
2398 if (nvs->nvs_ops->nvs_nvp_size(nvs, &curr->nvi_nvp, &size) != 0) in nvs_getsize_pairs()