Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dbuffer.c3003 struct bh_accounting { struct
3008 static DEFINE_PER_CPU(struct bh_accounting, bh_accounting) = {0, 0}; argument
3015 if (__this_cpu_inc_return(bh_accounting.ratelimit) - 1 < 4096) in recalc_bh_state()
3017 __this_cpu_write(bh_accounting.ratelimit, 0); in recalc_bh_state()
3019 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()
3030 __this_cpu_inc(bh_accounting.nr); in alloc_buffer_head()
3043 __this_cpu_dec(bh_accounting.nr); in free_buffer_head()
3058 this_cpu_add(bh_accounting.nr, per_cpu(bh_accounting, cpu).nr); in buffer_exit_cpu_dead()
3059 per_cpu(bh_accounting, cpu).nr = 0; in buffer_exit_cpu_dead()