/openbmc/linux/fs/ramfs/ |
H A D | file-nommu.c | 206 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()
|
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 218 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()
|
/openbmc/linux/fs/nilfs2/ |
H A D | page.c | 495 unsigned int i, nr_folios; in nilfs_find_uncommitted_extent() local 509 nr_folios = filemap_get_folios_contig(inode->i_mapping, &index, ULONG_MAX, in nilfs_find_uncommitted_extent() 511 if (nr_folios == 0) in nilfs_find_uncommitted_extent() 542 } while (++i < nr_folios); in nilfs_find_uncommitted_extent()
|
/openbmc/linux/fs/f2fs/ |
H A D | node.c | 1559 int nr_folios; in last_fsync_dnode() local 1564 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in last_fsync_dnode() 1569 for (i = 0; i < nr_folios; i++) { in last_fsync_dnode() 1778 int nr_folios; in f2fs_fsync_node_pages() local 1790 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in f2fs_fsync_node_pages() 1795 for (i = 0; i < nr_folios; i++) { in f2fs_fsync_node_pages() 1933 int nr_folios; in f2fs_flush_inline_data() local 1937 while ((nr_folios = filemap_get_folios_tag(NODE_MAPPING(sbi), &index, in f2fs_flush_inline_data() 1942 for (i = 0; i < nr_folios; i++) { in f2fs_flush_inline_data() 1984 int nr_folios, done = 0; in f2fs_sync_node_pages() local [all …]
|
H A D | checkpoint.c | 412 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()
|
H A D | data.c | 2955 int nr_folios, p, idx; in f2fs_write_cache_pages() local 3005 nr_folios = filemap_get_folios_tag(mapping, &index, end, in f2fs_write_cache_pages() 3007 if (nr_folios == 0) { in f2fs_write_cache_pages() 3013 for (i = 0; i < nr_folios; i++) { in f2fs_write_cache_pages()
|
/openbmc/linux/fs/ceph/ |
H A D | addr.c | 1025 unsigned i, nr_folios, max_pages, locked_pages = 0; in ceph_writepages_start() 1035 nr_folios = filemap_get_folios_tag(mapping, &index, in ceph_writepages_start() 1037 dout("pagevec_lookup_range_tag got %d\n", nr_folios); in ceph_writepages_start() 1038 if (!nr_folios && !locked_pages) in ceph_writepages_start() 1040 for (i = 0; i < nr_folios && locked_pages < max_pages; i++) { in ceph_writepages_start() 1191 for (j = 0; j < nr_folios; j++) { in ceph_writepages_start() 1200 if (nr_folios && i == nr_folios && in ceph_writepages_start() 1023 unsigned i, nr_folios, max_pages, locked_pages = 0; ceph_writepages_start() local
|
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | 1859 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()
|
/openbmc/linux/mm/ |
H A D | page-writeback.c | 2424 int nr_folios; in write_cache_pages() local 2451 nr_folios = filemap_get_folios_tag(mapping, &index, end, in write_cache_pages() 2454 if (nr_folios == 0) in write_cache_pages() 2457 for (i = 0; i < nr_folios; i++) { in write_cache_pages()
|
H A D | filemap.c | 509 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()
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.c | 1870 unsigned int nr_folios; in btree_write_cache_pages() local 1899 (nr_folios = filemap_get_folios_tag(mapping, &index, end, in btree_write_cache_pages() 1903 for (i = 0; i < nr_folios; i++) { in btree_write_cache_pages() 1998 unsigned int nr_folios; in extent_write_cache_pages() local 2056 (nr_folios = filemap_get_folios_tag(mapping, &index, in extent_write_cache_pages() 2060 for (i = 0; i < nr_folios; i++) { in extent_write_cache_pages()
|
/openbmc/linux/fs/ext4/ |
H A D | inode.c | 2394 unsigned int nr_folios; in mpage_prepare_extent_to_map() local 2420 nr_folios = filemap_get_folios_tag(mapping, &index, end, in mpage_prepare_extent_to_map() 2422 if (nr_folios == 0) in mpage_prepare_extent_to_map() 2425 for (i = 0; i < nr_folios; i++) { in mpage_prepare_extent_to_map()
|