Lines Matching refs:ODEBUG_BATCH_SIZE
26 #define ODEBUG_BATCH_SIZE 16 macro
29 #define ODEBUG_POOL_SIZE (64 * ODEBUG_BATCH_SIZE)
32 #define ODEBUG_POOL_PERCPU_SIZE (8 * ODEBUG_BATCH_SIZE)
43 #define ODEBUG_FREE_WORK_MAX (1024 / ODEBUG_BATCH_SIZE)
177 WRITE_ONCE(src->cnt, src->cnt - ODEBUG_BATCH_SIZE); in pool_move_batch()
178 WRITE_ONCE(dst->cnt, dst->cnt + ODEBUG_BATCH_SIZE); in pool_move_batch()
194 WRITE_ONCE(dst->cnt, dst->cnt + ODEBUG_BATCH_SIZE); in pool_push_batch()
220 WRITE_ONCE(src->cnt, src->cnt - ODEBUG_BATCH_SIZE); in pool_pop_batch()
240 WRITE_ONCE(stats->cur_used, stats->cur_used + ODEBUG_BATCH_SIZE); in pcpu_refill_stats()
266 if (unlikely(pcp->cnt < (ODEBUG_POOL_PERCPU_SIZE - ODEBUG_BATCH_SIZE) && in pcpu_alloc()
267 !(pcp->cnt % ODEBUG_BATCH_SIZE))) { in pcpu_alloc()
297 if (!(pcp->cnt % ODEBUG_BATCH_SIZE)) { in pcpu_free()
315 WRITE_ONCE(pool_global.stats.cur_used, pool_global.stats.cur_used - ODEBUG_BATCH_SIZE); in pcpu_free()
370 for (int cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { in kmem_alloc_batch()
1438 for (i = 0; i < ODEBUG_POOL_SIZE; i += ODEBUG_BATCH_SIZE) { in debug_objects_replace_static_objects()
1500 extras = num_possible_cpus() * ODEBUG_BATCH_SIZE; in debug_objects_mem_init()