Lines Matching refs:freelist
1571 poison_obj(cachep, slab->freelist - obj_offset(cachep), in slab_destroy_debugcheck()
1608 void *freelist; in slab_destroy() local
1610 freelist = slab->freelist; in slab_destroy()
1622 kfree(freelist); in slab_destroy()
2286 void *freelist; in alloc_slabmgmt() local
2293 freelist = NULL; in alloc_slabmgmt()
2296 freelist = kmalloc_node(cachep->freelist_size, in alloc_slabmgmt()
2300 freelist = addr + (PAGE_SIZE << cachep->gfporder) - in alloc_slabmgmt()
2304 return freelist; in alloc_slabmgmt()
2309 return ((freelist_idx_t *) slab->freelist)[idx]; in get_free_obj()
2315 ((freelist_idx_t *)(slab->freelist))[idx] = val; in set_free_obj()
2410 swap(((freelist_idx_t *) slab->freelist)[a], in swap_free_obj()
2411 ((freelist_idx_t *) slab->freelist)[b]); in swap_free_obj()
2435 slab->freelist = index_to_obj(cachep, slab, objfreelist) + in shuffle_freelist()
2485 slab->freelist = index_to_obj(cachep, slab, cachep->num - 1) + in cache_init_objs()
2532 if (!slab->freelist) in slab_put_obj()
2533 slab->freelist = objp + obj_offset(cachep); in slab_put_obj()
2545 void *freelist; in cache_grow_begin() local
2596 freelist = alloc_slabmgmt(cachep, slab, offset, in cache_grow_begin()
2598 if (OFF_SLAB(cachep) && !freelist) in cache_grow_begin()
2602 slab->freelist = freelist; in cache_grow_begin()
2749 void **objp = slab->freelist; in fixup_slab_list()
2755 slab->freelist = NULL; in fixup_slab_list()