Home
last modified time | relevance | path

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

12

/linux-6.15/include/linux/
H A Dpagemap.h1458 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch()
1459 rac->_nr_pages -= rac->_batch_count; in __readahead_batch()
1460 rac->_index += rac->_batch_count; in __readahead_batch()
1461 rac->_batch_count = 0; in __readahead_batch()
1463 xas_set(&xas, rac->_index); in __readahead_batch()
1465 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch()
1500 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos()
1509 return rac->_nr_pages * PAGE_SIZE; in readahead_length()
1518 return rac->_index; in readahead_index()
1527 return rac->_nr_pages; in readahead_count()
[all …]
/linux-6.15/mm/
H A Dreadahead.c152 if (!readahead_count(rac)) in read_pages()
155 if (unlikely(rac->_workingset)) in read_pages()
156 psi_memstall_enter(&rac->_pflags); in read_pages()
160 aops->readahead(rac); in read_pages()
162 while ((folio = readahead_folio(rac)) != NULL) { in read_pages()
169 while ((folio = readahead_folio(rac)) != NULL) in read_pages()
170 aops->read_folio(rac->file, folio); in read_pages()
174 if (unlikely(rac->_workingset)) in read_pages()
175 psi_memstall_leave(&rac->_pflags); in read_pages()
176 rac->_workingset = false; in read_pages()
[all …]
/linux-6.15/fs/ext4/
H A Dreadpage.c212 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-6.15/fs/erofs/
H A Dfileio.c176 static void erofs_fileio_readahead(struct readahead_control *rac) in erofs_fileio_readahead() argument
178 struct inode *inode = rac->mapping->host; in erofs_fileio_readahead()
183 trace_erofs_readpages(inode, readahead_index(rac), in erofs_fileio_readahead()
184 readahead_count(rac), true); in erofs_fileio_readahead()
185 while ((folio = readahead_folio(rac))) { in erofs_fileio_readahead()
H A Dzdata.c1780 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument
1788 if (rac) in z_erofs_pcluster_readmore()
1789 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore()
1799 if (rac) { in z_erofs_pcluster_readmore()
1821 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore()
1856 struct inode *const inode = rac->mapping->host; in z_erofs_readahead()
1859 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead()
1862 z_erofs_pcluster_readmore(&f, rac, true); in z_erofs_readahead()
1863 nrpages = readahead_count(rac); in z_erofs_readahead()
1865 while ((folio = readahead_folio(rac))) { in z_erofs_readahead()
[all …]
H A Dfscache.c356 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 Ddata.c356 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument
358 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
/linux-6.15/fs/orangefs/
H 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 …]
/linux-6.15/fs/iomap/
H A Dbuffered-io.c323 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()
506 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter()
532 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument
535 .inode = rac->mapping->host, in iomap_readahead()
536 .pos = readahead_pos(rac), in iomap_readahead()
537 .len = readahead_length(rac), in iomap_readahead()
540 .rac = rac, in iomap_readahead()
543 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
/linux-6.15/fs/exfat/
H 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()
/linux-6.15/fs/gfs2/
H A Daops.c490 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-6.15/arch/arm/mach-omap2/
H A Dvc.c67 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-6.15/fs/
H 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()
/linux-6.15/fs/f2fs/
H A Ddata.c2064 return rac ? REQ_RAHEAD : 0; in f2fs_ra_op_flags()
2072 struct readahead_control *rac) in f2fs_read_single_page() argument
2148 f2fs_ra_op_flags(rac), index, in f2fs_read_single_page()
2307 f2fs_ra_op_flags(rac), in f2fs_read_multi_pages()
2375 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages()
2389 if (rac) { in f2fs_mpage_readpages()
2390 folio = readahead_folio(rac); in f2fs_mpage_readpages()
2405 rac, false); in f2fs_mpage_readpages()
2436 &bio, &last_block_in_bio, rac); in f2fs_mpage_readpages()
2455 rac, false); in f2fs_mpage_readpages()
[all …]
/linux-6.15/drivers/s390/char/
H A Dtape_3590.h83 unsigned int rac:8; member
/linux-6.15/fs/hpfs/
H 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()
/linux-6.15/fs/jfs/
H 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()
/linux-6.15/fs/omfs/
H 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()
/linux-6.15/block/
H A Dfops.c470 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument
472 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead()
511 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument
513 iomap_readahead(rac, &blkdev_iomap_ops); in blkdev_readahead()
/linux-6.15/fs/xfs/
H A Dxfs_aops.c682 struct readahead_control *rac) in xfs_vm_readahead() argument
684 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
/linux-6.15/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2hk-clocks.dtsi177 clock-output-names = "rac-01";
187 clock-output-names = "rac-23";
/linux-6.15/fs/qnx6/
H 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()
/linux-6.15/arch/arm/mm/
H A DMakefile95 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
/linux-6.15/fs/btrfs/
H A Dextent_io.h249 void btrfs_readahead(struct readahead_control *rac);
/linux-6.15/fs/zonefs/
H 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()

12