/linux/mm/ |
H A D | readahead.c | 147 static void read_pages(struct readahead_control *rac) in read_pages() argument 149 const struct address_space_operations *aops = rac->mapping->a_ops; in read_pages() 153 if (!readahead_count(rac)) in read_pages() 156 if (unlikely(rac->_workingset)) in read_pages() 157 psi_memstall_enter(&rac->_pflags); in read_pages() 161 aops->readahead(rac); in read_pages() 163 while ((folio = readahead_folio(rac)) != NULL) { in read_pages() 170 while ((folio = readahead_folio(rac)) != NULL) in read_pages() 171 aops->read_folio(rac->file, folio); in read_pages() 175 if (unlikely(rac->_workingset)) in read_pages() [all …]
|
/linux/fs/ext4/ |
H A D | readpage.c | 212 struct readahead_control *rac, struct folio *folio) in ext4_mpage_readpages() argument 230 unsigned int nr_pages = rac ? readahead_count(rac) : 1; in ext4_mpage_readpages() 241 if (rac) in ext4_mpage_readpages() 242 folio = readahead_folio(rac); in ext4_mpage_readpages() 360 if (rac) in ext4_mpage_readpages()
|
/linux/fs/erofs/ |
H A D | fileio.c | 174 static void erofs_fileio_readahead(struct readahead_control *rac) in erofs_fileio_readahead() argument 176 struct inode *inode = rac->mapping->host; in erofs_fileio_readahead() 181 trace_erofs_readpages(inode, readahead_index(rac), in erofs_fileio_readahead() 182 readahead_count(rac), true); in erofs_fileio_readahead() 183 while ((folio = readahead_folio(rac))) { in erofs_fileio_readahead()
|
H A D | zdata.c | 1784 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument 1792 if (rac) in z_erofs_pcluster_readmore() 1793 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore() 1803 if (rac) { in z_erofs_pcluster_readmore() 1805 readahead_expand(rac, headoffset, cur - headoffset); in z_erofs_pcluster_readmore() 1825 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore() 1858 static void z_erofs_readahead(struct readahead_control *rac) in z_erofs_readahead() argument 1860 struct inode *const inode = rac->mapping->host; in z_erofs_readahead() 1861 Z_EROFS_DEFINE_FRONTEND(f, inode, readahead_pos(rac)); in z_erofs_readahead() 1863 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead() [all …]
|
H A D | fscache.c | 356 static void erofs_fscache_readahead(struct readahead_control *rac) in erofs_fscache_readahead() argument 360 if (!readahead_count(rac)) in erofs_fscache_readahead() 363 req = erofs_fscache_req_alloc(rac->mapping, in erofs_fscache_readahead() 364 readahead_pos(rac), readahead_length(rac)); in erofs_fscache_readahead() 369 while (readahead_folio(rac)) in erofs_fscache_readahead()
|
H A D | data.c | 376 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument 378 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
|
/linux/fs/orangefs/ |
H A D | inode.c | 239 static void orangefs_readahead(struct readahead_control *rac) in orangefs_readahead() argument 243 struct inode *inode = rac->mapping->host; in orangefs_readahead() 246 loff_t new_start = readahead_pos(rac); in orangefs_readahead() 250 loff_t bytes_remaining = inode->i_size - readahead_pos(rac); in orangefs_readahead() 255 else if (pages_remaining > readahead_count(rac)) in orangefs_readahead() 259 readahead_expand(rac, new_start, new_len); in orangefs_readahead() 261 offset = readahead_pos(rac); in orangefs_readahead() 262 i_pages = &rac->mapping->i_pages; in orangefs_readahead() 264 iov_iter_xarray(&iter, ITER_DEST, i_pages, offset, readahead_length(rac)); in orangefs_readahead() 268 &offset, &iter, readahead_length(rac), in orangefs_readahead() [all …]
|
/linux/fs/iomap/ |
H A D | buffered-io.c | 327 struct readahead_control *rac; member 414 if (ctx->rac) /* same as readahead_gfp_mask */ in iomap_readpage_iter() 427 if (ctx->rac) in iomap_readpage_iter() 510 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter() 536 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument 539 .inode = rac->mapping->host, in iomap_readahead() 540 .pos = readahead_pos(rac), in iomap_readahead() 541 .len = readahead_length(rac), in iomap_readahead() 544 .rac = rac, in iomap_readahead() 547 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
|
/linux/fs/exfat/ |
H A D | inode.c | 389 static void exfat_readahead(struct readahead_control *rac) in exfat_readahead() argument 391 struct address_space *mapping = rac->mapping; in exfat_readahead() 394 loff_t pos = readahead_pos(rac); in exfat_readahead() 399 ei->valid_size < pos + readahead_length(rac)) in exfat_readahead() 402 mpage_readahead(rac, exfat_get_block); in exfat_readahead()
|
/linux/fs/gfs2/ |
H A D | aops.c | 490 static void gfs2_readahead(struct readahead_control *rac) in gfs2_readahead() argument 492 struct inode *inode = rac->mapping->host; in gfs2_readahead() 498 mpage_readahead(rac, gfs2_block_map); in gfs2_readahead() 500 iomap_readahead(rac, &gfs2_iomap_ops); in gfs2_readahead()
|
/linux/arch/arm/mach-omap2/ |
H A D | vc.c | 67 u8 rac; member 75 .rac = BIT(2), 89 .rac = BIT(3), 851 vc->cfg_channel |= vc_cfg_bits->rac; in omap_vc_init_channel()
|
/linux/fs/hpfs/ |
H A D | file.c | 166 static void hpfs_readahead(struct readahead_control *rac) in hpfs_readahead() argument 168 mpage_readahead(rac, hpfs_get_block); in hpfs_readahead()
|
/linux/drivers/s390/char/ |
H A D | tape_3590.h | 83 unsigned int rac:8; member
|
/linux/fs/jfs/ |
H A D | inode.c | 278 static void jfs_readahead(struct readahead_control *rac) in jfs_readahead() argument 280 mpage_readahead(rac, jfs_get_block); in jfs_readahead()
|
/linux/fs/omfs/ |
H A D | file.c | 292 static void omfs_readahead(struct readahead_control *rac) in omfs_readahead() argument 294 mpage_readahead(rac, omfs_get_block); in omfs_readahead()
|
/linux/fs/xfs/ |
H A D | xfs_aops.c | 526 struct readahead_control *rac) in xfs_vm_readahead() argument 528 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
|
/linux/arch/arm/boot/dts/ti/keystone/ |
H A D | keystone-k2hk-clocks.dtsi | 177 clock-output-names = "rac-01"; 187 clock-output-names = "rac-23";
|
H A D | keystone-k2l-clocks.dtsi | 108 clock-output-names = "rac";
|
/linux/fs/qnx6/ |
H A D | inode.c | 103 static void qnx6_readahead(struct readahead_control *rac) in qnx6_readahead() argument 105 mpage_readahead(rac, qnx6_get_block); in qnx6_readahead()
|
/linux/fs/fuse/ |
H A D | file.c | 1005 static void fuse_readahead(struct readahead_control *rac) in fuse_readahead() argument 1007 struct inode *inode = rac->mapping->host; in fuse_readahead() 1011 pgoff_t first = readahead_index(rac); in fuse_readahead() 1012 pgoff_t last = first + readahead_count(rac) - 1; in fuse_readahead() 1031 nr_pages = readahead_count(rac); in fuse_readahead() 1040 rac->ra->async_size >= readahead_count(rac)) in fuse_readahead() 1060 folio = __readahead_folio(rac); in fuse_readahead() 1065 fuse_send_readpages(ia, rac->file); in fuse_readahead()
|
/linux/fs/zonefs/ |
H A D | file.c | 118 static void zonefs_readahead(struct readahead_control *rac) in zonefs_readahead() argument 120 iomap_readahead(rac, &zonefs_read_iomap_ops); in zonefs_readahead()
|
/linux/fs/btrfs/ |
H A D | extent_io.h | 249 void btrfs_readahead(struct readahead_control *rac);
|
/linux/fs/ntfs3/ |
H A D | inode.c | 746 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()
|
/linux/fs/ocfs2/ |
H A D | aops.c | 341 static void ocfs2_readahead(struct readahead_control *rac) 344 struct inode *inode = rac->mapping->host; 369 if (readahead_pos(rac) >= i_size_read(inode)) in ocfs2_readahead() 372 mpage_readahead(rac, ocfs2_get_block); in ocfs2_readahead() 349 ocfs2_readahead(struct readahead_control * rac) ocfs2_readahead() argument
|
/linux/fs/nilfs2/ |
H A D | inode.c | 154 static void nilfs_readahead(struct readahead_control *rac) in nilfs_readahead() argument 156 mpage_readahead(rac, nilfs_get_block); in nilfs_readahead()
|