Home
last modified time | relevance | path

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

12

/linux/include/trace/events/
H A Dwriteback.h457 __field(long, nr_to_write)
471 __entry->nr_to_write = wbc->nr_to_write;
487 __entry->nr_to_write,
750 unsigned long nr_to_write
753 TP_ARGS(inode, wbc, nr_to_write),
761 __field(long, nr_to_write)
773 __entry->nr_to_write = nr_to_write;
774 __entry->wrote = nr_to_write - wbc->nr_to_write;
786 __entry->nr_to_write,
795 unsigned long nr_to_write),
[all …]
H A Dext4.h451 __field( long, nr_to_write )
464 __entry->nr_to_write = wbc->nr_to_write;
478 (unsigned long) __entry->ino, __entry->nr_to_write,
495 __field( long, nr_to_write )
503 __entry->nr_to_write = wbc->nr_to_write;
511 __entry->nr_to_write, __entry->sync_mode)
H A Df2fs.h1467 __field(long, nr_to_write)
1486 __entry->nr_to_write = wbc->nr_to_write;
1506 __entry->nr_to_write,
H A Dbtrfs.h685 __field( long, nr_to_write )
699 __entry->nr_to_write = wbc->nr_to_write;
717 __entry->nr_to_write, __entry->pages_skipped,
/linux/kernel/power/
H A Dswap.c549 unsigned int nr_to_write) in save_image() argument
562 nr_to_write); in save_image()
563 m = nr_to_write / 10; in save_image()
587 swsusp_show_speed(start, stop, nr_to_write, "Wrote"); in save_image()
694 unsigned int nr_to_write) in save_compressed_image() argument
795 nr_to_write); in save_compressed_image()
796 m = nr_to_write / 10; in save_compressed_image()
887 swsusp_show_speed(start, stop, nr_to_write, "Wrote"); in save_compressed_image()
/linux/fs/
H A Dfs-writeback.c1626 if (wbc->nr_to_write <= 0 && in requeue_inode()
1672 long nr_to_write = wbc->nr_to_write; in __writeback_single_inode() local
1678 trace_writeback_single_inode_start(inode, wbc, nr_to_write); in __writeback_single_inode()
1750 trace_writeback_single_inode(inode, wbc, nr_to_write); in __writeback_single_inode()
1969 wbc.nr_to_write = write_chunk; in writeback_sb_inodes()
1979 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes()
1980 wrote = write_chunk - wbc.nr_to_write - wbc.pages_skipped; in writeback_sb_inodes()
2841 .nr_to_write = LONG_MAX, in write_inode_now()
2848 wbc.nr_to_write = 0; in write_inode_now()
2868 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
/linux/fs/gfs2/
H A Dtrace_gfs2.h411 __field( long, nr_to_write )
418 __entry->nr_to_write = wbc->nr_to_write;
424 __entry->nr_to_write)
H A Daops.c162 if (ret == 0 && wbc->nr_to_write > 0) in gfs2_writepages()
257 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_batch()
345 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
H A Dlog.c144 if (ret || wbc->nr_to_write <= 0) in gfs2_ail1_start_one()
213 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush()
241 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
/linux/fs/ubifs/
H A 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()
/linux/fs/ext4/
H A Dinode.c1934 mpd->wbc->nr_to_write--; in mpage_submit_folio()
2389 mpd->wbc->nr_to_write--; in mpage_journal_page_buffers()
2465 mpd->wbc->nr_to_write <= in mpage_prepare_extent_to_map()
2571 long nr_to_write = wbc->nr_to_write; in ext4_do_writepages() local
2698 while (!mpd->scanned_until_end && wbc->nr_to_write > 0) { in ext4_do_writepages()
2724 wbc->nr_to_write, inode->i_ino, ret); in ext4_do_writepages()
2787 if (!ret && !cycled && wbc->nr_to_write > 0) { in ext4_do_writepages()
2795 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ext4_do_writepages()
2804 nr_to_write - wbc->nr_to_write); in ext4_do_writepages()
2841 .nr_to_write = LONG_MAX, in ext4_normal_submit_inode_data_buffers()
[all …]
/linux/include/linux/
H A Dwriteback.h45 long nr_to_write; /* Write this many pages, and decrement member
/linux/fs/btrfs/
H A Dextent_io.c1296 wbc->nr_to_write -= delalloc_to_write; in writepage_delalloc()
1300 if (wbc->nr_to_write < delalloc_to_write) { in writepage_delalloc()
1305 wbc->nr_to_write = min_t(u64, delalloc_to_write, in writepage_delalloc()
1510 bio_ctrl->wbc->nr_to_write--; in extent_writepage()
1750 wbc->nr_to_write--; in write_one_eb()
1770 wbc->nr_to_write -= folio_nr_pages(folio); in write_one_eb()
1994 nr_to_write_done = wbc->nr_to_write <= 0; in btree_write_cache_pages()
2117 if (range_whole && wbc->nr_to_write == LONG_MAX && in extent_write_cache_pages()
2206 wbc->nr_to_write <= 0); in extent_write_cache_pages()
2229 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && range_whole)) in extent_write_cache_pages()
H A Dinode.c8439 bool full_flush = wbc->nr_to_write == LONG_MAX; in start_delalloc_inodes()
8478 if (ret || wbc->nr_to_write <= 0) in start_delalloc_inodes()
8505 .nr_to_write = LONG_MAX, in btrfs_start_delalloc_snapshot()
8522 .nr_to_write = nr, in btrfs_start_delalloc_roots()
8543 wbc.nr_to_write = LONG_MAX; in btrfs_start_delalloc_roots()
8555 if (ret < 0 || wbc.nr_to_write <= 0) in btrfs_start_delalloc_roots()
/linux/fs/nfs/
H A Dwrite.c1950 if (nscan < wbc->nr_to_write) in __nfs_commit_inode()
1951 wbc->nr_to_write -= nscan; in __nfs_commit_inode()
1953 wbc->nr_to_write = 0; in __nfs_commit_inode()
2089 .nr_to_write = 0, in nfs_wb_folio()
/linux/Documentation/filesystems/
H A Dlocking.rst357 ``*nr_to_write`` pages. ``*nr_to_write`` must be decremented for each page
359 pages than ``*nr_to_write`` asks for, but it should try to be reasonably close.
360 If nr_to_write is NULL, all dirty pages must be written.
/linux/fs/9p/
H A Dvfs_file.c488 .nr_to_write = LONG_MAX, in v9fs_mmap_vm_close()
/linux/fs/netfs/
H A Dbuffered_write.c106 .nr_to_write = LONG_MAX, in netfs_perform_write()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c307 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()
/linux/mm/
H A Dpage-writeback.c2585 wbc->nr_to_write -= folio_nr_pages(folio); in writeback_iter()
2592 * we run past wbc->nr_to_write or encounter errors. in writeback_iter()
2598 * wbc->nr_to_write or encounter the first error. in writeback_iter()
2604 if (*error || wbc->nr_to_write <= 0) in writeback_iter()
2643 * @wbc: subtract the number of written pages from *@wbc->nr_to_write in write_cache_pages()
2696 if (wbc->nr_to_write <= 0) in do_writepages()
H A Dfilemap.c425 .nr_to_write = LONG_MAX, in __filemap_fdatawrite_range()
4260 .nr_to_write = LONG_MAX, in filemap_invalidate_inode()
/linux/fs/ceph/
H A Daddr.c1359 wbc->nr_to_write -= i; in ceph_writepages_start()
1369 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1412 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()
/linux/fs/jfs/
H A Djfs_metapage.c700 .nr_to_write = folio_nr_pages(folio), in metapage_write_one()
/linux/fs/orangefs/
H A Dinode.c483 .nr_to_write = 0, in orangefs_launder_folio()
/linux/fs/ocfs2/
H A Djournal.c886 .nr_to_write = mapping->nrpages * 2, in ocfs2_journal_submit_inode_data_buffers()

12