Home
last modified time | relevance | path

Searched refs:nr_folios (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/fs/ramfs/
Dfile-nommu.c206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local
227 nr_folios = filemap_get_folios_contig(inode->i_mapping, &pgoff, in ramfs_nommu_get_unmapped_area()
229 if (!nr_folios) { in ramfs_nommu_get_unmapped_area()
239 for (loop = 0; loop < nr_folios; loop++) { in ramfs_nommu_get_unmapped_area()
/linux-6.6.21/fs/gfs2/
Daops.c218 int nr_folios = folio_batch_count(fbatch); in gfs2_write_jdata_batch() local
220 for (i = 0; i < nr_folios; i++) in gfs2_write_jdata_batch()
228 for (i = 0; i < nr_folios; i++) { in gfs2_write_jdata_batch()
313 int nr_folios; in gfs2_write_cache_jdata() local
348 nr_folios = filemap_get_folios_tag(mapping, &index, end, in gfs2_write_cache_jdata()
350 if (nr_folios == 0) in gfs2_write_cache_jdata()
/linux-6.6.21/fs/nilfs2/
Dpage.c492 unsigned int i, nr_folios; in nilfs_find_uncommitted_extent() local
506 nr_folios = filemap_get_folios_contig(inode->i_mapping, &index, ULONG_MAX, in nilfs_find_uncommitted_extent()
508 if (nr_folios == 0) in nilfs_find_uncommitted_extent()
539 } while (++i < nr_folios); in nilfs_find_uncommitted_extent()
/linux-6.6.21/fs/f2fs/
Dnode.c1536 int nr_folios; in last_fsync_dnode() local
1541 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in last_fsync_dnode()
1546 for (i = 0; i < nr_folios; i++) { in last_fsync_dnode()
1755 int nr_folios; in f2fs_fsync_node_pages() local
1767 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in f2fs_fsync_node_pages()
1772 for (i = 0; i < nr_folios; i++) { in f2fs_fsync_node_pages()
1910 int nr_folios; in f2fs_flush_inline_data() local
1914 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in f2fs_flush_inline_data()
1919 for (i = 0; i < nr_folios; i++) { in f2fs_flush_inline_data()
1961 int nr_folios, done = 0; in f2fs_sync_node_pages() local
[all …]
Dcheckpoint.c412 int nr_folios; in f2fs_sync_meta_pages() local
422 while ((nr_folios = filemap_get_folios_tag(mapping, &index, in f2fs_sync_meta_pages()
427 for (i = 0; i < nr_folios; i++) { in f2fs_sync_meta_pages()
Ddata.c3052 int nr_folios, p, idx; in f2fs_write_cache_pages() local
3102 nr_folios = filemap_get_folios_tag(mapping, &index, end, in f2fs_write_cache_pages()
3104 if (nr_folios == 0) { in f2fs_write_cache_pages()
3110 for (i = 0; i < nr_folios; i++) { in f2fs_write_cache_pages()
/linux-6.6.21/fs/ceph/
Daddr.c1019 unsigned i, nr_folios, max_pages, locked_pages = 0; in ceph_writepages_start() local
1029 nr_folios = filemap_get_folios_tag(mapping, &index, in ceph_writepages_start()
1031 dout("pagevec_lookup_range_tag got %d\n", nr_folios); in ceph_writepages_start()
1032 if (!nr_folios && !locked_pages) in ceph_writepages_start()
1034 for (i = 0; i < nr_folios && locked_pages < max_pages; i++) { in ceph_writepages_start()
1185 for (j = 0; j < nr_folios; j++) { in ceph_writepages_start()
1194 if (nr_folios && i == nr_folios && in ceph_writepages_start()
/linux-6.6.21/fs/erofs/
Dzdata.c1859 unsigned int nr_folios; in z_erofs_readahead() local
1865 nr_folios = readahead_count(rac); in z_erofs_readahead()
1866 trace_erofs_readpages(inode, readahead_index(rac), nr_folios, false); in z_erofs_readahead()
1886 z_erofs_runqueue(&f, z_erofs_is_sync_decompress(sbi, nr_folios), true); in z_erofs_readahead()
/linux-6.6.21/mm/
Dpage-writeback.c2402 int nr_folios; in write_cache_pages() local
2429 nr_folios = filemap_get_folios_tag(mapping, &index, end, in write_cache_pages()
2432 if (nr_folios == 0) in write_cache_pages()
2435 for (i = 0; i < nr_folios; i++) { in write_cache_pages()
Dfilemap.c509 unsigned nr_folios; in __filemap_fdatawait_range() local
516 nr_folios = filemap_get_folios_tag(mapping, &index, end, in __filemap_fdatawait_range()
519 if (!nr_folios) in __filemap_fdatawait_range()
522 for (i = 0; i < nr_folios; i++) { in __filemap_fdatawait_range()
/linux-6.6.21/fs/btrfs/
Dextent_io.c1880 unsigned int nr_folios; in btree_write_cache_pages() local
1909 (nr_folios = filemap_get_folios_tag(mapping, &index, end, in btree_write_cache_pages()
1913 for (i = 0; i < nr_folios; i++) { in btree_write_cache_pages()
2008 unsigned int nr_folios; in extent_write_cache_pages() local
2066 (nr_folios = filemap_get_folios_tag(mapping, &index, in extent_write_cache_pages()
2070 for (i = 0; i < nr_folios; i++) { in extent_write_cache_pages()
/linux-6.6.21/fs/ext4/
Dinode.c2374 unsigned int nr_folios; in mpage_prepare_extent_to_map() local
2400 nr_folios = filemap_get_folios_tag(mapping, &index, end, in mpage_prepare_extent_to_map()
2402 if (nr_folios == 0) in mpage_prepare_extent_to_map()
2405 for (i = 0; i < nr_folios; i++) { in mpage_prepare_extent_to_map()