Lines Matching refs:vmem_t
114 typedef struct vmem vmem_t;
115 typedef void *(vmem_alloc_t)(vmem_t *, size_t, int);
116 typedef void (vmem_free_t)(vmem_t *, void *, size_t);
122 typedef void *(vmem_ximport_t)(vmem_t *, size_t *, size_t, int);
125 extern vmem_t *vmem_init(const char *, void *, size_t, size_t,
132 extern vmem_t *vmem_create(const char *, void *, size_t, size_t,
133 vmem_alloc_t *, vmem_free_t *, vmem_t *, size_t, int);
134 extern vmem_t *vmem_xcreate(const char *, void *, size_t, size_t,
135 vmem_ximport_t *, vmem_free_t *, vmem_t *, size_t, int);
136 extern void vmem_destroy(vmem_t *);
137 extern void *vmem_alloc(vmem_t *, size_t, int);
138 extern void *vmem_xalloc(vmem_t *, size_t, size_t, size_t, size_t,
140 extern void vmem_free(vmem_t *, void *, size_t);
141 extern void vmem_xfree(vmem_t *, void *, size_t);
142 extern void *vmem_add(vmem_t *, void *, size_t, int);
143 extern int vmem_contains(vmem_t *, void *, size_t);
144 extern void vmem_walk(vmem_t *, int, void (*)(void *, void *, size_t), void *);
145 extern size_t vmem_size(vmem_t *, int);
146 extern void vmem_qcache_reap(vmem_t *vmp);