Home
last modified time | relevance | path

Searched refs:WB_SYNC_ALL (Results 1 – 25 of 40) sorted by relevance

12

/linux/include/linux/
H A Dwriteback.h35 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 Dfs-writeback.c1582 (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 Dsync.c290 sync_mode = WB_SYNC_ALL; in sync_file_range()
/linux/fs/gfs2/
H A Daops.c308 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 Dtrace_gfs2.h423 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
/linux/fs/ext4/
H A Dpage-io.c375 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 Dinode.c2422 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 Dnfs4super.c53 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
/linux/fs/afs/
H A Dwrite.c222 if (wbc->sync_mode == WB_SYNC_ALL) in afs_writepages()
/linux/fs/adfs/
H A Dinode.c373 return adfs_dir_update(sb, &obj, wbc->sync_mode == WB_SYNC_ALL); in adfs_write_inode()
/linux/fs/jfs/
H A Dinode.c117 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode()
H A Djfs_metapage.c699 .sync_mode = WB_SYNC_ALL, in metapage_write_one()
/linux/fs/sysv/
H A Dinode.c279 return __sysv_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in sysv_write_inode()
/linux/mm/
H A Dpage-writeback.c2467 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 Dfilemap.c442 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 Dvfs_file.c489 .sync_mode = WB_SYNC_ALL, in v9fs_mmap_vm_close()
/linux/fs/f2fs/
H A Ddata.c3048 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 Dnode.c1726 .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 Dinode.c166 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_writepages()
194 if (wbc->sync_mode == WB_SYNC_ALL) { in nilfs_writepage()
H A Dmdt.c427 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_mdt_write_page()
/linux/fs/bfs/
H A Dinode.c150 if (wbc->sync_mode == WB_SYNC_ALL) { in bfs_write_inode()
/linux/fs/btrfs/
H A Dextent_io.c1506 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 Dinode.c174 return __omfs_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in omfs_write_inode()
/linux/fs/exfat/
H A Dinode.c109 ret = __exfat_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in exfat_write_inode()
/linux/fs/minix/
H A Dinode.c661 if (wbc->sync_mode == WB_SYNC_ALL && buffer_dirty(bh)) { in minix_write_inode()

12