Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/trace/events/
Dwriteback.h449 __field(long, nr_to_write)
463 __entry->nr_to_write = wbc->nr_to_write;
479 __entry->nr_to_write,
742 unsigned long nr_to_write
745 TP_ARGS(inode, wbc, nr_to_write),
753 __field(long, nr_to_write)
765 __entry->nr_to_write = nr_to_write;
766 __entry->wrote = nr_to_write - wbc->nr_to_write;
778 __entry->nr_to_write,
787 unsigned long nr_to_write),
[all …]
Dext4.h436 __field( long, nr_to_write )
449 __entry->nr_to_write = wbc->nr_to_write;
463 (unsigned long) __entry->ino, __entry->nr_to_write,
480 __field( long, nr_to_write )
488 __entry->nr_to_write = wbc->nr_to_write;
496 __entry->nr_to_write, __entry->sync_mode)
Df2fs.h1322 __field(long, nr_to_write)
1341 __entry->nr_to_write = wbc->nr_to_write;
1361 __entry->nr_to_write,
Dbtrfs.h673 __field( long, nr_to_write )
687 __entry->nr_to_write = wbc->nr_to_write;
705 __entry->nr_to_write, __entry->pages_skipped,
/Linux-v6.1/fs/
Dfs-writeback.c1534 if (wbc->nr_to_write <= 0) { in requeue_inode()
1579 long nr_to_write = wbc->nr_to_write; in __writeback_single_inode() local
1585 trace_writeback_single_inode_start(inode, wbc, nr_to_write); in __writeback_single_inode()
1657 trace_writeback_single_inode(inode, wbc, nr_to_write); in __writeback_single_inode()
1871 wbc.nr_to_write = write_chunk; in writeback_sb_inodes()
1881 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes()
1882 wrote = write_chunk - wbc.nr_to_write - wbc.pages_skipped; in writeback_sb_inodes()
2734 .nr_to_write = LONG_MAX, in write_inode_now()
2741 wbc.nr_to_write = 0; in write_inode_now()
2761 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
/Linux-v6.1/kernel/power/
Dswap.c542 unsigned int nr_to_write) in save_image() argument
555 nr_to_write); in save_image()
556 m = nr_to_write / 10; in save_image()
580 swsusp_show_speed(start, stop, nr_to_write, "Wrote"); in save_image()
679 unsigned int nr_to_write) in save_image_lzo() argument
771 nr_to_write); in save_image_lzo()
772 m = nr_to_write / 10; in save_image_lzo()
863 swsusp_show_speed(start, stop, nr_to_write, "Wrote"); in save_image_lzo()
/Linux-v6.1/fs/f2fs/
Dsegment.h897 long nr_to_write, desired; in nr_pages_to_write() local
902 nr_to_write = wbc->nr_to_write; in nr_pages_to_write()
907 wbc->nr_to_write = desired; in nr_pages_to_write()
908 return desired - nr_to_write; in nr_pages_to_write()
Dcheckpoint.c377 written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); in f2fs_write_meta_pages()
379 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); in f2fs_write_meta_pages()
389 long nr_to_write, enum iostat_type io_type) in f2fs_sync_meta_pages() argument
414 if (nr_to_write != LONG_MAX && page->index != prev + 1) { in f2fs_sync_meta_pages()
442 if (unlikely(nwritten >= nr_to_write)) in f2fs_sync_meta_pages()
1206 .nr_to_write = LONG_MAX, in block_operations()
Dnode.c1688 .nr_to_write = 1, in f2fs_move_node_page()
2024 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages()
2030 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages()
2129 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
Ddata.c3106 wbc->nr_to_write -= submitted; in f2fs_write_cache_pages()
3130 if (wbc->nr_to_write <= 0 && in f2fs_write_cache_pages()
3147 wbc->nr_to_write -= submitted; in f2fs_write_cache_pages()
3163 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in f2fs_write_cache_pages()
/Linux-v6.1/fs/gfs2/
Dtrace_gfs2.h411 __field( long, nr_to_write )
418 __entry->nr_to_write = wbc->nr_to_write;
424 __entry->nr_to_write)
Daops.c283 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
370 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
Dlog.c143 if (ret || wbc->nr_to_write <= 0) in gfs2_ail1_start_one()
212 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush()
240 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
/Linux-v6.1/fs/afs/
Dwrite.c559 long count = wbc->nr_to_write; in afs_write_back_from_locked_folio()
625 wbc->nr_to_write = count; in afs_write_back_from_locked_folio()
779 } while (wbc->nr_to_write > 0); in afs_writepages_region()
812 if (start > 0 && wbc->nr_to_write > 0) { in afs_writepages()
822 if (wbc->nr_to_write > 0 && ret == 0) in afs_writepages()
/Linux-v6.1/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()
/Linux-v6.1/include/linux/
Dwriteback.h43 long nr_to_write; /* Write this many pages, and decrement member
/Linux-v6.1/fs/ext4/
Dinode.c2123 mpd->wbc->nr_to_write--; in mpage_submit_page()
2577 long left = mpd->wbc->nr_to_write; in mpage_prepare_extent_to_map()
2680 long nr_to_write = wbc->nr_to_write; in ext4_writepages() local
2798 while (!mpd.scanned_until_end && wbc->nr_to_write > 0) { in ext4_writepages()
2823 wbc->nr_to_write, inode->i_ino, ret); in ext4_writepages()
2886 if (!ret && !cycled && wbc->nr_to_write > 0) { in ext4_writepages()
2894 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ext4_writepages()
2903 nr_to_write - wbc->nr_to_write); in ext4_writepages()
2912 long nr_to_write = wbc->nr_to_write; in ext4_dax_writepages() local
2924 nr_to_write - wbc->nr_to_write); in ext4_dax_writepages()
/Linux-v6.1/fs/btrfs/
Dextent_io.c1983 if (wbc->nr_to_write < delalloc_to_write) { in writepage_delalloc()
1988 wbc->nr_to_write = min_t(u64, delalloc_to_write, in writepage_delalloc()
1998 wbc->nr_to_write -= nr_written; in writepage_delalloc()
2098 wbc->nr_to_write--; in __extent_writepage_io()
2709 wbc->nr_to_write--; in write_one_subpage_eb()
2745 wbc->nr_to_write--; in write_one_eb()
3013 nr_to_write_done = wbc->nr_to_write <= 0; in btree_write_cache_pages()
3135 if (range_whole && wbc->nr_to_write == LONG_MAX && in extent_write_cache_pages()
3197 nr_to_write_done = wbc->nr_to_write <= 0; in extent_write_cache_pages()
3220 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && range_whole)) in extent_write_cache_pages()
[all …]
/Linux-v6.1/mm/
Dpage-writeback.c2393 if (--wbc->nr_to_write <= 0 && in write_cache_pages()
2410 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in write_cache_pages()
2463 if (wbc->nr_to_write <= 0) in do_writepages()
2512 .nr_to_write = folio_nr_pages(folio), in folio_write_one()
/Linux-v6.1/fs/nfs/
Dwrite.c1948 if (nscan < wbc->nr_to_write) in __nfs_commit_inode()
1949 wbc->nr_to_write -= nscan; in __nfs_commit_inode()
1951 wbc->nr_to_write = 0; in __nfs_commit_inode()
2082 .nr_to_write = 0, in nfs_wb_page()
/Linux-v6.1/Documentation/filesystems/
Dlocking.rst350 ``*nr_to_write`` pages. ``*nr_to_write`` must be decremented for each page
352 pages than ``*nr_to_write`` asks for, but it should try to be reasonably close.
353 If nr_to_write is NULL, all dirty pages must be written.
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c294 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()
/Linux-v6.1/fs/ceph/
Daddr.c1154 wbc->nr_to_write -= i; in ceph_writepages_start()
1164 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1205 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()
/Linux-v6.1/fs/9p/
Dvfs_file.c600 .nr_to_write = LONG_MAX, in v9fs_mmap_vm_close()
/Linux-v6.1/fs/jbd2/
Dcommit.c195 .nr_to_write = mapping->nrpages * 2, in jbd2_journal_submit_inode_data_buffers()

12