Searched refs:nvhdl (Results 1 – 1 of 1) sorted by relevance
573 nv_alloc_t *nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nva_xcreate() local576 kmem_free(nvhdl, sizeof (nv_alloc_t)); in fm_nva_xcreate()580 return (nvhdl); in fm_nva_xcreate()612 nv_alloc_t *nvhdl; in fm_nvlist_create() local615 nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nvlist_create()617 if (nv_alloc_init(nvhdl, &fm_mem_alloc_ops, NULL, 0) != 0) { in fm_nvlist_create()618 kmem_free(nvhdl, sizeof (nv_alloc_t)); in fm_nvlist_create()623 nvhdl = nva; in fm_nvlist_create()626 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, nvhdl) != 0) { in fm_nvlist_create()628 nv_alloc_fini(nvhdl); in fm_nvlist_create()[all …]