Lines Matching defs:vmem
113 struct vmem { struct
117 uint32_t vm_id; /* vmem id */ argument
121 size_t vm_quantum; /* vmem quantum */ argument
124 void *(*vm_source_alloc)(vmem_t *, size_t, int); argument
125 void (*vm_source_free)(vmem_t *, void *, size_t); argument
126 vmem_t *vm_source; /* vmem source for imported memory */ argument
127 vmem_t *vm_next; /* next in vmem_list */ argument
129 ssize_t vm_nsegfree; /* number of free vmem_seg_t's */ argument
130 vmem_seg_t *vm_segfree; /* free vmem_seg_t list */ argument
131 vmem_seg_t **vm_hash_table; /* allocated-segment hash table */ argument
135 vmem_seg_t vm_seg0; /* anchor segment */ argument
136 vmem_seg_t vm_rotor; /* rotor for VM_NEXTFIT allocations */ argument
137 vmem_seg_t *vm_hash0[VMEM_HASH_INITIAL]; /* initial hash table */ argument
139 vmem_freelist_t vm_freelist[VMEM_FREELISTS + 1]; /* power-of-2 flists */ argument
140 vmem_kstat_t vm_kstat; /* kstat data */ argument