Searched refs:wb (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | backing-dev.c | 51 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show() local 59 spin_lock(&wb->list_lock); in bdi_debug_stats_show() 60 list_for_each_entry(inode, &wb->b_dirty, i_io_list) in bdi_debug_stats_show() 62 list_for_each_entry(inode, &wb->b_io, i_io_list) in bdi_debug_stats_show() 64 list_for_each_entry(inode, &wb->b_more_io, i_io_list) in bdi_debug_stats_show() 66 list_for_each_entry(inode, &wb->b_dirty_time, i_io_list) in bdi_debug_stats_show() 69 spin_unlock(&wb->list_lock); in bdi_debug_stats_show() 72 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show() 90 (unsigned long) K(wb_stat(wb, WB_WRITEBACK)), in bdi_debug_stats_show() 91 (unsigned long) K(wb_stat(wb, WB_RECLAIMABLE)), in bdi_debug_stats_show() [all …]
|
D | page-writeback.c | 134 struct bdi_writeback *wb; member 158 #define GDTC_INIT(__wb) .wb = (__wb), \ 164 #define MDTC_INIT(__wb, __gdtc) .wb = (__wb), \ 184 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions() argument 186 return &wb->memcg_completions; in wb_memcg_completions() 189 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio() argument 192 unsigned long this_bw = wb->avg_write_bandwidth; in wb_min_max_ratio() 193 unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth); in wb_min_max_ratio() 194 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio() 195 unsigned long long max = wb->bdi->max_ratio; in wb_min_max_ratio() [all …]
|
D | memcontrol.c | 4322 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain() argument 4324 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_domain() 4366 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, in mem_cgroup_wb_stats() argument 4370 struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css); in mem_cgroup_wb_stats() 4435 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty_slowpath() argument 4444 trace_track_foreign_dirty(page, wb); in mem_cgroup_track_foreign_dirty_slowpath() 4453 if (frn->bdi_id == wb->bdi->id && in mem_cgroup_track_foreign_dirty_slowpath() 4454 frn->memcg_id == wb->memcg_css->id) in mem_cgroup_track_foreign_dirty_slowpath() 4480 frn->bdi_id = wb->bdi->id; in mem_cgroup_track_foreign_dirty_slowpath() 4481 frn->memcg_id = wb->memcg_css->id; in mem_cgroup_track_foreign_dirty_slowpath() [all …]
|