Home
last modified time | relevance | path

Searched refs:rac (Results 1 – 25 of 30) sorted by relevance

12

/fs/ext4/
A Dreadpage.c212 struct readahead_control *rac, struct folio *folio) in ext4_mpage_readpages() argument
237 nr_pages = rac ? readahead_count(rac) : folio_nr_pages(folio); in ext4_mpage_readpages()
243 if (rac) in ext4_mpage_readpages()
244 folio = readahead_folio(rac); in ext4_mpage_readpages()
366 if (rac) in ext4_mpage_readpages()
/fs/erofs/
A Dfileio.c172 static void erofs_fileio_readahead(struct readahead_control *rac) in erofs_fileio_readahead() argument
174 struct inode *inode = rac->mapping->host; in erofs_fileio_readahead()
179 trace_erofs_readahead(inode, readahead_index(rac), in erofs_fileio_readahead()
180 readahead_count(rac), true); in erofs_fileio_readahead()
181 while ((folio = readahead_folio(rac))) { in erofs_fileio_readahead()
A Dzdata.c1823 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument
1831 if (rac) in z_erofs_pcluster_readmore()
1832 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore()
1842 if (rac) { in z_erofs_pcluster_readmore()
1844 readahead_expand(rac, headoffset, cur - headoffset); in z_erofs_pcluster_readmore()
1864 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore()
1899 struct inode *const inode = rac->mapping->host; in z_erofs_readahead()
1901 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead()
1906 z_erofs_pcluster_readmore(&f, rac, true); in z_erofs_readahead()
1907 while ((folio = readahead_folio(rac))) { in z_erofs_readahead()
[all …]
A Ddata.c377 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument
379 trace_erofs_readahead(rac->mapping->host, readahead_index(rac), in erofs_readahead()
380 readahead_count(rac), true); in erofs_readahead()
382 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
A Dfscache.c355 static void erofs_fscache_readahead(struct readahead_control *rac) in erofs_fscache_readahead() argument
359 if (!readahead_count(rac)) in erofs_fscache_readahead()
362 req = erofs_fscache_req_alloc(rac->mapping, in erofs_fscache_readahead()
363 readahead_pos(rac), readahead_length(rac)); in erofs_fscache_readahead()
368 while (readahead_folio(rac)) in erofs_fscache_readahead()
/fs/orangefs/
A Dinode.c217 static void orangefs_readahead(struct readahead_control *rac) in orangefs_readahead() argument
221 struct inode *inode = rac->mapping->host; in orangefs_readahead()
224 loff_t new_start = readahead_pos(rac); in orangefs_readahead()
228 loff_t bytes_remaining = inode->i_size - readahead_pos(rac); in orangefs_readahead()
233 else if (pages_remaining > readahead_count(rac)) in orangefs_readahead()
237 readahead_expand(rac, new_start, new_len); in orangefs_readahead()
239 offset = readahead_pos(rac); in orangefs_readahead()
240 i_pages = &rac->mapping->i_pages; in orangefs_readahead()
246 &offset, &iter, readahead_length(rac), in orangefs_readahead()
247 inode->i_size, NULL, NULL, rac->file)) < 0) in orangefs_readahead()
[all …]
/fs/iomap/
A Dbuffered-io.c357 struct readahead_control *rac; member
409 if (ctx->rac) /* same as readahead_gfp_mask */ in iomap_readpage_iter()
422 if (ctx->rac) in iomap_readpage_iter()
501 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter()
527 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument
530 .inode = rac->mapping->host, in iomap_readahead()
531 .pos = readahead_pos(rac), in iomap_readahead()
532 .len = readahead_length(rac), in iomap_readahead()
535 .rac = rac, in iomap_readahead()
538 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
/fs/exfat/
A Dinode.c413 static void exfat_readahead(struct readahead_control *rac) in exfat_readahead() argument
415 struct address_space *mapping = rac->mapping; in exfat_readahead()
418 loff_t pos = readahead_pos(rac); in exfat_readahead()
423 ei->valid_size < pos + readahead_length(rac)) in exfat_readahead()
426 mpage_readahead(rac, exfat_get_block); in exfat_readahead()
/fs/gfs2/
A Daops.c496 static void gfs2_readahead(struct readahead_control *rac) in gfs2_readahead() argument
498 struct inode *inode = rac->mapping->host; in gfs2_readahead()
504 mpage_readahead(rac, gfs2_block_map); in gfs2_readahead()
506 iomap_readahead(rac, &gfs2_iomap_ops); in gfs2_readahead()
/fs/f2fs/
A Ddata.c2066 return rac ? REQ_RAHEAD : 0; in f2fs_ra_op_flags()
2074 struct readahead_control *rac) in f2fs_read_single_page() argument
2150 f2fs_ra_op_flags(rac), index, in f2fs_read_single_page()
2308 f2fs_ra_op_flags(rac), in f2fs_read_multi_pages()
2376 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages()
2382 index = rac ? readahead_index(rac) : folio->index; in f2fs_mpage_readpages()
2398 if (rac) { in f2fs_mpage_readpages()
2399 folio = readahead_folio(rac); in f2fs_mpage_readpages()
2414 rac, false); in f2fs_mpage_readpages()
2464 rac, false); in f2fs_mpage_readpages()
[all …]
/fs/
A Dmpage.c359 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument
367 while ((folio = readahead_folio(rac))) { in mpage_readahead()
370 args.nr_pages = readahead_count(rac); in mpage_readahead()
/fs/hpfs/
A Dfile.c166 static void hpfs_readahead(struct readahead_control *rac) in hpfs_readahead() argument
168 mpage_readahead(rac, hpfs_get_block); in hpfs_readahead()
/fs/omfs/
A Dfile.c292 static void omfs_readahead(struct readahead_control *rac) in omfs_readahead() argument
294 mpage_readahead(rac, omfs_get_block); in omfs_readahead()
/fs/jfs/
A Dinode.c278 static void jfs_readahead(struct readahead_control *rac) in jfs_readahead() argument
280 mpage_readahead(rac, jfs_get_block); in jfs_readahead()
/fs/qnx6/
A Dinode.c103 static void qnx6_readahead(struct readahead_control *rac) in qnx6_readahead() argument
105 mpage_readahead(rac, qnx6_get_block); in qnx6_readahead()
/fs/xfs/
A Dxfs_aops.c750 struct readahead_control *rac) in xfs_vm_readahead() argument
752 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
/fs/zonefs/
A Dfile.c118 static void zonefs_readahead(struct readahead_control *rac) in zonefs_readahead() argument
120 iomap_readahead(rac, &zonefs_read_iomap_ops); in zonefs_readahead()
/fs/ntfs3/
A Dinode.c746 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument
748 struct address_space *mapping = rac->mapping; in ntfs_readahead()
765 pos = readahead_pos(rac); in ntfs_readahead()
768 valid < pos + readahead_length(rac)) { in ntfs_readahead()
773 mpage_readahead(rac, ntfs_get_block); in ntfs_readahead()
/fs/btrfs/
A Dextent_io.h244 void btrfs_readahead(struct readahead_control *rac);
A Dextent_io.c2582 void btrfs_readahead(struct readahead_control *rac) in btrfs_readahead() argument
2586 .ractl = rac in btrfs_readahead()
2589 struct btrfs_inode *inode = BTRFS_I(rac->mapping->host); in btrfs_readahead()
2590 const u64 start = readahead_pos(rac); in btrfs_readahead()
2591 const u64 end = start + readahead_length(rac) - 1; in btrfs_readahead()
2598 while ((folio = readahead_folio(rac)) != NULL) in btrfs_readahead()
/fs/fuse/
A Dfile.c931 static void fuse_readahead(struct readahead_control *rac) in fuse_readahead() argument
933 struct inode *inode = rac->mapping->host; in fuse_readahead()
953 nr_pages = readahead_count(rac); in fuse_readahead()
962 rac->ra->async_size >= readahead_count(rac)) in fuse_readahead()
985 folio = __readahead_folio(rac); in fuse_readahead()
1003 fuse_send_readpages(ia, rac->file, pages << PAGE_SHIFT); in fuse_readahead()
/fs/ocfs2/
A Daops.c334 static void ocfs2_readahead(struct readahead_control *rac) in ocfs2_readahead() argument
337 struct inode *inode = rac->mapping->host; in ocfs2_readahead()
362 if (readahead_pos(rac) >= i_size_read(inode)) in ocfs2_readahead()
365 mpage_readahead(rac, ocfs2_get_block); in ocfs2_readahead()
/fs/nilfs2/
A Dinode.c154 static void nilfs_readahead(struct readahead_control *rac) in nilfs_readahead() argument
156 mpage_readahead(rac, nilfs_get_block); in nilfs_readahead()
/fs/isofs/
A Dinode.c1147 static void isofs_readahead(struct readahead_control *rac) in isofs_readahead() argument
1149 mpage_readahead(rac, isofs_get_block); in isofs_readahead()
/fs/ext2/
A Dinode.c922 static void ext2_readahead(struct readahead_control *rac) in ext2_readahead() argument
924 mpage_readahead(rac, ext2_get_block); in ext2_readahead()

Completed in 98 milliseconds

12