Home
last modified time | relevance | path

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

/include/linux/
Dwriteback.h97 static inline int wbc_to_write_flags(struct writeback_control *wbc) in wbc_to_write_flags() argument
101 if (wbc->punt_to_cgroup) in wbc_to_write_flags()
104 if (wbc->sync_mode == WB_SYNC_ALL) in wbc_to_write_flags()
106 else if (wbc->for_kupdate || wbc->for_background) in wbc_to_write_flags()
113 wbc_blkcg_css(struct writeback_control *wbc) in wbc_blkcg_css() argument
116 if (wbc->wb) in wbc_blkcg_css()
117 return wbc->wb->blkcg_css; in wbc_blkcg_css()
214 void wbc_attach_and_unlock_inode(struct writeback_control *wbc,
217 void wbc_detach_inode(struct writeback_control *wbc);
218 void wbc_account_cgroup_owner(struct writeback_control *wbc, struct page *page,
[all …]
Dmpage.h21 struct writeback_control *wbc, get_block_t get_block);
23 struct writeback_control *wbc);
Ddax.h144 struct block_device *bdev, struct writeback_control *wbc);
183 struct block_device *bdev, struct writeback_control *wbc) in dax_writeback_mapping_range() argument
Dbuffer_head.h218 struct writeback_control *wbc);
220 get_block_t *get_block, struct writeback_control *wbc,
265 struct writeback_control *wbc);
Dswap.h389 extern int swap_writepage(struct page *page, struct writeback_control *wbc);
391 extern int __swap_writepage(struct page *page, struct writeback_control *wbc,
550 static inline int swap_writepage(struct page *p, struct writeback_control *wbc) in swap_writepage() argument
Dnfs_fs.h534 extern int nfs_writepage(struct page *page, struct writeback_control *wbc);
Dfs.h363 int (*writepage)(struct page *page, struct writeback_control *wbc);
1961 int (*write_inode) (struct inode *, struct writeback_control *wbc);
2231 int sync_inode(struct inode *inode, struct writeback_control *wbc);
Dmm.h1594 int redirty_page_for_writepage(struct writeback_control *wbc,
/include/trace/events/
Dwriteback.h158 static inline unsigned int __trace_wbc_assign_cgroup(struct writeback_control *wbc) in __trace_wbc_assign_cgroup() argument
160 if (wbc->wb) in __trace_wbc_assign_cgroup()
161 return __trace_wb_assign_cgroup(wbc->wb); in __trace_wbc_assign_cgroup()
172 static inline unsigned int __trace_wbc_assign_cgroup(struct writeback_control *wbc) in __trace_wbc_assign_cgroup() argument
183 TP_PROTO(struct inode *inode, struct writeback_control *wbc,
186 TP_ARGS(inode, wbc, history),
198 __entry->cgroup_ino = __trace_wbc_assign_cgroup(wbc);
308 TP_PROTO(struct inode *inode, struct writeback_control *wbc),
310 TP_ARGS(inode, wbc),
323 __entry->sync_mode = wbc->sync_mode;
[all …]
Df2fs.h1307 TP_PROTO(struct inode *inode, struct writeback_control *wbc, int type),
1309 TP_ARGS(inode, wbc, type),
1335 __entry->nr_to_write = wbc->nr_to_write;
1336 __entry->pages_skipped = wbc->pages_skipped;
1337 __entry->range_start = wbc->range_start;
1338 __entry->range_end = wbc->range_end;
1340 __entry->sync_mode = wbc->sync_mode;
1341 __entry->for_kupdate = wbc->for_kupdate;
1342 __entry->for_background = wbc->for_background;
1343 __entry->tagged_writepages = wbc->tagged_writepages;
[all …]
Dext4.h392 TP_PROTO(struct inode *inode, struct writeback_control *wbc),
394 TP_ARGS(inode, wbc),
412 __entry->nr_to_write = wbc->nr_to_write;
413 __entry->pages_skipped = wbc->pages_skipped;
414 __entry->range_start = wbc->range_start;
415 __entry->range_end = wbc->range_end;
417 __entry->sync_mode = wbc->sync_mode;
418 __entry->for_kupdate = wbc->for_kupdate;
419 __entry->range_cyclic = wbc->range_cyclic;
435 struct writeback_control *wbc),
[all …]
Dbtrfs.h563 const struct writeback_control *wbc),
565 TP_ARGS(page, inode, wbc),
584 __entry->nr_to_write = wbc->nr_to_write;
585 __entry->pages_skipped = wbc->pages_skipped;
586 __entry->range_start = wbc->range_start;
587 __entry->range_end = wbc->range_end;
588 __entry->for_kupdate = wbc->for_kupdate;
589 __entry->for_reclaim = wbc->for_reclaim;
590 __entry->range_cyclic = wbc->range_cyclic;
612 const struct writeback_control *wbc),
[all …]