Home
last modified time | relevance | path

Searched refs:nr_to_write (Results 1 – 22 of 22) sorted by relevance

/fs/
Dfs-writeback.c1406 if (wbc->nr_to_write <= 0) { in requeue_inode()
1444 long nr_to_write = wbc->nr_to_write; in __writeback_single_inode() local
1450 trace_writeback_single_inode_start(inode, wbc, nr_to_write); in __writeback_single_inode()
1515 trace_writeback_single_inode(inode, wbc, nr_to_write); in __writeback_single_inode()
1709 wbc.nr_to_write = write_chunk; in writeback_sb_inodes()
1719 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes()
1720 wrote += write_chunk - wbc.nr_to_write; in writeback_sb_inodes()
2575 .nr_to_write = LONG_MAX, in write_inode_now()
2582 wbc.nr_to_write = 0; in write_inode_now()
2619 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
/fs/f2fs/
Dsegment.h839 long nr_to_write, desired; in nr_pages_to_write() local
844 nr_to_write = wbc->nr_to_write; in nr_pages_to_write()
849 wbc->nr_to_write = desired; in nr_pages_to_write()
850 return desired - nr_to_write; in nr_pages_to_write()
Dcheckpoint.c351 written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); in f2fs_write_meta_pages()
353 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); in f2fs_write_meta_pages()
363 long nr_to_write, enum iostat_type io_type) in f2fs_sync_meta_pages() argument
388 if (nr_to_write != LONG_MAX && page->index != prev + 1) { in f2fs_sync_meta_pages()
416 if (unlikely(nwritten >= nr_to_write)) in f2fs_sync_meta_pages()
1163 .nr_to_write = LONG_MAX, in block_operations()
Dnode.c1610 .nr_to_write = 1, in f2fs_move_node_page()
1900 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages()
1906 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages()
2001 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
Dinode.c633 if (wbc && wbc->nr_to_write) in f2fs_write_inode()
Ddata.c2540 if (--wbc->nr_to_write <= 0 && in f2fs_write_cache_pages()
2556 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in f2fs_write_cache_pages()
Dfile.c216 .nr_to_write = LONG_MAX, in f2fs_do_sync_file()
Df2fs.h3183 long nr_to_write, enum iostat_type io_type);
/fs/afs/
Dwrite.c622 wbc->nr_to_write -= ret; in afs_writepage()
684 wbc->nr_to_write -= ret; in afs_writepages_region()
687 } while (index < end && wbc->nr_to_write > 0); in afs_writepages_region()
709 if (start > 0 && wbc->nr_to_write > 0 && ret == 0) in afs_writepages()
716 if (wbc->nr_to_write > 0) in afs_writepages()
/fs/gfs2/
Dtrace_gfs2.h413 __field( long, nr_to_write )
420 __entry->nr_to_write = wbc->nr_to_write;
426 __entry->nr_to_write)
Dlog.c130 if (wbc->nr_to_write <= 0) in gfs2_ail1_start_one()
160 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush()
181 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
Daops.c313 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
400 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
/fs/ubifs/
Dbudget.c51 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
54 writeback_inodes_sb_nr(c->vfs_sb, nr_to_write, WB_REASON_FS_FREE_SPACE); in shrink_liability()
/fs/9p/
Dvfs_file.c610 .nr_to_write = LONG_MAX, in v9fs_mmap_vm_close()
626 wbc.nr_to_write = 0; in v9fs_mmap_vm_close()
/fs/ext4/
Dinode.c2246 mpd->wbc->nr_to_write--; in mpage_submit_page()
2649 long left = mpd->wbc->nr_to_write; in mpage_prepare_extent_to_map()
2735 long nr_to_write = wbc->nr_to_write; in ext4_writepages() local
2879 wbc->nr_to_write, inode->i_ino, ret); in ext4_writepages()
2953 if (!ret && !cycled && wbc->nr_to_write > 0) { in ext4_writepages()
2961 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ext4_writepages()
2970 nr_to_write - wbc->nr_to_write); in ext4_writepages()
2979 long nr_to_write = wbc->nr_to_write; in ext4_dax_writepages() local
2991 nr_to_write - wbc->nr_to_write); in ext4_dax_writepages()
/fs/nfs/
Dwrite.c1932 if (nscan < wbc->nr_to_write) in __nfs_commit_inode()
1933 wbc->nr_to_write -= nscan; in __nfs_commit_inode()
1935 wbc->nr_to_write = 0; in __nfs_commit_inode()
2066 .nr_to_write = 0, in nfs_wb_page()
/fs/btrfs/
Dextent_io.c3316 wbc->nr_to_write -= nr_written; in update_nr_written()
3370 if (wbc->nr_to_write < delalloc_to_write) { in writepage_delalloc()
3375 wbc->nr_to_write = min_t(u64, delalloc_to_write, in writepage_delalloc()
3388 wbc->nr_to_write -= *nr_written; in writepage_delalloc()
4017 nr_to_write_done = wbc->nr_to_write <= 0; in btree_write_cache_pages()
4102 if (range_whole && wbc->nr_to_write == LONG_MAX && in extent_write_cache_pages()
4168 nr_to_write_done = wbc->nr_to_write <= 0; in extent_write_cache_pages()
4183 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && range_whole)) in extent_write_cache_pages()
4230 .nr_to_write = nr_pages * 2, in extent_write_locked_range()
/fs/ceph/
Daddr.c1131 wbc->nr_to_write -= i; in ceph_writepages_start()
1141 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1182 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()
/fs/jbd2/
Dcommit.c196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/fs/cifs/
Dfile.c2404 wbc->nr_to_write -= nr_pages; in cifs_writepages()
2405 if (wbc->nr_to_write <= 0) in cifs_writepages()
2424 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in cifs_writepages()
4649 .nr_to_write = 0, in cifs_launder_page()
/fs/orangefs/
Dinode.c578 .nr_to_write = 0, in orangefs_launder_page()
/fs/udf/
Dinode.c260 .nr_to_write = 1, in udf_expand_file_adinicb()