Lines Matching defs:vmem
61 #include <sys/vmem.h>
100 * Data structures private to vmem.
102 MALLOC_DEFINE(M_VMEM, "vmem", "vmem internal structures");
135 /* vmem arena */
136 struct vmem {
140 LIST_ENTRY(vmem) vm_alllist;
186 &enable_vmem_check, 0, "Enable vmem check");
195 static LIST_HEAD(, vmem) vmem_list = LIST_HEAD_INITIALIZER(vmem_list);
238 static struct vmem kernel_arena_storage;
239 static struct vmem buffer_arena_storage;
240 static struct vmem transient_arena_storage;
248 static struct vmem memguard_arena_storage;
265 * Fill the vmem's boundary tag cache. We guarantee that boundary tag
288 * holding a vmem lock.
336 * Trim the per-vmem free list. Returns with the lock released to
541 /* ---- vmem internal functions */
705 mtx_init(&vmem_list_lock, "vmem list lock", NULL, MTX_DEF);
706 vmem_zone = uma_zcreate("vmem",
707 sizeof(struct vmem), NULL, NULL, NULL, NULL,
709 vmem_bt_zone = uma_zcreate("vmem btag",
787 /* Convenient time to verify vmem state. */
887 * The vmem should now only contain empty segments.
1198 /* ---- vmem API */
1233 * vmem_init: Initializes vmem arena.
1615 (*pr)("vmem %p '%s'\n", vm, vm->vm_name);
1712 DB_SHOW_COMMAND(vmem, vmem_summ)
1721 db_printf("usage: show vmem <addr>\n");
1725 db_printf("vmem %p '%s'\n", vm, vm->vm_name);
1757 DB_SHOW_ALL_COMMAND(vmem, vmem_summall)
1820 panic("insanity vmem %p", vm);