Lines Matching refs:percpu_pool
229 struct debug_percpu_free *percpu_pool = this_cpu_ptr(&percpu_obj_pool); in alloc_object() local
233 obj = __alloc_object(&percpu_pool->free_objs); in alloc_object()
235 percpu_pool->obj_free--; in alloc_object()
260 &percpu_pool->free_objs); in alloc_object()
261 percpu_pool->obj_free++; in alloc_object()
345 struct debug_percpu_free *percpu_pool; in __free_object() local
357 percpu_pool = this_cpu_ptr(&percpu_obj_pool); in __free_object()
358 if (percpu_pool->obj_free < ODEBUG_POOL_PERCPU_SIZE) { in __free_object()
359 hlist_add_head(&obj->node, &percpu_pool->free_objs); in __free_object()
360 percpu_pool->obj_free++; in __free_object()
370 objs[lookahead_count] = __alloc_object(&percpu_pool->free_objs); in __free_object()
373 percpu_pool->obj_free--; in __free_object()
440 struct debug_percpu_free *percpu_pool; in object_cpu_offline() local
445 percpu_pool = per_cpu_ptr(&percpu_obj_pool, cpu); in object_cpu_offline()
446 hlist_for_each_entry_safe(obj, tmp, &percpu_pool->free_objs, node) { in object_cpu_offline()
450 percpu_pool->obj_free = 0; in object_cpu_offline()