Searched refs:bh_accounting (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/fs/ |
H A D | buffer.c | 3001 struct bh_accounting { struct 3006 static DEFINE_PER_CPU(struct bh_accounting, bh_accounting) = {0, 0}; 3013 if (__this_cpu_inc_return(bh_accounting.ratelimit) - 1 < 4096) in recalc_bh_state() 3015 __this_cpu_write(bh_accounting.ratelimit, 0); in recalc_bh_state() 3017 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 3028 __this_cpu_inc(bh_accounting.nr); in alloc_buffer_head() 3041 __this_cpu_dec(bh_accounting.nr); in free_buffer_head() 3056 this_cpu_add(bh_accounting.nr, per_cpu(bh_accounting, cp in buffer_exit_cpu_dead() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | buffer.c | 3314 struct bh_accounting { struct 3319 static DEFINE_PER_CPU(struct bh_accounting, bh_accounting) = {0, 0}; 3326 if (__this_cpu_inc_return(bh_accounting.ratelimit) - 1 < 4096) in recalc_bh_state() 3328 __this_cpu_write(bh_accounting.ratelimit, 0); in recalc_bh_state() 3330 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 3341 __this_cpu_inc(bh_accounting.nr); in alloc_buffer_head() 3354 __this_cpu_dec(bh_accounting.nr); in free_buffer_head() 3369 this_cpu_add(bh_accounting.nr, per_cpu(bh_accounting, cp in buffer_exit_cpu_dead() [all...] |
Completed in 9 milliseconds