Lines Matching refs:vmem
59 #include <sys/vmem.h>
98 * Data structures private to vmem.
100 MALLOC_DEFINE(M_VMEM, "vmem", "vmem internal structures");
133 /* vmem arena */
134 struct vmem {
138 LIST_ENTRY(vmem) vm_alllist;
184 &enable_vmem_check, 0, "Enable vmem check");
193 static LIST_HEAD(, vmem) vmem_list = LIST_HEAD_INITIALIZER(vmem_list);
236 static struct vmem kernel_arena_storage;
237 static struct vmem buffer_arena_storage;
238 static struct vmem transient_arena_storage;
244 static struct vmem memguard_arena_storage;
261 * Fill the vmem's boundary tag cache. We guarantee that boundary tag
284 * holding a vmem lock.
332 * Trim the per-vmem free list. Returns with the lock released to
537 /* ---- vmem internal functions */
701 mtx_init(&vmem_list_lock, "vmem list lock", NULL, MTX_DEF);
702 vmem_zone = uma_zcreate("vmem",
703 sizeof(struct vmem), NULL, NULL, NULL, NULL,
705 vmem_bt_zone = uma_zcreate("vmem btag",
783 /* Convenient time to verify vmem state. */
883 * The vmem should now only contain empty segments.
1194 /* ---- vmem API */
1229 * vmem_init: Initializes vmem arena.
1611 (*pr)("vmem %p '%s'\n", vm, vm->vm_name);
1708 DB_SHOW_COMMAND(vmem, vmem_summ)
1717 db_printf("usage: show vmem <addr>\n");
1721 db_printf("vmem %p '%s'\n", vm, vm->vm_name);
1753 DB_SHOW_ALL_COMMAND(vmem, vmem_summall)
1816 panic("insanity vmem %p", vm);