Home
last modified time | relevance | path

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

/linux-6.1.9/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.h105 struct bdi_writeback { struct
183 struct bdi_writeback wb; /* the root writeback info for this bdi */
214 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
225 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
236 static inline void wb_put_many(struct bdi_writeback *wb, unsigned long nr) in wb_put_many()
254 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
265 static inline bool wb_dying(struct bdi_writeback *wb) in wb_dying()
272 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
277 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
281 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
[all …]
Dwriteback.h83 struct bdi_writeback *wb; /* wb this writeback is issued under */
186 struct bdi_writeback;
220 bool cleanup_offline_cgwb(struct bdi_writeback *wb);
356 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
358 void wb_update_bandwidth(struct bdi_writeback *wb);
367 bool wb_over_bg_thresh(struct bdi_writeback *wb);
Dmemcontrol.h1647 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb);
1648 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages,
1653 struct bdi_writeback *wb);
1656 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1665 void mem_cgroup_flush_foreign(struct bdi_writeback *wb);
1669 static inline struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
1674 static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb, in mem_cgroup_wb_stats()
1683 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1687 static inline void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
Dpagemap.h1055 void folio_account_cleaned(struct folio *folio, struct bdi_writeback *wb);
Dfs.h51 struct bdi_writeback;
651 struct bdi_writeback *i_wb; /* the associated cgroup wb */
/linux-6.1.9/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-6.1.9/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.c4539 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
4567 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, in mem_cgroup_wb_stats()
4637 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty_slowpath()
4689 void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
/linux-6.1.9/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-6.1.9/block/
Dblk-wbt.c100 struct bdi_writeback *wb = &rwb->rqos.q->disk->bdi->wb; in wb_recent_wait()