| /linux/include/linux/ |
| H A D | pagemap.h | 1459 static inline unsigned int __readahead_batch(struct readahead_control *rac, in __readahead_batch() argument 1463 XA_STATE(xas, &rac->mapping->i_pages, 0); in __readahead_batch() 1466 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch() 1467 rac->_nr_pages -= rac->_batch_count; in __readahead_batch() 1468 rac->_index += rac->_batch_count; in __readahead_batch() 1469 rac->_batch_count = 0; in __readahead_batch() 1471 xas_set(&xas, rac->_index); in __readahead_batch() 1473 xas_for_each(&xas, folio, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 1478 rac->_batch_count += folio_nr_pages(folio); in __readahead_batch() 1491 static inline loff_t readahead_pos(const struct readahead_control *rac) in readahead_pos() argument [all …]
|
| /linux/fs/erofs/ |
| H A D | fileio.c | 172 static void erofs_fileio_readahead(struct readahead_control *rac) in erofs_fileio_readahead() argument 175 struct inode *realinode = erofs_real_inode(rac->mapping->host, &need_iput); in erofs_fileio_readahead() 180 trace_erofs_readahead(realinode, readahead_index(rac), in erofs_fileio_readahead() 181 readahead_count(rac), true); in erofs_fileio_readahead() 182 while ((folio = readahead_folio(rac))) { in erofs_fileio_readahead()
|
| H A D | fscache.c | 342 static void erofs_fscache_readahead(struct readahead_control *rac) in erofs_fscache_readahead() argument 346 if (!readahead_count(rac)) in erofs_fscache_readahead() 349 req = erofs_fscache_req_alloc(rac->mapping, in erofs_fscache_readahead() 350 readahead_pos(rac), readahead_length(rac)); in erofs_fscache_readahead() 355 while (readahead_folio(rac)) in erofs_fscache_readahead()
|
| H A D | zdata.c | 1829 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument 1837 if (rac) in z_erofs_pcluster_readmore() 1838 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore() 1848 if (rac) { in z_erofs_pcluster_readmore() 1850 readahead_expand(rac, headoffset, cur - headoffset); in z_erofs_pcluster_readmore() 1870 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore() 1908 static void z_erofs_readahead(struct readahead_control *rac) in z_erofs_readahead() argument 1910 struct inode *sharedinode = rac->mapping->host; in z_erofs_readahead() 1913 Z_EROFS_DEFINE_FRONTEND(f, realinode, sharedinode, readahead_pos(rac)); in z_erofs_readahead() 1914 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead() [all …]
|
| /linux/fs/ntfs/ |
| H A D | aops.c | 225 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument 227 struct address_space *mapping = rac->mapping; in ntfs_readahead() 232 .rac = rac, in ntfs_readahead()
|
| /linux/fs/iomap/ |
| H A D | bio.c | 114 if (ctx->rac) in iomap_read_alloc_bio() 127 if (ctx->rac) in iomap_read_alloc_bio()
|
| H A D | buffered-io.c | 624 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter() 656 struct readahead_control *rac = ctx->rac; in iomap_readahead() local 658 .inode = rac->mapping->host, in iomap_readahead() 659 .pos = readahead_pos(rac), in iomap_readahead() 660 .len = readahead_length(rac), in iomap_readahead() 665 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_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/ |
| H A D | mpage.c | 358 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument 366 while ((folio = readahead_folio(rac))) { in mpage_readahead() 369 args.nr_pages = readahead_count(rac); in mpage_readahead()
|
| /linux/fs/hpfs/ |
| H A D | file.c | 168 static void hpfs_readahead(struct readahead_control *rac) in hpfs_readahead() argument 170 mpage_readahead(rac, hpfs_get_block); in hpfs_readahead()
|
| /linux/block/ |
| H A D | fops.c | 497 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 499 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead() 542 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 544 iomap_bio_readahead(rac, &blkdev_iomap_ops); in blkdev_readahead()
|
| /linux/fs/fuse/ |
| H A D | file.c | 886 struct readahead_control *rac, in fuse_handle_readahead() argument 906 rac->ra->async_size >= readahead_count(rac)) in fuse_handle_readahead() 913 nr_pages = min(fc->max_pages, readahead_count(rac)); in fuse_handle_readahead() 941 if (ctx->rac) { in fuse_iomap_read_folio_range_async() 942 ret = fuse_handle_readahead(folio, ctx->rac, data, pos, len); in fuse_iomap_read_folio_range_async() 1074 static void fuse_readahead(struct readahead_control *rac) in fuse_readahead() argument 1076 struct inode *inode = rac->mapping->host; in fuse_readahead() 1079 .file = rac->file, in fuse_readahead() 1084 .rac = rac, in fuse_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/arch/arm/mm/ |
| H A D | Makefile | 95 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
|
| /linux/fs/btrfs/ |
| H A D | extent_io.h | 265 void btrfs_readahead(struct readahead_control *rac);
|
| H A D | extent_io.c | 2690 void btrfs_readahead(struct readahead_control *rac) in btrfs_readahead() argument 2694 .ractl = rac, in btrfs_readahead() 2698 struct inode *vfs_inode = rac->mapping->host; in btrfs_readahead() 2700 const u64 start = readahead_pos(rac); in btrfs_readahead() 2701 const u64 end = start + readahead_length(rac) - 1; in btrfs_readahead() 2709 while ((folio = readahead_folio(rac)) != NULL) in btrfs_readahead()
|
| /linux/arch/powerpc/kernel/ |
| H A D | prom_init.c | 1660 u32 rac, rsc; in prom_init_mem() local 1669 rac = be32_to_cpu(val); in prom_init_mem() 1673 prom_debug("root_addr_cells: %x\n", rac); in prom_init_mem() 1707 while ((endp - p) >= (rac + rsc)) { in prom_init_mem() 1710 base = prom_next_cell(rac, &p); in prom_init_mem()
|
| /linux/fs/udf/ |
| H A D | inode.c | 236 static void udf_readahead(struct readahead_control *rac) in udf_readahead() argument 238 struct udf_inode_info *iinfo = UDF_I(rac->mapping->host); in udf_readahead() 247 mpage_readahead(rac, udf_get_block); in udf_readahead()
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | operations.rst | 214 struct readahead_control *rac; 219 * ``ops->read_folio_range()`` and ``rac``
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-npei-defs.h | 3807 uint64_t rac:1; member 3817 uint64_t rac:1;
|
| /linux/fs/ext4/ |
| H A D | ext4.h | 3744 void ext4_readahead(struct readahead_control *rac);
|
| /linux/ |
| H A D | MAINTAINERS | 5120 F: arch/arm/include/asm/hardware/cache-b15-rac.h 5122 F: arch/arm/mm/cache-b15-rac.c
|