Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbacking-dev.h41 void wb_start_background_writeback(struct bdi_writeback *wb);
43 void wb_wakeup_delayed(struct bdi_writeback *wb);
53 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io()
67 static inline void __add_wb_stat(struct bdi_writeback *wb, in __add_wb_stat()
73 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat()
78 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat()
83 static inline s64 wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in wb_stat()
88 static inline s64 wb_stat_sum(struct bdi_writeback *wb, enum wb_stat_item item) in wb_stat_sum()
93 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.h107 struct bdi_writeback { struct
183 struct bdi_writeback wb; /* the root writeback info for this bdi */
222 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
233 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
243 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
263 static inline bool wb_dying(struct bdi_writeback *wb) in wb_dying()
270 static inline bool wb_tryget(struct bdi_writeback *wb) in wb_tryget()
275 static inline void wb_get(struct bdi_writeback *wb) in wb_get()
279 static inline void wb_put(struct bdi_writeback *wb) in wb_put()
283 static inline bool wb_dying(struct bdi_writeback *wb) in wb_dying()
Dwriteback.h84 struct bdi_writeback *wb; /* wb this writeback is issued under */
190 struct bdi_writeback;
379 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
381 void wb_update_bandwidth(struct bdi_writeback *wb, unsigned long start_time);
383 bool wb_over_bg_thresh(struct bdi_writeback *wb);
Dmemcontrol.h1476 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb);
1477 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages,
1482 struct bdi_writeback *wb);
1485 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1494 void mem_cgroup_flush_foreign(struct bdi_writeback *wb);
1498 static inline struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
1503 static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb, in mem_cgroup_wb_stats()
1512 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty()
1516 static inline void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
Dmm.h41 struct bdi_writeback;
1863 struct bdi_writeback *wb);
Dfs.h48 struct bdi_writeback;
669 struct bdi_writeback *i_wb; /* the associated cgroup wb */
/kernel/linux/linux-5.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()
143 struct bdi_writeback *wb) in inode_io_list_del_locked()
153 static void wb_wakeup(struct bdi_writeback *wb) in wb_wakeup()
161 static void finish_writeback_work(struct bdi_writeback *wb, in finish_writeback_work()
177 static void wb_queue_work(struct bdi_writeback *wb, in wb_queue_work()
253 struct bdi_writeback *wb = NULL; in __inode_attach_wb()
289 static struct bdi_writeback *
295 struct bdi_writeback *wb = inode_to_wb(inode); in locked_inode_to_wb_and_lock_list()
[all …]
/kernel/linux/linux-5.10/mm/
Dbacking-dev.c49 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show()
264 void wb_wakeup_delayed(struct bdi_writeback *wb) in wb_wakeup_delayed()
280 static int wb_init(struct bdi_writeback *wb, struct backing_dev_info *bdi, in wb_init()
330 static void cgwb_remove_from_bdi_list(struct bdi_writeback *wb);
335 static void wb_shutdown(struct bdi_writeback *wb) in wb_shutdown()
356 static void wb_exit(struct bdi_writeback *wb) in wb_exit()
383 struct bdi_writeback *wb = container_of(work, struct bdi_writeback, in cgwb_release_workfn()
405 struct bdi_writeback *wb = container_of(refcnt, struct bdi_writeback, in cgwb_release()
410 static void cgwb_kill(struct bdi_writeback *wb) in cgwb_kill()
420 static void cgwb_remove_from_bdi_list(struct bdi_writeback *wb) in cgwb_remove_from_bdi_list()
[all …]
Dpage-writeback.c129 struct bdi_writeback *wb;
179 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions()
184 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio()
233 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions()
238 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio()
589 static inline void __wb_writeout_inc(struct bdi_writeback *wb) in __wb_writeout_inc()
603 void wb_writeout_inc(struct bdi_writeback *wb) in wb_writeout_inc()
780 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh) in wb_calc_thresh()
895 struct bdi_writeback *wb = dtc->wb; in wb_position_ratio()
1072 static void wb_update_write_bandwidth(struct bdi_writeback *wb, in wb_update_write_bandwidth()
[all …]
Dmemcontrol.c4600 struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb) in mem_cgroup_wb_domain()
4644 void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages, in mem_cgroup_wb_stats()
4713 struct bdi_writeback *wb) in mem_cgroup_track_foreign_dirty_slowpath()
4765 void mem_cgroup_flush_foreign(struct bdi_writeback *wb) in mem_cgroup_flush_foreign()
/kernel/linux/linux-5.10/include/trace/events/
Dwriteback.h150 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup()
164 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup()
209 TP_PROTO(struct inode *inode, struct bdi_writeback *old_wb,
210 struct bdi_writeback *new_wb),
238 TP_PROTO(struct page *page, struct bdi_writeback *wb),
275 TP_PROTO(struct bdi_writeback *wb, unsigned int frn_bdi_id,
347 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work),
386 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work), \
407 TP_PROTO(struct bdi_writeback *wb),
424 TP_PROTO(struct bdi_writeback *wb), \
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dclient_writeback.h58 struct bdi_writeback *wb;
Dclient_writeback.c183 struct bdi_writeback *wb = hwb->wb; in hmdfs_update_dirty_limit()
242 static unsigned long hmdfs_wb_pause(struct bdi_writeback *wb, in hmdfs_wb_pause()
286 struct bdi_writeback *wb = &inode_to_bdi(inode)->wb; in hmdfs_balance_dirty_pages()
Dhmdfs_trace.h330 struct bdi_writeback *wb,
/kernel/linux/linux-5.10/block/
Dblk-wbt.c100 struct bdi_writeback *wb = &rwb->rqos.q->backing_dev_info->wb; in wb_recent_wait()