Lines Matching refs:percpu_pool
222 struct debug_percpu_free *percpu_pool = this_cpu_ptr(&percpu_obj_pool); in alloc_object() local
226 obj = __alloc_object(&percpu_pool->free_objs); in alloc_object()
228 percpu_pool->obj_free--; in alloc_object()
253 &percpu_pool->free_objs); in alloc_object()
254 percpu_pool->obj_free++; in alloc_object()
338 struct debug_percpu_free *percpu_pool; in __free_object() local
350 percpu_pool = this_cpu_ptr(&percpu_obj_pool); in __free_object()
351 if (percpu_pool->obj_free < ODEBUG_POOL_PERCPU_SIZE) { in __free_object()
352 hlist_add_head(&obj->node, &percpu_pool->free_objs); in __free_object()
353 percpu_pool->obj_free++; in __free_object()
363 objs[lookahead_count] = __alloc_object(&percpu_pool->free_objs); in __free_object()
366 percpu_pool->obj_free--; in __free_object()
433 struct debug_percpu_free *percpu_pool; in object_cpu_offline() local
439 percpu_pool = per_cpu_ptr(&percpu_obj_pool, cpu); in object_cpu_offline()
440 hlist_for_each_entry_safe(obj, tmp, &percpu_pool->free_objs, node) { in object_cpu_offline()
446 obj_pool_used -= percpu_pool->obj_free; in object_cpu_offline()
447 debug_objects_freed += percpu_pool->obj_free; in object_cpu_offline()
450 percpu_pool->obj_free = 0; in object_cpu_offline()