/linux/include/linux/ |
H A D | writeback.h | 35 WB_SYNC_ALL, /* Wait on every mapping */ enumerator 108 if (wbc->sync_mode == WB_SYNC_ALL) in wbc_to_write_flags()
|
/linux/fs/ |
H A D | fs-writeback.c | 1582 (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)) in requeue_inode() 1667 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) { in __writeback_single_inode() 1679 (wbc->sync_mode == WB_SYNC_ALL || in __writeback_single_inode() 1760 if (wbc->sync_mode != WB_SYNC_ALL) in writeback_single_inode() 1773 (wbc->sync_mode != WB_SYNC_ALL || in writeback_single_inode() 1834 if (work->sync_mode == WB_SYNC_ALL || work->tagged_writepages) in writeback_chunk_size() 1914 if ((inode->i_state & I_SYNC) && wbc.sync_mode != WB_SYNC_ALL) { in writeback_sb_inodes() 2779 .sync_mode = WB_SYNC_ALL, in sync_inodes_sb() 2820 .sync_mode = sync ? WB_SYNC_ALL : WB_SYNC_NONE, in write_inode_now() 2845 .sync_mode = wait ? WB_SYNC_ALL : WB_SYNC_NONE, in sync_inode_metadata()
|
H A D | sync.c | 290 sync_mode = WB_SYNC_ALL; in sync_file_range()
|
/linux/fs/gfs2/ |
H A D | aops.c | 308 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata() 314 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata() 367 if (ret == 0 && wbc->sync_mode == WB_SYNC_ALL) { in gfs2_jdata_writepages()
|
H A D | trace_gfs2.h | 423 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
|
/linux/fs/ext4/ |
H A D | page-io.c | 375 if (io->io_wbc->sync_mode == WB_SYNC_ALL) in ext4_io_submit() 528 (io->io_bio || wbc->sync_mode == WB_SYNC_ALL)) { in ext4_bio_write_folio()
|
H A D | inode.c | 2422 if (mpd->wbc->sync_mode == WB_SYNC_ALL || mpd->wbc->tagged_writepages) in mpage_prepare_extent_to_map() 2628 if (wbc->sync_mode == WB_SYNC_ALL) in ext4_do_writepages() 2659 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in ext4_do_writepages() 2829 .sync_mode = WB_SYNC_ALL, in ext4_normal_submit_inode_data_buffers() 5213 if (wbc->sync_mode != WB_SYNC_ALL || wbc->for_sync) in ext4_write_inode() 5228 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) in ext4_write_inode()
|
/linux/fs/nfs/ |
H A D | nfs4super.c | 53 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
|
/linux/fs/afs/ |
H A D | write.c | 222 if (wbc->sync_mode == WB_SYNC_ALL) in afs_writepages()
|
/linux/fs/adfs/ |
H A D | inode.c | 373 return adfs_dir_update(sb, &obj, wbc->sync_mode == WB_SYNC_ALL); in adfs_write_inode()
|
/linux/fs/jfs/ |
H A D | inode.c | 117 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode()
|
H A D | jfs_metapage.c | 699 .sync_mode = WB_SYNC_ALL, in metapage_write_one()
|
/linux/fs/sysv/ |
H A D | inode.c | 279 return __sysv_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in sysv_write_inode()
|
/linux/mm/ |
H A D | page-writeback.c | 2467 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in wbc_to_tag() 2562 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in writeback_iter() 2581 if (wbc->sync_mode == WB_SYNC_ALL) { in writeback_iter() 2690 if (ret != -ENOMEM || wbc->sync_mode != WB_SYNC_ALL) in do_writepages()
|
H A D | filemap.c | 442 return __filemap_fdatawrite(mapping, WB_SYNC_ALL); in filemap_fdatawrite() 449 return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_ALL); in filemap_fdatawrite_range() 686 WB_SYNC_ALL); in filemap_write_and_wait_range() 789 WB_SYNC_ALL); in file_write_and_wait_range() 4258 .sync_mode = WB_SYNC_ALL, in filemap_invalidate_inode()
|
/linux/fs/9p/ |
H A D | vfs_file.c | 489 .sync_mode = WB_SYNC_ALL, in v9fs_mmap_vm_close()
|
/linux/fs/f2fs/ |
H A D | data.c | 3048 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages() 3054 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages() 3203 if (wbc->sync_mode == WB_SYNC_ALL) { in f2fs_write_cache_pages() 3280 if (wbc->sync_mode != WB_SYNC_ALL) in __should_serialize_io() 3322 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages() 3343 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages()
|
H A D | node.c | 1726 .sync_mode = WB_SYNC_ALL, in f2fs_move_node_page() 2019 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages() 2141 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages() 2146 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages() 2163 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
|
/linux/fs/nilfs2/ |
H A D | inode.c | 166 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_writepages() 194 if (wbc->sync_mode == WB_SYNC_ALL) { in nilfs_writepage()
|
H A D | mdt.c | 427 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_mdt_write_page()
|
/linux/fs/bfs/ |
H A D | inode.c | 150 if (wbc->sync_mode == WB_SYNC_ALL) { in bfs_write_inode()
|
/linux/fs/btrfs/ |
H A D | extent_io.c | 1506 if (wbc->sync_mode != WB_SYNC_ALL) in lock_extent_buffer_for_io() 1922 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages() 1928 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages() 2079 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages() 2084 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages()
|
/linux/fs/omfs/ |
H A D | inode.c | 174 return __omfs_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in omfs_write_inode()
|
/linux/fs/exfat/ |
H A D | inode.c | 109 ret = __exfat_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in exfat_write_inode()
|
/linux/fs/minix/ |
H A D | inode.c | 661 if (wbc->sync_mode == WB_SYNC_ALL && buffer_dirty(bh)) { in minix_write_inode()
|