/Linux-v5.15/include/linux/ |
D | pagemap.h | 918 static inline struct page *readahead_page(struct readahead_control *rac) in readahead_page() argument 922 BUG_ON(rac->_batch_count > rac->_nr_pages); in readahead_page() 923 rac->_nr_pages -= rac->_batch_count; in readahead_page() 924 rac->_index += rac->_batch_count; in readahead_page() 926 if (!rac->_nr_pages) { in readahead_page() 927 rac->_batch_count = 0; in readahead_page() 931 page = xa_load(&rac->mapping->i_pages, rac->_index); in readahead_page() 933 rac->_batch_count = thp_nr_pages(page); in readahead_page() 938 static inline unsigned int __readahead_batch(struct readahead_control *rac, in __readahead_batch() argument 942 XA_STATE(xas, &rac->mapping->i_pages, 0); in __readahead_batch() [all …]
|
/Linux-v5.15/mm/ |
D | readahead.c | 117 static void read_pages(struct readahead_control *rac, struct list_head *pages, in read_pages() argument 120 const struct address_space_operations *aops = rac->mapping->a_ops; in read_pages() 124 if (!readahead_count(rac)) in read_pages() 130 aops->readahead(rac); in read_pages() 132 while ((page = readahead_page(rac))) { in read_pages() 137 aops->readpages(rac->file, rac->mapping, pages, in read_pages() 138 readahead_count(rac)); in read_pages() 141 rac->_index += rac->_nr_pages; in read_pages() 142 rac->_nr_pages = 0; in read_pages() 144 while ((page = readahead_page(rac))) { in read_pages() [all …]
|
/Linux-v5.15/fs/ext4/ |
D | readpage.c | 225 struct readahead_control *rac, struct page *page) in ext4_mpage_readpages() argument 243 unsigned int nr_pages = rac ? readahead_count(rac) : 1; in ext4_mpage_readpages() 254 if (rac) { in ext4_mpage_readpages() 255 page = readahead_page(rac); in ext4_mpage_readpages() 382 rac ? REQ_RAHEAD : 0); in ext4_mpage_readpages() 407 if (rac) in ext4_mpage_readpages()
|
/Linux-v5.15/fs/orangefs/ |
D | inode.c | 248 static void orangefs_readahead(struct readahead_control *rac) in orangefs_readahead() argument 252 struct inode *inode = rac->mapping->host; in orangefs_readahead() 255 loff_t new_start = readahead_pos(rac); in orangefs_readahead() 259 loff_t bytes_remaining = inode->i_size - readahead_pos(rac); in orangefs_readahead() 264 else if (pages_remaining > readahead_count(rac)) in orangefs_readahead() 268 readahead_expand(rac, new_start, new_len); in orangefs_readahead() 270 offset = readahead_pos(rac); in orangefs_readahead() 271 i_pages = &rac->mapping->i_pages; in orangefs_readahead() 273 iov_iter_xarray(&iter, READ, i_pages, offset, readahead_length(rac)); in orangefs_readahead() 277 &offset, &iter, readahead_length(rac), in orangefs_readahead() [all …]
|
/Linux-v5.15/fs/iomap/ |
D | buffered-io.c | 205 struct readahead_control *rac; member 289 if (ctx->rac) /* same as readahead_gfp_mask */ in iomap_readpage_iter() 300 if (ctx->rac) in iomap_readpage_iter() 369 ctx->cur_page = readahead_page(ctx->rac); in iomap_readahead_iter() 393 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) in iomap_readahead() argument 396 .inode = rac->mapping->host, in iomap_readahead() 397 .pos = readahead_pos(rac), in iomap_readahead() 398 .len = readahead_length(rac), in iomap_readahead() 401 .rac = rac, in iomap_readahead() 404 trace_iomap_readahead(rac->mapping->host, readahead_count(rac)); in iomap_readahead()
|
/Linux-v5.15/arch/arm/mach-omap2/ |
D | vc.c | 70 u8 rac; member 78 .rac = BIT(2), 92 .rac = BIT(3), 869 vc->cfg_channel |= vc_cfg_bits->rac; in omap_vc_init_channel()
|
/Linux-v5.15/fs/gfs2/ |
D | aops.c | 556 static void gfs2_readahead(struct readahead_control *rac) in gfs2_readahead() argument 558 struct inode *inode = rac->mapping->host; in gfs2_readahead() 564 mpage_readahead(rac, gfs2_block_map); in gfs2_readahead() 566 iomap_readahead(rac, &gfs2_iomap_ops); in gfs2_readahead()
|
/Linux-v5.15/drivers/s390/char/ |
D | tape_3590.h | 83 unsigned int rac:8; member
|
/Linux-v5.15/fs/hpfs/ |
D | file.c | 171 static void hpfs_readahead(struct readahead_control *rac) in hpfs_readahead() argument 173 mpage_readahead(rac, hpfs_get_block); in hpfs_readahead()
|
/Linux-v5.15/fs/ |
D | mpage.c | 377 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument 385 while ((page = readahead_page(rac))) { in mpage_readahead() 388 args.nr_pages = readahead_count(rac); in mpage_readahead()
|
/Linux-v5.15/fs/erofs/ |
D | zdata.c | 1408 static void z_erofs_readahead(struct readahead_control *rac) in z_erofs_readahead() argument 1410 struct inode *const inode = rac->mapping->host; in z_erofs_readahead() 1413 unsigned int nr_pages = readahead_count(rac); in z_erofs_readahead() 1420 trace_erofs_readpages(inode, readahead_index(rac), nr_pages, false); in z_erofs_readahead() 1423 f.headoffset = readahead_pos(rac); in z_erofs_readahead() 1425 while ((page = readahead_page(rac))) { in z_erofs_readahead()
|
D | data.c | 247 static void erofs_readahead(struct readahead_control *rac) in erofs_readahead() argument 249 return iomap_readahead(rac, &erofs_iomap_ops); in erofs_readahead()
|
/Linux-v5.15/fs/jfs/ |
D | inode.c | 300 static void jfs_readahead(struct readahead_control *rac) in jfs_readahead() argument 302 mpage_readahead(rac, jfs_get_block); in jfs_readahead()
|
/Linux-v5.15/fs/omfs/ |
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-v5.15/fs/xfs/ |
D | xfs_aops.c | 527 struct readahead_control *rac) in xfs_vm_readahead() argument 529 iomap_readahead(rac, &xfs_read_iomap_ops); in xfs_vm_readahead()
|
/Linux-v5.15/fs/f2fs/ |
D | data.c | 2321 struct readahead_control *rac, struct page *page) in f2fs_mpage_readpages() argument 2339 unsigned nr_pages = rac ? readahead_count(rac) : 1; in f2fs_mpage_readpages() 2353 if (rac) { in f2fs_mpage_readpages() 2354 page = readahead_page(rac); in f2fs_mpage_readpages() 2365 rac != NULL, false); in f2fs_mpage_readpages() 2399 &bio, &last_block_in_bio, rac); in f2fs_mpage_readpages() 2411 if (rac) in f2fs_mpage_readpages() 2421 rac != NULL, false); in f2fs_mpage_readpages() 2452 static void f2fs_readahead(struct readahead_control *rac) in f2fs_readahead() argument 2454 struct inode *inode = rac->mapping->host; in f2fs_readahead() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | keystone-k2hk-clocks.dtsi | 177 clock-output-names = "rac-01"; 187 clock-output-names = "rac-23";
|
D | keystone-k2l-clocks.dtsi | 108 clock-output-names = "rac";
|
/Linux-v5.15/block/ |
D | fops.c | 345 static void blkdev_readahead(struct readahead_control *rac) in blkdev_readahead() argument 347 mpage_readahead(rac, blkdev_get_block); in blkdev_readahead()
|
/Linux-v5.15/fs/qnx6/ |
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-v5.15/arch/arm/mm/ |
D | Makefile | 108 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
|
/Linux-v5.15/fs/exfat/ |
D | inode.c | 366 static void exfat_readahead(struct readahead_control *rac) in exfat_readahead() argument 368 mpage_readahead(rac, exfat_get_block); in exfat_readahead()
|
/Linux-v5.15/fs/ntfs3/ |
D | inode.c | 707 static void ntfs_readahead(struct readahead_control *rac) in ntfs_readahead() argument 709 struct address_space *mapping = rac->mapping; in ntfs_readahead() 726 pos = readahead_pos(rac); in ntfs_readahead() 729 valid < pos + readahead_length(rac)) { in ntfs_readahead() 734 mpage_readahead(rac, ntfs_get_block); in ntfs_readahead()
|
/Linux-v5.15/fs/btrfs/ |
D | extent_io.h | 192 void extent_readahead(struct readahead_control *rac);
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | prom_init.c | 1656 u32 rac, rsc; in prom_init_mem() local 1665 rac = be32_to_cpu(val); in prom_init_mem() 1669 prom_debug("root_addr_cells: %x\n", rac); in prom_init_mem() 1703 while ((endp - p) >= (rac + rsc)) { in prom_init_mem() 1706 base = prom_next_cell(rac, &p); in prom_init_mem()
|