Home
last modified time | relevance | path

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

/linux/mm/
H A Dreadahead.c160 static void read_pages(struct readahead_control *rac) in read_pages() argument
162 const struct address_space_operations *aops = rac->mapping->a_ops; in read_pages()
166 if (!readahead_count(rac)) in read_pages()
169 if (unlikely(rac->_workingset)) in read_pages()
170 psi_memstall_enter(&rac->_pflags); in read_pages()
174 aops->readahead(rac); in read_pages()
176 while ((folio = readahead_folio(rac)) != NULL) { in read_pages()
183 while ((folio = readahead_folio(rac)) != NULL) in read_pages()
184 aops->read_folio(rac->file, folio); in read_pages()
188 if (unlikely(rac->_workingset)) in read_pages()
[all …]
/linux/fs/erofs/
H A Dfileio.c172 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 Ddata.c412 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument
416 .rac = rac, in erofs_readahead()
420 .realinode = erofs_real_inode(rac->mapping->host, &need_iput), in erofs_readahead()
423 trace_erofs_readahead(iter_ctx.realinode, readahead_index(rac), in erofs_readahead()
424 readahead_count(rac), true); in erofs_readahead()
H A Dzdata.c1815 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument
1823 if (rac) in z_erofs_pcluster_readmore()
1824 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore()
1834 if (rac) { in z_erofs_pcluster_readmore()
1836 readahead_expand(rac, headoffset, cur - headoffset); in z_erofs_pcluster_readmore()
1856 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore()
1894 static void z_erofs_readahead(struct readahead_control *rac) in z_erofs_readahead() argument
1896 struct inode *sharedinode = rac->mapping->host; in z_erofs_readahead()
1899 Z_EROFS_DEFINE_FRONTEND(f, realinode, sharedinode, readahead_pos(rac)); in z_erofs_readahead()
1900 unsigned int nrpages = readahead_count(rac); in z_erofs_readahead()
[all …]
/linux/fs/ntfs/
H A Daops.c223 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument
225 struct address_space *mapping = rac->mapping; in ntfs_readahead()
230 .rac = rac, in ntfs_readahead()
/linux/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()
230 loff_t bytes_remaining = inode->i_size - readahead_pos(rac); in orangefs_readahead()
235 else if (pages_remaining > readahead_count(rac)) in orangefs_readahead()
239 readahead_expand(rac, new_start, new_len); in orangefs_readahead()
241 offset = readahead_pos(rac); in orangefs_readahead()
242 i_pages = &rac->mapping->i_pages; in orangefs_readahead()
245 offset, readahead_length(rac)); in orangefs_readahead()
247 remaining = readahead_length(rac); in orangefs_readahead()
[all …]
/linux/fs/iomap/
H A Dbio.c124 if (ctx->rac) in iomap_read_alloc_bio()
137 if (ctx->rac) in iomap_read_alloc_bio()
H A Dbuffered-io.c699 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter()
731 struct readahead_control *rac = ctx->rac; in iomap_readahead() local
733 .inode = rac->mapping->host, in iomap_readahead()
734 .pos = readahead_pos(rac), in iomap_readahead()
735 .len = readahead_length(rac), in iomap_readahead()
740 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
748 fsverity_readahead(ctx->vi, readahead_index(rac), in iomap_readahead()
749 readahead_count(rac)); in iomap_readahead()
/linux/include/linux/
H A Diomap.h583 struct readahead_control *rac; member
782 static inline void iomap_bio_readahead(struct readahead_control *rac, in iomap_bio_readahead() argument
787 .rac = rac, in iomap_bio_readahead()
/linux/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/fs/xfs/
H A Dxfs_aops.c808 struct readahead_control *rac) in xfs_vm_readahead() argument
810 struct iomap_read_folio_ctx ctx = { .rac = rac }; in xfs_vm_readahead()
812 ctx.ops = xfs_get_iomap_read_ops(rac->mapping), in xfs_vm_readahead()
/linux/fs/
H A Dmpage.c358 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/block/
H A Dfops.c498 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument
500 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead()
519 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument
521 iomap_bio_readahead(rac, &blkdev_iomap_ops); in blkdev_readahead()
/linux/fs/fuse/
H A Dfile.c916 struct readahead_control *rac, in fuse_handle_readahead() argument
936 rac->ra->async_size >= readahead_count(rac)) in fuse_handle_readahead()
943 nr_pages = min(fc->max_pages, readahead_count(rac)); in fuse_handle_readahead()
971 if (ctx->rac) { in fuse_iomap_read_folio_range_async()
972 ret = fuse_handle_readahead(folio, ctx->rac, data, pos, len); in fuse_iomap_read_folio_range_async()
1092 static void fuse_readahead(struct readahead_control *rac) in fuse_readahead() argument
1094 struct inode *inode = rac->mapping->host; in fuse_readahead()
1097 .file = rac->file, in fuse_readahead()
1102 .rac = rac, in fuse_readahead()
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2hk-clocks.dtsi177 clock-output-names = "rac-01";
187 clock-output-names = "rac-23";
H A Dkeystone-k2l-clocks.dtsi108 clock-output-names = "rac";
/linux/arch/arm/mm/
H A DMakefile95 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
/linux/fs/btrfs/
H A Dextent_io.h288 void btrfs_readahead(struct readahead_control *rac);
H A Dextent_io.c2981 void btrfs_readahead(struct readahead_control *rac) in btrfs_readahead() argument
2985 .ractl = rac, in btrfs_readahead()
2989 struct inode *vfs_inode = rac->mapping->host; in btrfs_readahead()
2991 const u64 start = readahead_pos(rac); in btrfs_readahead()
2992 const u64 end = start + readahead_length(rac) - 1; in btrfs_readahead()
3003 while ((folio = readahead_folio(rac)) != NULL) { in btrfs_readahead()
/linux/fs/ntfs3/
H A Dinode.c860 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument
862 struct address_space *mapping = rac->mapping; in ntfs_readahead()
867 .rac = rac, in ntfs_readahead()
/linux/fs/udf/
H A Dinode.c234 static void udf_readahead(struct readahead_control *rac) in udf_readahead() argument
236 struct udf_inode_info *iinfo = UDF_I(rac->mapping->host); in udf_readahead()
245 mpage_readahead(rac, udf_get_block); in udf_readahead()
/linux/Documentation/filesystems/iomap/
H A Doperations.rst214 struct readahead_control *rac;
219 * ``ops->read_folio_range()`` and ``rac``
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npei-defs.h3807 uint64_t rac:1; member
3817 uint64_t rac:1;
/linux/fs/ext4/
H A Dext4.h3864 void ext4_readahead(struct readahead_control *rac);
/linux/
H A DMAINTAINERS5234 F: arch/arm/include/asm/hardware/cache-b15-rac.h
5236 F: arch/arm/mm/cache-b15-rac.c