/linux-3.4.99/include/trace/events/ |
D | writeback.h | 128 __field(long, nr_to_write) 141 __entry->nr_to_write = wbc->nr_to_write; 156 __entry->nr_to_write, 414 unsigned long nr_to_write 417 TP_ARGS(inode, wbc, nr_to_write), 425 __field(long, nr_to_write) 436 __entry->nr_to_write = nr_to_write; 437 __entry->wrote = nr_to_write - wbc->nr_to_write; 448 __entry->nr_to_write, 456 unsigned long nr_to_write), [all …]
|
D | btrfs.h | 297 __field( long, nr_to_write ) 311 __entry->nr_to_write = wbc->nr_to_write; 329 __entry->nr_to_write, __entry->pages_skipped,
|
D | ext4.h | 299 __field( long, nr_to_write ) 312 __entry->nr_to_write = wbc->nr_to_write; 326 (unsigned long) __entry->ino, __entry->nr_to_write,
|
/linux-3.4.99/fs/ |
D | fs-writeback.c | 367 long nr_to_write = wbc->nr_to_write; in writeback_single_inode() local 391 nr_to_write); in writeback_single_inode() 457 if (wbc->nr_to_write <= 0) { in writeback_single_inode() 490 trace_writeback_single_inode(inode, wbc, nr_to_write); in writeback_single_inode() 586 wbc.nr_to_write = write_chunk; in writeback_sb_inodes() 591 work->nr_pages -= write_chunk - wbc.nr_to_write; in writeback_sb_inodes() 592 wrote += write_chunk - wbc.nr_to_write; in writeback_sb_inodes() 1337 .nr_to_write = LONG_MAX, in write_inode_now() 1344 wbc.nr_to_write = 0; in write_inode_now() 1394 .nr_to_write = 0, /* metadata-only */ in sync_inode_metadata()
|
/linux-3.4.99/fs/afs/ |
D | write.c | 454 wbc->nr_to_write -= ret; in afs_writepage() 524 wbc->nr_to_write -= ret; in afs_writepages_region() 527 } while (index < end && wbc->nr_to_write > 0); in afs_writepages_region() 549 if (start > 0 && wbc->nr_to_write > 0 && ret == 0) in afs_writepages() 556 if (wbc->nr_to_write > 0) in afs_writepages() 665 .nr_to_write = LONG_MAX, in afs_writeback_all()
|
/linux-3.4.99/kernel/power/ |
D | swap.c | 441 unsigned int nr_to_write) in save_image() argument 452 nr_to_write); in save_image() 453 m = nr_to_write / 100; in save_image() 478 swsusp_show_speed(&start, &stop, nr_to_write, "Wrote"); in save_image() 577 unsigned int nr_to_write) in save_image_lzo() argument 672 nr_threads, nr_to_write); in save_image_lzo() 673 m = nr_to_write / 100; in save_image_lzo() 769 swsusp_show_speed(&start, &stop, nr_to_write, "Wrote"); in save_image_lzo()
|
/linux-3.4.99/fs/gfs2/ |
D | trace_gfs2.h | 393 __field( long, nr_to_write ) 400 __entry->nr_to_write = wbc->nr_to_write; 406 __entry->nr_to_write)
|
D | log.c | 128 if (wbc->nr_to_write <= 0) in gfs2_ail1_start_one() 155 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush() 173 .nr_to_write = LONG_MAX, in gfs2_ail1_start()
|
D | aops.c | 310 if (ret || (--(wbc->nr_to_write) <= 0)) in gfs2_write_jdata_pagevec() 379 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in gfs2_write_cache_jdata()
|
/linux-3.4.99/fs/ext4/ |
D | inode.c | 2037 long nr_to_write = wbc->nr_to_write; in write_cache_pages_da() local 2157 if (nr_to_write > 0) { in write_cache_pages_da() 2158 nr_to_write--; in write_cache_pages_da() 2159 if (nr_to_write == 0 && in write_cache_pages_da() 2264 if (wbc->nr_to_write == LONG_MAX) in ext4_da_writepages() 2265 desired_nr_to_write = wbc->nr_to_write; in ext4_da_writepages() 2267 desired_nr_to_write = wbc->nr_to_write * 8; in ext4_da_writepages() 2274 if (wbc->nr_to_write < desired_nr_to_write) { in ext4_da_writepages() 2275 nr_to_writebump = desired_nr_to_write - wbc->nr_to_write; in ext4_da_writepages() 2276 wbc->nr_to_write = desired_nr_to_write; in ext4_da_writepages() [all …]
|
D | fsync.c | 159 wbc.nr_to_write = 0; /* only write out the inode */ in ext4_sync_parent()
|
/linux-3.4.99/include/linux/ |
D | writeback.h | 62 long nr_to_write; /* Write this many pages, and decrement member
|
/linux-3.4.99/mm/ |
D | page-writeback.c | 1819 if (--wbc->nr_to_write <= 0 && in write_cache_pages() 1839 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in write_cache_pages() 1889 if (wbc->nr_to_write <= 0) in do_writepages() 1913 .nr_to_write = 1, in write_one_page()
|
D | migrate.c | 573 .nr_to_write = 1, in writeout()
|
D | filemap.c | 209 .nr_to_write = LONG_MAX, in __filemap_fdatawrite_range()
|
D | vmscan.c | 507 .nr_to_write = SWAP_CLUSTER_MAX, in pageout()
|
/linux-3.4.99/fs/nfs/ |
D | write.c | 1605 if (ret < wbc->nr_to_write) in nfs_commit_unstable_pages() 1606 wbc->nr_to_write -= ret; in nfs_commit_unstable_pages() 1608 wbc->nr_to_write = 0; in nfs_commit_unstable_pages() 1649 .nr_to_write = LONG_MAX, in nfs_wb_all() 1696 .nr_to_write = 0, in nfs_wb_page()
|
/linux-3.4.99/fs/ceph/ |
D | addr.c | 925 wbc->nr_to_write -= locked_pages; in ceph_writepages_start() 926 if (wbc->nr_to_write <= 0) in ceph_writepages_start() 946 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in ceph_writepages_start()
|
/linux-3.4.99/Documentation/filesystems/ |
D | Locking | 293 *nr_to_write pages. *nr_to_write must be decremented for each page which is 295 than *nr_to_write asks for, but it should try to be reasonably close. If 296 nr_to_write is NULL, all dirty pages must be written.
|
/linux-3.4.99/fs/btrfs/ |
D | extent_io.c | 2793 wbc->nr_to_write -= nr_written; in update_nr_written() 2794 if (wbc->range_cyclic || (wbc->nr_to_write > 0 && in update_nr_written() 2914 if (wbc->nr_to_write < delalloc_to_write) { in __extent_writepage() 2919 wbc->nr_to_write = min_t(u64, delalloc_to_write, in __extent_writepage() 2933 wbc->nr_to_write -= nr_written; in __extent_writepage() 3327 nr_to_write_done = wbc->nr_to_write <= 0; in btree_write_cache_pages() 3456 nr_to_write_done = wbc->nr_to_write <= 0; in extent_write_cache_pages() 3532 .nr_to_write = nr_pages * 2, in extent_write_locked_range()
|
/linux-3.4.99/fs/ubifs/ |
D | budget.c | 63 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
|
/linux-3.4.99/fs/cifs/ |
D | file.c | 1877 wbc->nr_to_write -= nr_pages; in cifs_writepages() 1878 if (wbc->nr_to_write <= 0) in cifs_writepages() 1894 if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) in cifs_writepages() 3012 .nr_to_write = 0, in cifs_launder_page()
|
/linux-3.4.99/fs/jbd2/ |
D | commit.c | 180 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
|
/linux-3.4.99/fs/xfs/ |
D | xfs_aops.c | 755 if (--wbc->nr_to_write <= 0 && in xfs_convert_page()
|
/linux-3.4.99/fs/fat/ |
D | inode.c | 1558 .nr_to_write = 0, in writeback_inode()
|