Home
last modified time | relevance | path

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

12

/linux-3.4.99/include/trace/events/
Dwriteback.h128 __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 …]
Dbtrfs.h297 __field( long, nr_to_write )
311 __entry->nr_to_write = wbc->nr_to_write;
329 __entry->nr_to_write, __entry->pages_skipped,
Dext4.h299 __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/
Dfs-writeback.c367 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/
Dwrite.c454 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/
Dswap.c441 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/
Dtrace_gfs2.h393 __field( long, nr_to_write )
400 __entry->nr_to_write = wbc->nr_to_write;
406 __entry->nr_to_write)
Dlog.c128 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()
Daops.c310 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/
Dinode.c2037 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 …]
Dfsync.c159 wbc.nr_to_write = 0; /* only write out the inode */ in ext4_sync_parent()
/linux-3.4.99/include/linux/
Dwriteback.h62 long nr_to_write; /* Write this many pages, and decrement member
/linux-3.4.99/mm/
Dpage-writeback.c1819 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()
Dmigrate.c573 .nr_to_write = 1, in writeout()
Dfilemap.c209 .nr_to_write = LONG_MAX, in __filemap_fdatawrite_range()
Dvmscan.c507 .nr_to_write = SWAP_CLUSTER_MAX, in pageout()
/linux-3.4.99/fs/nfs/
Dwrite.c1605 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/
Daddr.c925 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/
DLocking293 *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/
Dextent_io.c2793 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/
Dbudget.c63 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
/linux-3.4.99/fs/cifs/
Dfile.c1877 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/
Dcommit.c180 .nr_to_write = mapping->nrpages * 2, in journal_submit_inode_data_buffers()
/linux-3.4.99/fs/xfs/
Dxfs_aops.c755 if (--wbc->nr_to_write <= 0 && in xfs_convert_page()
/linux-3.4.99/fs/fat/
Dinode.c1558 .nr_to_write = 0, in writeback_inode()

12