Searched refs:nv_alloc_t (Results 1 - 9 of 9) sorted by relevance
/netbsd-current/external/cddl/osnet/dist/uts/common/os/ |
H A D | nvpair_alloc_system.c | 32 nv_alloc_sys(nv_alloc_t *nva, size_t size) 39 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) 52 nv_alloc_t nv_alloc_sleep_def = { 57 nv_alloc_t nv_alloc_nosleep_def = { 62 nv_alloc_t *nv_alloc_sleep = &nv_alloc_sleep_def; 63 nv_alloc_t *nv_alloc_nosleep = &nv_alloc_nosleep_def;
|
H A D | fm.c | 561 i_fm_alloc(nv_alloc_t *nva, size_t size) 568 i_fm_free(nv_alloc_t *nva, void *buf, size_t size) 582 * Create and initialize a new nv_alloc_t for a fixed buffer, buf. A pointer 583 * to the newly allocated nv_alloc_t structure is returned upon success or NULL 586 nv_alloc_t * 589 nv_alloc_t *nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); 592 kmem_free(nvhdl, sizeof (nv_alloc_t)); 604 fm_nva_xdestroy(nv_alloc_t *nva) 607 kmem_free(nva, sizeof (nv_alloc_t)); [all...] |
/netbsd-current/external/cddl/osnet/dist/lib/libnvpair/ |
H A D | nvpair_alloc_system.c | 34 nv_alloc_sys(nv_alloc_t *nva, size_t size) 41 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) 54 nv_alloc_t nv_alloc_nosleep_def = { 59 nv_alloc_t *nv_alloc_nosleep = &nv_alloc_nosleep_def;
|
/netbsd-current/external/cddl/osnet/dist/common/nvpair/ |
H A D | nvpair_alloc_fixed.c | 64 nv_fixed_init(nv_alloc_t *nva, va_list valist) 82 nv_fixed_alloc(nv_alloc_t *nva, size_t size) 97 nv_fixed_free(nv_alloc_t *nva, void *buf, size_t size) 103 nv_fixed_reset(nv_alloc_t *nva)
|
H A D | nvpair.c | 75 * | | nvp_last -+--+ + nv_alloc_t | 147 nv_alloc_init(nv_alloc_t *nva, const nv_alloc_ops_t *nvo, /* args */ ...) 164 nv_alloc_reset(nv_alloc_t *nva) 171 nv_alloc_fini(nv_alloc_t *nva) 177 nv_alloc_t * 192 nv_alloc_t *nva = nvp->nvp_nva; 204 nv_alloc_t *nva = nvp->nvp_nva; 210 nv_priv_init(nvpriv_t *priv, nv_alloc_t *nva, uint32_t stat) 219 nv_priv_alloc(nv_alloc_t *nva) 279 nvlist_xalloc(nvlist_t **nvlp, uint_t nvflag, nv_alloc_t *nv [all...] |
/netbsd-current/external/cddl/osnet/dist/uts/common/sys/ |
H A D | nvpair_impl.h | 65 nv_alloc_t *nvp_nva; /* pluggable allocator */
|
H A D | nvpair.h | 133 } nv_alloc_t; typedef in typeref:struct:nv_alloc 136 int (*nv_ao_init)(nv_alloc_t *, __va_list); 137 void (*nv_ao_fini)(nv_alloc_t *); 138 void *(*nv_ao_alloc)(nv_alloc_t *, size_t); 139 void (*nv_ao_free)(nv_alloc_t *, void *, size_t); 140 void (*nv_ao_reset)(nv_alloc_t *); 144 extern nv_alloc_t *nv_alloc_nosleep; 147 extern nv_alloc_t *nv_alloc_sleep; 150 int nv_alloc_init(nv_alloc_t *, const nv_alloc_ops_t *, /* args */ ...); 151 void nv_alloc_reset(nv_alloc_t *); [all...] |
H A D | errorq.h | 72 extern nv_alloc_t *errorq_elem_nva(errorq_t *, const errorq_elem_t *);
|
/netbsd-current/external/cddl/osnet/dist/uts/common/sys/fm/ |
H A D | protocol.h | 330 extern nv_alloc_t *fm_nva_xcreate(char *, size_t); 331 extern void fm_nva_xdestroy(nv_alloc_t *); 333 extern nvlist_t *fm_nvlist_create(nv_alloc_t *);
|
Completed in 151 milliseconds