Home
last modified time | relevance | path

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

/linux-4.19.296/include/trace/events/
Dwriteback.h309 __field(long, nr_to_write)
323 __entry->nr_to_write = wbc->nr_to_write;
339 __entry->nr_to_write,
640 unsigned long nr_to_write
643 TP_ARGS(inode, wbc, nr_to_write),
651 __field(long, nr_to_write)
663 __entry->nr_to_write = nr_to_write;
664 __entry->wrote = nr_to_write - wbc->nr_to_write;
676 __entry->nr_to_write,
685 unsigned long nr_to_write),
[all …]
Dext4.h398 __field( long, nr_to_write )
411 __entry->nr_to_write = wbc->nr_to_write;
425 (unsigned long) __entry->ino, __entry->nr_to_write,
442 __field( long, nr_to_write )
450 __entry->nr_to_write = wbc->nr_to_write;
458 __entry->nr_to_write, __entry->sync_mode)
Df2fs.h1247 __field(long, nr_to_write)
1266 __entry->nr_to_write = wbc->nr_to_write;
1286 __entry->nr_to_write,
Dbtrfs.h534 __field( long, nr_to_write )
548 __entry->nr_to_write = wbc->nr_to_write;
566 __entry->nr_to_write, __entry->pages_skipped,
/linux-4.19.296/fs/
Dfs-writeback.c1338 if (wbc->nr_to_write <= 0) { in requeue_inode()
1377 long nr_to_write = wbc->nr_to_write; in __writeback_single_inode() local
1383 trace_writeback_single_inode_start(inode, wbc, nr_to_write); in __writeback_single_inode()
1446 trace_writeback_single_inode(inode, wbc, nr_to_write); in __writeback_single_inode()
1641 wbc.nr_to_write = write_chunk; in writeback_sb_inodes()
1651 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes()
1652 wrote = write_chunk - wbc.nr_to_write - wbc.pages_skipped; in writeback_sb_inodes()
2482 .nr_to_write = LONG_MAX, in write_inode_now()
2489 wbc.nr_to_write = 0; in write_inode_now()
2526 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
/linux-4.19.296/fs/f2fs/
Dsegment.h830 long nr_to_write, desired; in nr_pages_to_write() local
835 nr_to_write = wbc->nr_to_write; in nr_pages_to_write()
840 wbc->nr_to_write = desired; in nr_pages_to_write()
841 return desired - nr_to_write; in nr_pages_to_write()
Dcheckpoint.c335 written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); in f2fs_write_meta_pages()
337 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); in f2fs_write_meta_pages()
347 long nr_to_write, enum iostat_type io_type) in f2fs_sync_meta_pages() argument
372 if (nr_to_write != LONG_MAX && page->index != prev + 1) { in f2fs_sync_meta_pages()
401 if (unlikely(nwritten >= nr_to_write)) in f2fs_sync_meta_pages()
1115 .nr_to_write = LONG_MAX, in block_operations()
Dnode.c1613 .nr_to_write = 1, in f2fs_move_node_page()
1852 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages()
1858 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages()
1950 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
Dinode.c629 if (wbc && wbc->nr_to_write) in f2fs_write_inode()
Ddata.c2135 if (--wbc->nr_to_write <= 0 && in f2fs_write_cache_pages()
2151 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in f2fs_write_cache_pages()
Dfile.c212 .nr_to_write = LONG_MAX, in f2fs_do_sync_file()
Df2fs.h3015 long nr_to_write, enum iostat_type io_type);
/linux-4.19.296/fs/afs/
Dwrite.c563 wbc->nr_to_write -= ret; in afs_writepage()
625 wbc->nr_to_write -= ret; in afs_writepages_region()
628 } while (index < end && wbc->nr_to_write > 0); in afs_writepages_region()
650 if (start > 0 && wbc->nr_to_write > 0 && ret == 0) in afs_writepages()
657 if (wbc->nr_to_write > 0) in afs_writepages()
/linux-4.19.296/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.c133 if (wbc->nr_to_write <= 0) in gfs2_ail1_start_one()
163 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush()
184 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
Daops.c335 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
422 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
/linux-4.19.296/include/linux/
Dwriteback.h51 long nr_to_write; /* Write this many pages, and decrement member
/linux-4.19.296/fs/9p/
Dvfs_file.c625 .nr_to_write = LONG_MAX, in v9fs_mmap_vm_close()
641 wbc.nr_to_write = 0; in v9fs_mmap_vm_close()
/linux-4.19.296/fs/ext4/
Dinode.c2252 mpd->wbc->nr_to_write--; in mpage_submit_page()
2656 long left = mpd->wbc->nr_to_write; in mpage_prepare_extent_to_map()
2758 long nr_to_write = wbc->nr_to_write; in ext4_writepages() local
2902 wbc->nr_to_write, inode->i_ino, ret); in ext4_writepages()
2975 if (!ret && !cycled && wbc->nr_to_write > 0) { in ext4_writepages()
2983 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ext4_writepages()
2992 nr_to_write - wbc->nr_to_write); in ext4_writepages()
3001 long nr_to_write = wbc->nr_to_write; in ext4_dax_writepages() local
3013 nr_to_write - wbc->nr_to_write); in ext4_dax_writepages()
/linux-4.19.296/fs/nfs/
Dwrite.c1912 if (nscan < wbc->nr_to_write) in __nfs_commit_inode()
1913 wbc->nr_to_write -= nscan; in __nfs_commit_inode()
1915 wbc->nr_to_write = 0; in __nfs_commit_inode()
2046 .nr_to_write = 0, in nfs_wb_page()
/linux-4.19.296/fs/ubifs/
Dbudget.c63 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
/linux-4.19.296/fs/btrfs/
Dextent_io.c3229 wbc->nr_to_write -= nr_written; in update_nr_written()
3291 if (wbc->nr_to_write < delalloc_to_write) { in writepage_delalloc()
3296 wbc->nr_to_write = min_t(u64, delalloc_to_write, in writepage_delalloc()
3309 wbc->nr_to_write -= *nr_written; in writepage_delalloc()
3936 wbc->nr_to_write <= 0); in btree_write_cache_pages()
4053 if (range_whole && wbc->nr_to_write == LONG_MAX && in extent_write_cache_pages()
4124 nr_to_write_done = wbc->nr_to_write <= 0; in extent_write_cache_pages()
4148 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && range_whole)) in extent_write_cache_pages()
4196 .nr_to_write = nr_pages * 2, in extent_write_locked_range()
/linux-4.19.296/fs/ceph/
Daddr.c1133 wbc->nr_to_write -= i; in ceph_writepages_start()
1143 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1184 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()
/linux-4.19.296/fs/cifs/
Dfile.c2258 wbc->nr_to_write -= nr_pages; in cifs_writepages()
2259 if (wbc->nr_to_write <= 0) in cifs_writepages()
2278 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in cifs_writepages()
4169 .nr_to_write = 0, in cifs_launder_page()
/linux-4.19.296/fs/jbd2/
Dcommit.c196 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()