Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dbacking-dev.h39 void wb_start_background_writeback(struct bdi_writeback *wb);
41 void wb_wakeup_delayed(struct bdi_writeback *wb);
51 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io()
65 static inline void wb_stat_mod(struct bdi_writeback *wb, in wb_stat_mod()
71 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat()
76 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat()
81 static inline s64 wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in wb_stat()
86 static inline s64 wb_stat_sum(struct bdi_writeback *wb, enum wb_stat_item item) in wb_stat_sum()
91 extern void wb_writeout_inc(struct bdi_writeback *wb);
131 static inline bool writeback_in_progress(struct bdi_writeback *wb) in writeback_in_progress()
[all …]
Dbacking-dev-defs.h110 struct bdi_writeback { struct
190 struct bdi_writeback wb; /* the root writeback info for this bdi */
221 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
232 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
243 static inline void wb_put_many(struct bdi_writeback *wb, unsigned long nr) in wb_put_many()
261 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
272 static inline bool wb_dying(struct bdi_writeback *wb) in wb_dying()
279 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
284 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
288 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
[all …]
Dwriteback.h91 struct bdi_writeback *wb; /* wb this writeback is issued under */
194 struct bdi_writeback;
228 bool cleanup_offline_cgwb(struct bdi_writeback *wb);
364 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
366 void wb_update_bandwidth(struct bdi_writeback *wb);
368 bool wb_over_bg_thresh(struct bdi_writeback *wb);
Dmemcontrol.h1627 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb);
1628 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages,
1633 struct bdi_writeback *wb);
1636 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1645 void mem_cgroup_flush_foreign(struct bdi_writeback *wb);
1649 static inline struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
1654 static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb, in mem_cgroup_wb_stats()
1663 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1667 static inline void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
Dpagemap.h1062 void folio_account_cleaned(struct folio *folio, struct bdi_writeback *wb);
Dfs.h51 struct bdi_writeback;
636 struct bdi_writeback *i_wb; /* the associated cgroup wb */
/linux-5.19.10/fs/
Dfs-writeback.c85 static bool wb_io_lists_populated(struct bdi_writeback *wb) in wb_io_lists_populated()
98 static void wb_io_lists_depopulated(struct bdi_writeback *wb) in wb_io_lists_depopulated()
119 struct bdi_writeback *wb, in inode_io_list_move_locked()
135 static void wb_wakeup(struct bdi_writeback *wb) in wb_wakeup()
143 static void finish_writeback_work(struct bdi_writeback *wb, in finish_writeback_work()
159 static void wb_queue_work(struct bdi_writeback *wb, in wb_queue_work()
242 struct bdi_writeback *wb = NULL; in __inode_attach_wb()
279 struct bdi_writeback *wb) in inode_cgwb_move_to_attached()
300 static struct bdi_writeback *
306 struct bdi_writeback *wb = inode_to_wb(inode); in locked_inode_to_wb_and_lock_list()
[all …]
/linux-5.19.10/mm/
Dbacking-dev.c54 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show()
258 void wb_wakeup_delayed(struct bdi_writeback *wb) in wb_wakeup_delayed()
271 struct bdi_writeback *wb = container_of(to_delayed_work(work), in wb_update_bandwidth_workfn()
272 struct bdi_writeback, bw_dwork); in wb_update_bandwidth_workfn()
282 static int wb_init(struct bdi_writeback *wb, struct backing_dev_info *bdi, in wb_init()
329 static void cgwb_remove_from_bdi_list(struct bdi_writeback *wb);
334 static void wb_shutdown(struct bdi_writeback *wb) in wb_shutdown()
356 static void wb_exit(struct bdi_writeback *wb) in wb_exit()
385 struct bdi_writeback *wb = container_of(work, struct bdi_writeback, in cgwb_release_workfn()
414 struct bdi_writeback *wb = container_of(refcnt, struct bdi_writeback, in cgwb_release()
[all …]
Dpage-writeback.c128 struct bdi_writeback *wb;
178 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions()
183 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio()
232 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions()
237 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio()
578 static inline void __wb_writeout_add(struct bdi_writeback *wb, long nr) in __wb_writeout_add()
592 void wb_writeout_inc(struct bdi_writeback *wb) in wb_writeout_inc()
776 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh) in wb_calc_thresh()
891 struct bdi_writeback *wb = dtc->wb; in wb_position_ratio()
1068 static void wb_update_write_bandwidth(struct bdi_writeback *wb, in wb_update_write_bandwidth()
[all …]
Dmemcontrol.c4437 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
4465 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, in mem_cgroup_wb_stats()
4535 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty_slowpath()
4587 void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
/linux-5.19.10/include/trace/events/
Dwriteback.h151 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup()
165 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup()
210 TP_PROTO(struct inode *inode, struct bdi_writeback *old_wb,
211 struct bdi_writeback *new_wb),
239 TP_PROTO(struct folio *folio, struct bdi_writeback *wb),
276 TP_PROTO(struct bdi_writeback *wb, unsigned int frn_bdi_id,
348 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work),
387 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work), \
408 TP_PROTO(struct bdi_writeback *wb),
425 TP_PROTO(struct bdi_writeback *wb), \
[all …]
/linux-5.19.10/block/
Dblk-wbt.c100 struct bdi_writeback *wb = &rwb->rqos.q->disk->bdi->wb; in wb_recent_wait()