/openbmc/linux/mm/ |
H 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 …]
|
/openbmc/linux/include/linux/ |
H A D | pagemap.h | 1411 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch() 1412 rac->_nr_pages -= rac->_batch_count; in __readahead_batch() 1413 rac->_index += rac->_batch_count; in __readahead_batch() 1414 rac->_batch_count = 0; in __readahead_batch() 1416 xas_set(&xas, rac->_index); in __readahead_batch() 1418 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 1453 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos() 1462 return rac->_nr_pages * PAGE_SIZE; in readahead_length() 1471 return rac->_index; in readahead_index() 1480 return rac->_nr_pages; in readahead_count() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | readpage.c | 219 struct readahead_control *rac, struct folio *folio) in ext4_mpage_readpages() argument 237 unsigned int nr_pages = rac ? readahead_count(rac) : 1; in ext4_mpage_readpages() 248 if (rac) in ext4_mpage_readpages() 249 folio = readahead_folio(rac); in ext4_mpage_readpages() 369 if (rac) in ext4_mpage_readpages()
|
/openbmc/linux/fs/orangefs/ |
H A D | inode.c | 241 static void orangefs_readahead(struct readahead_control *rac) in orangefs_readahead() argument 245 struct inode *inode = rac->mapping->host; in orangefs_readahead() 248 loff_t new_start = readahead_pos(rac); in orangefs_readahead() 252 loff_t bytes_remaining = inode->i_size - readahead_pos(rac); in orangefs_readahead() 257 else if (pages_remaining > readahead_count(rac)) in orangefs_readahead() 261 readahead_expand(rac, new_start, new_len); in orangefs_readahead() 263 offset = readahead_pos(rac); in orangefs_readahead() 264 i_pages = &rac->mapping->i_pages; in orangefs_readahead() 270 &offset, &iter, readahead_length(rac), in orangefs_readahead() 271 inode->i_size, NULL, NULL, rac->file)) < 0) in orangefs_readahead() [all …]
|
/openbmc/linux/fs/erofs/ |
H A D | fscache.c | 304 static void erofs_fscache_readahead(struct readahead_control *rac) in erofs_fscache_readahead() argument 308 if (!readahead_count(rac)) in erofs_fscache_readahead() 311 req = erofs_fscache_req_alloc(rac->mapping, in erofs_fscache_readahead() 312 readahead_pos(rac), readahead_length(rac)); in erofs_fscache_readahead() 317 while (readahead_folio(rac)) in erofs_fscache_readahead()
|
H A D | zdata.c | 1774 struct readahead_control *rac, bool backmost) in z_erofs_pcluster_readmore() argument 1782 if (rac) in z_erofs_pcluster_readmore() 1783 end = headoffset + readahead_length(rac) - 1; in z_erofs_pcluster_readmore() 1793 if (rac) { in z_erofs_pcluster_readmore() 1795 readahead_expand(rac, headoffset, cur - headoffset); in z_erofs_pcluster_readmore() 1855 struct inode *const inode = rac->mapping->host; in z_erofs_readahead() 1862 f.headoffset = readahead_pos(rac); in z_erofs_readahead() 1864 z_erofs_pcluster_readmore(&f, rac, true); in z_erofs_readahead() 1865 nr_folios = readahead_count(rac); in z_erofs_readahead() 1868 while ((folio = readahead_folio(rac))) { in z_erofs_readahead() [all …]
|
H A D | data.c | 364 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument 366 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
|
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 282 struct readahead_control *rac; member 376 if (ctx->rac) /* same as readahead_gfp_mask */ in iomap_readpage_iter() 389 if (ctx->rac) in iomap_readpage_iter() 457 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter() 483 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument 486 .inode = rac->mapping->host, in iomap_readahead() 487 .pos = readahead_pos(rac), in iomap_readahead() 488 .len = readahead_length(rac), in iomap_readahead() 491 .rac = rac, in iomap_readahead() 494 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
|
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 525 static void gfs2_readahead(struct readahead_control *rac) in gfs2_readahead() argument 527 struct inode *inode = rac->mapping->host; in gfs2_readahead() 533 mpage_readahead(rac, gfs2_block_map); in gfs2_readahead() 535 iomap_readahead(rac, &gfs2_iomap_ops); in gfs2_readahead()
|
/openbmc/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()
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.h | 83 unsigned int rac:8; member
|
/openbmc/linux/fs/ |
H A D | mpage.c | 370 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument 378 while ((folio = readahead_folio(rac))) { in mpage_readahead() 381 args.nr_pages = readahead_count(rac); in mpage_readahead()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/block/ |
H A D | fops.c | 423 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 425 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead() 464 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 466 iomap_readahead(rac, &blkdev_iomap_ops); in blkdev_readahead()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_aops.c | 528 struct readahead_control *rac) in xfs_vm_readahead() argument 530 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
|
/openbmc/linux/fs/f2fs/ |
H A D | data.c | 2335 struct readahead_control *rac, struct page *page) in f2fs_mpage_readpages() argument 2353 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages() 2367 if (rac) { in f2fs_mpage_readpages() 2368 page = readahead_page(rac); in f2fs_mpage_readpages() 2379 rac != NULL, false); in f2fs_mpage_readpages() 2413 &bio, &last_block_in_bio, rac); in f2fs_mpage_readpages() 2424 if (rac) in f2fs_mpage_readpages() 2434 rac != NULL, false); in f2fs_mpage_readpages() 2468 struct inode *inode = rac->mapping->host; in f2fs_readahead() 2470 trace_f2fs_readpages(inode, readahead_index(rac), readahead_count(rac)); in f2fs_readahead() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.h | 194 void extent_readahead(struct readahead_control *rac);
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | keystone-k2hk-clocks.dtsi | 180 clock-output-names = "rac-01"; 190 clock-output-names = "rac-23";
|
/openbmc/linux/fs/qnx6/ |
H A D | inode.c | 102 static void qnx6_readahead(struct readahead_control *rac) in qnx6_readahead() argument 104 mpage_readahead(rac, qnx6_get_block); in qnx6_readahead()
|
/openbmc/linux/fs/exfat/ |
H A D | inode.c | 341 static void exfat_readahead(struct readahead_control *rac) in exfat_readahead() argument 343 mpage_readahead(rac, exfat_get_block); in exfat_readahead()
|
/openbmc/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";
|
/openbmc/linux/arch/arm/mm/ |
H A D | Makefile | 93 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
|
/openbmc/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()
|