Lines Matching refs:obj_pool
57 struct obj_pool { struct
66 static DEFINE_PER_CPU_ALIGNED(struct obj_pool, pool_pcpu) = { argument
76 static struct obj_pool pool_global = {
84 static struct obj_pool pool_to_free = {
137 static __always_inline unsigned int pool_count(struct obj_pool *pool) in pool_count()
142 static __always_inline bool pool_should_refill(struct obj_pool *pool) in pool_should_refill()
147 static __always_inline bool pool_must_refill(struct obj_pool *pool) in pool_must_refill()
152 static bool pool_move_batch(struct obj_pool *dst, struct obj_pool *src) in pool_move_batch()
182 static bool pool_push_batch(struct obj_pool *dst, struct hlist_head *head) in pool_push_batch()
198 static bool pool_pop_batch(struct hlist_head *head, struct obj_pool *src) in pool_pop_batch()
251 struct obj_pool *pcp = this_cpu_ptr(&pool_pcpu); in pcpu_alloc()
292 struct obj_pool *pcp = this_cpu_ptr(&pool_pcpu); in pcpu_free()
558 struct obj_pool *pcp = per_cpu_ptr(&pool_pcpu, cpu); in object_cpu_offline()