/fs/ |
D | fs-writeback.c | 46 enum writeback_sync_modes sync_mode; member 863 (base_work->sync_mode == WB_SYNC_NONE || in bdi_split_work_to_wbs() 971 work->sync_mode = WB_SYNC_NONE; in cgroup_writeback_by_id() 1389 (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)) in requeue_inode() 1461 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) { in __writeback_single_inode() 1477 wbc->sync_mode == WB_SYNC_ALL || in __writeback_single_inode() 1540 if (wbc->sync_mode != WB_SYNC_ALL) in writeback_single_inode() 1559 (wbc->sync_mode != WB_SYNC_ALL || in writeback_single_inode() 1602 if (work->sync_mode == WB_SYNC_ALL || work->tagged_writepages) in writeback_chunk_size() 1629 .sync_mode = work->sync_mode, in writeback_sb_inodes() [all …]
|
D | sync.c | 296 int sync_mode = WB_SYNC_NONE; in sync_file_range() local 300 sync_mode = WB_SYNC_ALL; in sync_file_range() 303 sync_mode); in sync_file_range()
|
D | mpage.c | 768 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepages() 789 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepage()
|
/fs/gfs2/ |
D | aops.c | 273 if (wbc->sync_mode != WB_SYNC_NONE) in gfs2_write_jdata_pagevec() 313 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec() 364 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata() 370 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata() 422 if (ret == 0 && wbc->sync_mode == WB_SYNC_ALL) { in gfs2_jdata_writepages()
|
D | trace_gfs2.h | 412 __field( int, sync_mode ) 419 __entry->sync_mode = wbc->sync_mode; 425 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
|
D | meta_io.c | 55 if (wbc->sync_mode != WB_SYNC_NONE) { in gfs2_aspace_writepage()
|
/fs/f2fs/ |
D | data.c | 2459 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages() 2464 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages() 2481 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages() 2502 if (wbc->sync_mode != WB_SYNC_NONE) in f2fs_write_cache_pages() 2525 if (wbc->sync_mode == WB_SYNC_ALL) { in f2fs_write_cache_pages() 2541 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages() 2579 if (wbc->sync_mode != WB_SYNC_ALL) in __should_serialize_io() 2601 if (!get_dirty_pages(inode) && wbc->sync_mode == WB_SYNC_NONE) in __f2fs_write_data_pages() 2609 wbc->sync_mode == WB_SYNC_NONE && in __f2fs_write_data_pages() 2621 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages() [all …]
|
D | node.c | 1528 wbc->sync_mode == WB_SYNC_NONE && in __write_node_page() 1609 .sync_mode = WB_SYNC_ALL, in f2fs_move_node_page() 1834 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_sync_node_pages() 1854 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages() 1914 wbc->sync_mode == WB_SYNC_NONE && step == 1) in f2fs_sync_node_pages() 1985 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages() 1990 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages() 2003 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
|
D | checkpoint.c | 340 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_meta_pages() 1162 .sync_mode = WB_SYNC_ALL, in block_operations()
|
/fs/ext4/ |
D | page-io.c | 344 int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ? in ext4_io_submit() 488 if (ret == -ENOMEM && wbc->sync_mode == WB_SYNC_ALL) { in ext4_bio_write_page()
|
/fs/xfs/ |
D | xfs_icache.c | 1099 int sync_mode) in xfs_reclaim_inode() argument 1109 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode() 1121 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode() 1134 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
|
/fs/ceph/ |
D | addr.c | 797 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start() 798 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start() 898 wbc->sync_mode != WB_SYNC_NONE) in ceph_writepages_start() 920 if (wbc->sync_mode == WB_SYNC_NONE) { in ceph_writepages_start() 1141 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start() 1157 if (wbc->sync_mode != WB_SYNC_NONE && in ceph_writepages_start()
|
/fs/sysv/ |
D | ialloc.c | 144 .sync_mode = WB_SYNC_NONE in sysv_new_inode()
|
D | inode.c | 283 return __sysv_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in sysv_write_inode()
|
/fs/nfs/ |
D | nfs4super.c | 82 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
|
D | write.c | 327 if (wbc->sync_mode == WB_SYNC_ALL) in wb_priority() 1931 if (wbc && wbc->sync_mode == WB_SYNC_NONE) { in __nfs_commit_inode() 1959 if (wbc->sync_mode == WB_SYNC_NONE) { in nfs_write_inode() 2065 .sync_mode = WB_SYNC_ALL, in nfs_wb_page()
|
/fs/adfs/ |
D | inode.c | 364 ret = adfs_dir_update(sb, &obj, wbc->sync_mode == WB_SYNC_ALL); in adfs_write_inode()
|
/fs/jfs/ |
D | inode.c | 117 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode()
|
/fs/btrfs/ |
D | extent_io.c | 3925 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in btree_write_cache_pages() 3946 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages() 3951 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages() 4107 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages() 4112 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages() 4143 if (wbc->sync_mode != WB_SYNC_NONE) { in extent_write_cache_pages() 4197 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_write_full_page() 4229 .sync_mode = mode, in extent_write_locked_range() 4265 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_writepages()
|
/fs/nilfs2/ |
D | inode.c | 173 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_writepages() 200 if (wbc->sync_mode == WB_SYNC_ALL) { in nilfs_writepage()
|
D | mdt.c | 427 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_mdt_write_page()
|
/fs/cifs/ |
D | file.c | 2203 if (wbc->sync_mode != WB_SYNC_NONE) in wdata_prepare_pages() 2250 wdata->sync_mode = wbc->sync_mode; in wdata_send_pages() 2390 if (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN) { in cifs_writepages() 2459 if (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN) in cifs_writepage_locked() 2937 wdata->sync_mode = WB_SYNC_ALL; in cifs_write_from_iter() 4648 .sync_mode = WB_SYNC_ALL, in cifs_launder_page()
|
/fs/bfs/ |
D | inode.c | 153 if (wbc->sync_mode == WB_SYNC_ALL) { in bfs_write_inode()
|
/fs/9p/ |
D | vfs_file.c | 611 .sync_mode = WB_SYNC_ALL, in v9fs_mmap_vm_close()
|
/fs/omfs/ |
D | inode.c | 174 return __omfs_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in omfs_write_inode()
|