Searched refs:nvhdl (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | fm.c | 572 nv_alloc_t *nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); local 574 if (bufsz == 0 || nv_alloc_init(nvhdl, nv_fixed_ops, buf, bufsz) != 0) { 575 kmem_free(nvhdl, sizeof (nv_alloc_t)); 579 return (nvhdl); 611 nv_alloc_t *nvhdl; local 614 nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); 616 if (nv_alloc_init(nvhdl, &fm_mem_alloc_ops, NULL, 0) != 0) { 617 kmem_free(nvhdl, sizeof (nv_alloc_t)); 622 nvhdl = nva; 625 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, nvhdl) ! [all...] |
Completed in 73 milliseconds