Searched refs:wb (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | backing-dev.c | 49 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show() local 57 spin_lock(&wb->list_lock); in bdi_debug_stats_show() 58 list_for_each_entry(inode, &wb->b_dirty, i_io_list) in bdi_debug_stats_show() 60 list_for_each_entry(inode, &wb->b_io, i_io_list) in bdi_debug_stats_show() 62 list_for_each_entry(inode, &wb->b_more_io, i_io_list) in bdi_debug_stats_show() 64 list_for_each_entry(inode, &wb->b_dirty_time, i_io_list) in bdi_debug_stats_show() 67 spin_unlock(&wb->list_lock); in bdi_debug_stats_show() 70 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show() 88 (unsigned long) K(wb_stat(wb, WB_WRITEBACK)), in bdi_debug_stats_show() 89 (unsigned long) K(wb_stat(wb, WB_RECLAIMABLE)), in bdi_debug_stats_show() [all …]
|
D | page-writeback.c | 133 struct bdi_writeback *wb; member 157 #define GDTC_INIT(__wb) .wb = (__wb), \ 163 #define MDTC_INIT(__wb, __gdtc) .wb = (__wb), \ 183 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions() argument 185 return &wb->memcg_completions; in wb_memcg_completions() 188 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio() argument 191 unsigned long this_bw = wb->avg_write_bandwidth; in wb_min_max_ratio() 192 unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth); in wb_min_max_ratio() 193 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio() 194 unsigned long long max = wb->bdi->max_ratio; in wb_min_max_ratio() [all …]
|
D | memcontrol.c | 3626 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain() argument 3628 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_domain() 3654 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, in mem_cgroup_wb_stats() argument 3658 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_stats()
|