/openbmc/linux/include/trace/events/ |
H A D | writeback.h | 449 __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 …]
|
H A D | ext4.h | 452 __field( long, nr_to_write ) 465 __entry->nr_to_write = wbc->nr_to_write; 479 (unsigned long) __entry->ino, __entry->nr_to_write, 496 __field( long, nr_to_write ) 504 __entry->nr_to_write = wbc->nr_to_write; 512 __entry->nr_to_write, __entry->sync_mode)
|
H A D | f2fs.h | 1368 __field(long, nr_to_write) 1387 __entry->nr_to_write = wbc->nr_to_write; 1407 __entry->nr_to_write,
|
H A D | btrfs.h | 702 __field( long, nr_to_write ) 716 __entry->nr_to_write = wbc->nr_to_write; 734 __entry->nr_to_write, __entry->pages_skipped,
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 542 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()
|
/openbmc/linux/fs/ |
H A D | fs-writeback.c | 1572 if (wbc->nr_to_write <= 0) { in requeue_inode() 1617 long nr_to_write = wbc->nr_to_write; in __writeback_single_inode() local 1623 trace_writeback_single_inode_start(inode, wbc, nr_to_write); in __writeback_single_inode() 1695 trace_writeback_single_inode(inode, wbc, nr_to_write); in __writeback_single_inode() 1909 wbc.nr_to_write = write_chunk; in writeback_sb_inodes() 1919 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes() 1920 wrote = write_chunk - wbc.nr_to_write - wbc.pages_skipped; in writeback_sb_inodes() 2781 .nr_to_write = LONG_MAX, in write_inode_now() 2788 wbc.nr_to_write = 0; in write_inode_now() 2808 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
|
/openbmc/linux/fs/afs/ |
H A D | write.c | 55 .nr_to_write = LONG_MAX, in afs_flush_conflicting_write() 593 long count = wbc->nr_to_write; in afs_write_back_from_locked_folio() 659 wbc->nr_to_write = count; in afs_write_back_from_locked_folio() 794 } while (wbc->nr_to_write > 0); in afs_writepages_region() 828 if (start > 0 && wbc->nr_to_write > 0) { in afs_writepages() 839 if (wbc->nr_to_write > 0 && ret == 0) in afs_writepages()
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.h | 936 long nr_to_write, desired; in nr_pages_to_write() local 941 nr_to_write = wbc->nr_to_write; in nr_pages_to_write() 946 wbc->nr_to_write = desired; in nr_pages_to_write() 947 return desired - nr_to_write; in nr_pages_to_write()
|
H A D | checkpoint.c | 394 written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); in f2fs_write_meta_pages() 396 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); in f2fs_write_meta_pages() 406 long nr_to_write, enum iostat_type io_type) in f2fs_sync_meta_pages() argument 430 if (nr_to_write != LONG_MAX && i != 0 && in f2fs_sync_meta_pages() 462 if (unlikely(nwritten >= nr_to_write)) in f2fs_sync_meta_pages() 1210 .nr_to_write = LONG_MAX, in block_operations()
|
H A D | node.c | 1730 .nr_to_write = 1, in f2fs_move_node_page() 2069 if (--wbc->nr_to_write == 0) in f2fs_sync_node_pages() 2075 if (wbc->nr_to_write == 0) { in f2fs_sync_node_pages() 2164 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff); in f2fs_write_node_pages()
|
/openbmc/linux/fs/gfs2/ |
H A D | trace_gfs2.h | 411 __field( long, nr_to_write ) 418 __entry->nr_to_write = wbc->nr_to_write; 424 __entry->nr_to_write)
|
H A D | aops.c | 192 if (ret == 0 && wbc->nr_to_write > 0) in gfs2_writepages() 287 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_batch() 375 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
|
H A D | log.c | 152 if (ret || wbc->nr_to_write <= 0) in gfs2_ail1_start_one() 221 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush() 249 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
|
/openbmc/linux/fs/ubifs/ |
H A D | budget.c | 51 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()
|
/openbmc/linux/include/linux/ |
H A D | writeback.h | 43 long nr_to_write; /* Write this many pages, and decrement member
|
/openbmc/linux/fs/ext4/ |
H A D | inode.c | 1899 mpd->wbc->nr_to_write--; in mpage_submit_folio() 2361 mpd->wbc->nr_to_write--; in mpage_journal_page_buffers() 2437 mpd->wbc->nr_to_write <= in mpage_prepare_extent_to_map() 2543 long nr_to_write = wbc->nr_to_write; in ext4_do_writepages() local 2670 while (!mpd->scanned_until_end && wbc->nr_to_write > 0) { in ext4_do_writepages() 2696 wbc->nr_to_write, inode->i_ino, ret); in ext4_do_writepages() 2759 if (!ret && !cycled && wbc->nr_to_write > 0) { in ext4_do_writepages() 2767 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ext4_do_writepages() 2776 nr_to_write - wbc->nr_to_write); in ext4_do_writepages() 2813 .nr_to_write = LONG_MAX, in ext4_normal_submit_inode_data_buffers() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.c | 1200 wbc->nr_to_write -= delalloc_to_write; in writepage_delalloc() 1204 if (wbc->nr_to_write < delalloc_to_write) { in writepage_delalloc() 1209 wbc->nr_to_write = min_t(u64, delalloc_to_write, in writepage_delalloc() 1441 bio_ctrl->wbc->nr_to_write--; in __extent_writepage() 1681 wbc->nr_to_write--; in write_one_eb() 1695 wbc->nr_to_write--; in write_one_eb() 1919 nr_to_write_done = wbc->nr_to_write <= 0; in btree_write_cache_pages() 2042 if (range_whole && wbc->nr_to_write == LONG_MAX && in extent_write_cache_pages() 2111 wbc->nr_to_write <= 0); in extent_write_cache_pages() 2134 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && range_whole)) in extent_write_cache_pages()
|
/openbmc/u-boot/include/linux/ |
H A D | compat.h | 327 long nr_to_write; /* Write this many pages, and decrement member
|
/openbmc/linux/fs/nfs/ |
H A D | write.c | 1956 if (nscan < wbc->nr_to_write) in __nfs_commit_inode() 1957 wbc->nr_to_write -= nscan; in __nfs_commit_inode() 1959 wbc->nr_to_write = 0; in __nfs_commit_inode() 2095 .nr_to_write = 0, in nfs_wb_folio()
|
/openbmc/linux/mm/ |
H A D | page-writeback.c | 2530 wbc->nr_to_write -= nr; in write_cache_pages() 2531 if (wbc->nr_to_write <= 0 && in write_cache_pages() 2548 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in write_cache_pages() 2569 if (wbc->nr_to_write <= 0) in do_writepages()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | locking.rst | 357 ``*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.
|
/openbmc/u-boot/fs/ubifs/ |
H A D | budget.c | 56 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
|
/openbmc/linux/fs/9p/ |
H A D | vfs_file.c | 559 .nr_to_write = LONG_MAX, in v9fs_mmap_vm_close()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shmem.c | 307 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()
|
/openbmc/linux/fs/smb/client/ |
H A D | file.c | 2843 long count = wbc->nr_to_write; in cifs_write_back_from_locked_folio() 2950 wbc->nr_to_write = count; in cifs_write_back_from_locked_folio() 3073 if (ret > 0 && wbc->nr_to_write > 0) in cifs_writepages_region() 3075 } while (ret > 0 && wbc->nr_to_write > 0); in cifs_writepages_region() 3100 if (wbc->nr_to_write <= 0) { in cifs_writepages() 3114 if (wbc->nr_to_write > 0 && ret == 0) in cifs_writepages() 4998 .nr_to_write = 0, in cifs_launder_folio()
|