| /linux/mm/ |
| A D | readahead.c | 152 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() 170 rac->ra->size -= nr; in read_pages() 171 if (rac->ra->async_size >= nr) { in read_pages() 172 rac->ra->async_size -= nr; in read_pages() 184 if (unlikely(rac->_workingset)) in read_pages() 185 psi_memstall_leave(&rac->_pflags); in read_pages() 186 rac->_workingset = false; in read_pages() [all …]
|
| /linux/include/linux/ |
| A D | pagemap.h | 1479 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch() 1480 rac->_nr_pages -= rac->_batch_count; in __readahead_batch() 1481 rac->_index += rac->_batch_count; in __readahead_batch() 1482 rac->_batch_count = 0; in __readahead_batch() 1484 xas_set(&xas, rac->_index); in __readahead_batch() 1486 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 1521 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos() 1530 return rac->_nr_pages * PAGE_SIZE; in readahead_length() 1539 return rac->_index; in readahead_index() 1548 return rac->_nr_pages; in readahead_count() [all …]
|
| /linux/fs/ext4/ |
| 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/ |
| A D | fileio.c | 171 static void erofs_fileio_readahead(struct readahead_control *rac) in erofs_fileio_readahead() argument 173 struct inode *inode = rac->mapping->host; in erofs_fileio_readahead() 178 trace_erofs_readpages(inode, readahead_index(rac), in erofs_fileio_readahead() 179 readahead_count(rac), true); in erofs_fileio_readahead() 180 while ((folio = readahead_folio(rac))) { in erofs_fileio_readahead()
|
| 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()
|
| A D | zdata.c | 1726 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument 1734 if (rac) in z_erofs_pcluster_readmore() 1735 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore() 1745 if (rac) { in z_erofs_pcluster_readmore() 1767 z_erofs_scan_folio(f, folio, !!rac); in z_erofs_pcluster_readmore() 1804 struct inode *const inode = rac->mapping->host; in z_erofs_readahead() 1810 f.headoffset = readahead_pos(rac); in z_erofs_readahead() 1812 z_erofs_pcluster_readmore(&f, rac, true); in z_erofs_readahead() 1813 nr_folios = readahead_count(rac); in z_erofs_readahead() 1816 while ((folio = readahead_folio(rac))) { in z_erofs_readahead() [all …]
|
| A D | data.c | 392 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument 394 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
|
| /linux/fs/orangefs/ |
| 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() 268 &offset, &iter, readahead_length(rac), in orangefs_readahead() 269 inode->i_size, NULL, NULL, rac->file)) < 0) in orangefs_readahead() [all …]
|
| /linux/fs/iomap/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| A D | mpage.c | 362 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument 370 while ((folio = readahead_folio(rac))) { in mpage_readahead() 373 args.nr_pages = readahead_count(rac); in mpage_readahead()
|
| /linux/fs/f2fs/ |
| A D | data.c | 2081 return rac ? REQ_RAHEAD : 0; in f2fs_ra_op_flags() 2089 struct readahead_control *rac) in f2fs_read_single_page() argument 2165 f2fs_ra_op_flags(rac), index, in f2fs_read_single_page() 2322 f2fs_ra_op_flags(rac), in f2fs_read_multi_pages() 2389 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages() 2404 if (rac) { in f2fs_mpage_readpages() 2405 folio = readahead_folio(rac); in f2fs_mpage_readpages() 2420 rac, false); in f2fs_mpage_readpages() 2451 &bio, &last_block_in_bio, rac); in f2fs_mpage_readpages() 2470 rac, false); in f2fs_mpage_readpages() [all …]
|
| /linux/drivers/s390/char/ |
| A D | tape_3590.h | 83 unsigned int rac:8; member
|
| /linux/fs/hpfs/ |
| 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/fs/jfs/ |
| 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/ |
| 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/block/ |
| A D | fops.c | 449 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 451 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead() 490 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 492 iomap_readahead(rac, &blkdev_iomap_ops); in blkdev_readahead()
|
| /linux/fs/xfs/ |
| A D | xfs_aops.c | 525 struct readahead_control *rac) in xfs_vm_readahead() argument 527 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
|
| /linux/arch/arm/boot/dts/ti/keystone/ |
| A D | keystone-k2hk-clocks.dtsi | 177 clock-output-names = "rac-01"; 187 clock-output-names = "rac-23";
|
| /linux/arch/arm/mm/ |
| A D | Makefile | 95 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
|
| /linux/fs/btrfs/ |
| A D | extent_io.h | 249 void btrfs_readahead(struct readahead_control *rac);
|
| /linux/fs/zonefs/ |
| 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/qnx6/ |
| 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()
|