Home
last modified time | relevance | path

Searched refs:obj_cache (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/mm/kasan/
Dquarantine.c162 struct kmem_cache *obj_cache = in qlist_free_all() local
166 qlink_free(qlink, obj_cache); in qlist_free_all()
276 struct kmem_cache *obj_cache = qlink_to_cache(curr); in qlist_move_cache() local
278 if (obj_cache == cache) in qlist_move_cache()
279 qlist_put(to, curr, obj_cache->size); in qlist_move_cache()
281 qlist_put(from, curr, obj_cache->size); in qlist_move_cache()
/Linux-v4.19/lib/
Ddebugobjects.c53 static struct kmem_cache *obj_cache; variable
129 if (unlikely(!obj_cache)) in fill_pool()
134 new = kmem_cache_zalloc(obj_cache, gfp); in fill_pool()
243 kmem_cache_free(obj_cache, obj); in free_obj_work()
253 work = (obj_pool_free > debug_objects_pool_size) && obj_cache; in __free_object()
1128 obj = kmem_cache_zalloc(obj_cache, GFP_KERNEL); in debug_objects_replace_static_objects()
1169 kmem_cache_free(obj_cache, obj); in debug_objects_replace_static_objects()
1185 obj_cache = kmem_cache_create("debug_objects_cache", in debug_objects_mem_init()
1189 if (!obj_cache || debug_objects_replace_static_objects()) { in debug_objects_mem_init()
1191 kmem_cache_destroy(obj_cache); in debug_objects_mem_init()