/linux-6.3-rc2/include/linux/ |
A D | pagemap.h | 1300 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch() 1301 rac->_nr_pages -= rac->_batch_count; in __readahead_batch() 1302 rac->_index += rac->_batch_count; in __readahead_batch() 1303 rac->_batch_count = 0; in __readahead_batch() 1305 xas_set(&xas, rac->_index); in __readahead_batch() 1307 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 1342 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos() 1351 return rac->_nr_pages * PAGE_SIZE; in readahead_length() 1360 return rac->_index; in readahead_index() 1369 return rac->_nr_pages; in readahead_count() [all …]
|
/linux-6.3-rc2/mm/ |
A D | readahead.c | 153 if (!readahead_count(rac)) in read_pages() 156 if (unlikely(rac->_workingset)) in read_pages() 157 psi_memstall_enter(&rac->_pflags); in read_pages() 161 aops->readahead(rac); in read_pages() 171 rac->ra->size -= nr; in read_pages() 172 if (rac->ra->async_size >= nr) { in read_pages() 173 rac->ra->async_size -= nr; in read_pages() 185 if (unlikely(rac->_workingset)) in read_pages() 186 psi_memstall_leave(&rac->_pflags); in read_pages() 187 rac->_workingset = false; in read_pages() [all …]
|
/linux-6.3-rc2/fs/ext4/ |
A D | readpage.c | 221 struct readahead_control *rac, struct page *page) in ext4_mpage_readpages() argument 239 unsigned int nr_pages = rac ? readahead_count(rac) : 1; in ext4_mpage_readpages() 250 if (rac) { in ext4_mpage_readpages() 251 page = readahead_page(rac); in ext4_mpage_readpages() 372 if (rac) in ext4_mpage_readpages() 398 if (rac) in ext4_mpage_readpages()
|
/linux-6.3-rc2/fs/orangefs/ |
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 …]
|
/linux-6.3-rc2/fs/erofs/ |
A D | fscache.c | 291 static void erofs_fscache_readahead(struct readahead_control *rac) in erofs_fscache_readahead() argument 295 if (!readahead_count(rac)) in erofs_fscache_readahead() 298 req = erofs_fscache_req_alloc(rac->mapping, in erofs_fscache_readahead() 299 readahead_pos(rac), readahead_length(rac)); in erofs_fscache_readahead() 304 while (readahead_folio(rac)) in erofs_fscache_readahead()
|
A D | zdata.c | 1831 struct readahead_control *rac, in z_erofs_pcluster_readmore() argument 1849 if (rac) { in z_erofs_pcluster_readmore() 1850 loff_t newstart = readahead_pos(rac); in z_erofs_pcluster_readmore() 1853 readahead_expand(rac, newstart, cur - newstart); in z_erofs_pcluster_readmore() 1922 struct inode *const inode = rac->mapping->host; in z_erofs_readahead() 1929 f.headoffset = readahead_pos(rac); in z_erofs_readahead() 1931 z_erofs_pcluster_readmore(&f, rac, f.headoffset + in z_erofs_readahead() 1932 readahead_length(rac) - 1, &pagepool, true); in z_erofs_readahead() 1933 nr_pages = readahead_count(rac); in z_erofs_readahead() 1936 while ((page = readahead_page(rac))) { in z_erofs_readahead() [all …]
|
A D | data.c | 350 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument 352 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
|
/linux-6.3-rc2/fs/iomap/ |
A D | buffered-io.c | 201 struct readahead_control *rac; member 298 if (ctx->rac) /* same as readahead_gfp_mask */ in iomap_readpage_iter() 311 if (ctx->rac) in iomap_readpage_iter() 379 ctx->cur_folio = readahead_folio(ctx->rac); in iomap_readahead_iter() 405 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument 408 .inode = rac->mapping->host, in iomap_readahead() 409 .pos = readahead_pos(rac), in iomap_readahead() 410 .len = readahead_length(rac), in iomap_readahead() 413 .rac = rac, in iomap_readahead() 416 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | aops.c | 527 static void gfs2_readahead(struct readahead_control *rac) in gfs2_readahead() argument 529 struct inode *inode = rac->mapping->host; in gfs2_readahead() 535 mpage_readahead(rac, gfs2_block_map); in gfs2_readahead() 537 iomap_readahead(rac, &gfs2_iomap_ops); in gfs2_readahead()
|
/linux-6.3-rc2/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-6.3-rc2/fs/ |
A D | mpage.c | 344 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument 352 while ((folio = readahead_folio(rac))) { in mpage_readahead() 355 args.nr_pages = readahead_count(rac); in mpage_readahead()
|
/linux-6.3-rc2/drivers/s390/char/ |
A D | tape_3590.h | 83 unsigned int rac:8; member
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/xfs/ |
A D | xfs_aops.c | 561 struct readahead_control *rac) in xfs_vm_readahead() argument 563 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
|
/linux-6.3-rc2/fs/f2fs/ |
A D | data.c | 2349 struct readahead_control *rac, struct page *page) in f2fs_mpage_readpages() argument 2367 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages() 2381 if (rac) { in f2fs_mpage_readpages() 2382 page = readahead_page(rac); in f2fs_mpage_readpages() 2393 rac != NULL, false); in f2fs_mpage_readpages() 2427 &bio, &last_block_in_bio, rac); in f2fs_mpage_readpages() 2438 if (rac) in f2fs_mpage_readpages() 2448 rac != NULL, false); in f2fs_mpage_readpages() 2482 struct inode *inode = rac->mapping->host; in f2fs_readahead() 2484 trace_f2fs_readpages(inode, readahead_index(rac), readahead_count(rac)); in f2fs_readahead() [all …]
|
/linux-6.3-rc2/fs/btrfs/ |
A D | extent_io.h | 187 void extent_readahead(struct readahead_control *rac);
|
/linux-6.3-rc2/fs/exfat/ |
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()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | keystone-k2hk-clocks.dtsi | 177 clock-output-names = "rac-01"; 187 clock-output-names = "rac-23";
|
/linux-6.3-rc2/fs/qnx6/ |
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()
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | Makefile | 93 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
|
/linux-6.3-rc2/block/ |
A D | fops.c | 399 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 401 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead()
|
/linux-6.3-rc2/fs/ntfs3/ |
A D | inode.c | 712 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument 714 struct address_space *mapping = rac->mapping; in ntfs_readahead() 731 pos = readahead_pos(rac); in ntfs_readahead() 734 valid < pos + readahead_length(rac)) { in ntfs_readahead() 739 mpage_readahead(rac, ntfs_get_block); in ntfs_readahead()
|
/linux-6.3-rc2/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()
|