Lines Matching refs:free_elements
173 ((vm_offset_t *) elem)[((zone->elem_size)/sizeof(vm_offset_t))-1] = zone->free_elements;
179 ((vm_offset_t *) elem)[0] = zone->free_elements;
180 zone->free_elements = (vm_offset_t) elem;
191 void *elem = (void *) zone->free_elements;
224 zone->free_elements = ((vm_offset_t *) elem)[0];
1105 if (size < sizeof(z->free_elements))
1106 size = sizeof(z->free_elements);
1107 size = ((size-1) + sizeof(z->free_elements)) -
1108 ((size-1) % sizeof(z->free_elements));
1154 z->free_elements = 0;
2214 for (this = zone->free_elements;
2557 (tail)->next = (void *)((zone)->free_elements); \
2560 (zone)->free_elements; \
2562 (zone)->free_elements = (unsigned long)(base); \
2665 scan = (void *)z->free_elements;
2666 z->free_elements = 0;
3485 #define zone_in_use(z) ( z->count || z->free_elements )