Lines Matching defs:nva
561 i_fm_alloc(nv_alloc_t *nva, size_t size)
568 i_fm_free(nv_alloc_t *nva, void *buf, size_t size)
601 * associated with nva must be freed by the caller.
604 fm_nva_xdestroy(nv_alloc_t *nva)
606 nv_alloc_fini(nva);
607 kmem_free(nva, sizeof (nv_alloc_t));
614 * operations installed in nva. If nva is NULL, the default FMA nva
617 * When called from the kernel and nva == NULL, this function must be called
620 * be called from other kernel contexts as long a valid nva created via
624 fm_nvlist_create(nv_alloc_t *nva)
630 if (nva == NULL) {
639 nvhdl = nva;
655 * or not the associated nva structure should be freed (FM_NVA_FREE) or
662 nv_alloc_t *nva = nvlist_lookup_nv_alloc(nvl);
666 if (nva != NULL) {
668 fm_nva_xdestroy(nva);
916 nv_alloc_t *nva = nvlist_lookup_nv_alloc(fmri);
934 pairs[i] = fm_nvlist_create(nva);
1315 nv_alloc_t *nva = nvlist_lookup_nv_alloc(fmri);
1348 pairs[i] = fm_nvlist_create(nva);
1373 pairs[i] = fm_nvlist_create(nva);