Searched refs:bh_accounting (Results 1 – 1 of 1) sorted by relevance
3279 struct bh_accounting { struct3284 static DEFINE_PER_CPU(struct bh_accounting, bh_accounting) = {0, 0}; argument3291 if (__get_cpu_var(bh_accounting).ratelimit++ < 4096) in recalc_bh_state()3293 __get_cpu_var(bh_accounting).ratelimit = 0; in recalc_bh_state()3295 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()3304 get_cpu_var(bh_accounting).nr++; in alloc_buffer_head()3306 put_cpu_var(bh_accounting); in alloc_buffer_head()3316 get_cpu_var(bh_accounting).nr--; in free_buffer_head()3318 put_cpu_var(bh_accounting); in free_buffer_head()3331 get_cpu_var(bh_accounting).nr += per_cpu(bh_accounting, cpu).nr; in buffer_exit_cpu()[all …]