Searched refs:bh_accounting (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/
H A Dbuffer.c3303 struct bh_accounting { struct
3308 static DEFINE_PER_CPU(struct bh_accounting, bh_accounting) = {0, 0};
3315 if (__this_cpu_inc_return(bh_accounting.ratelimit) - 1 < 4096) recalc_bh_state()
3317 __this_cpu_write(bh_accounting.ratelimit, 0); recalc_bh_state()
3319 tot += per_cpu(bh_accounting, i).nr; recalc_bh_state()
3329 __this_cpu_inc(bh_accounting.nr); alloc_buffer_head()
3342 __this_cpu_dec(bh_accounting.nr); free_buffer_head()
3357 this_cpu_add(bh_accounting.nr, per_cpu(bh_accounting, cpu).nr); buffer_exit_cpu()
3358 per_cpu(bh_accounting, cpu).nr = 0; buffer_exit_cpu()

Completed in 55 milliseconds