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

12

/linux-master/mm/
H A Dreadahead.c146 static void read_pages(struct readahead_control *rac) argument
148 const struct address_space_operations *aops = rac->mapping->a_ops;
152 if (!readahead_count(rac))
155 if (unlikely(rac->_workingset))
156 psi_memstall_enter(&rac->_pflags);
160 aops->readahead(rac);
166 while ((folio = readahead_folio(rac)) != NULL) {
170 rac->ra->size -= nr;
171 if (rac->ra->async_size >= nr) {
172 rac
[all...]
/linux-master/include/linux/
H A Dpagemap.h1379 static inline unsigned int __readahead_batch(struct readahead_control *rac, argument
1383 XA_STATE(xas, &rac->mapping->i_pages, 0);
1386 BUG_ON(rac->_batch_count > rac->_nr_pages);
1387 rac->_nr_pages -= rac->_batch_count;
1388 rac->_index += rac->_batch_count;
1389 rac->_batch_count = 0;
1391 xas_set(&xas, rac
1426 readahead_pos(struct readahead_control *rac) argument
1435 readahead_length(struct readahead_control *rac) argument
1444 readahead_index(struct readahead_control *rac) argument
1453 readahead_count(struct readahead_control *rac) argument
1462 readahead_batch_length(struct readahead_control *rac) argument
[all...]
/linux-master/fs/ext4/
H A Dreadpage.c212 struct readahead_control *rac, struct folio *folio)
230 unsigned int nr_pages = rac ? readahead_count(rac) : 1;
241 if (rac)
242 folio = readahead_folio(rac);
361 if (rac)
211 ext4_mpage_readpages(struct inode *inode, struct readahead_control *rac, struct folio *folio) argument
/linux-master/fs/orangefs/
H A Dinode.c241 static void orangefs_readahead(struct readahead_control *rac) argument
245 struct inode *inode = rac->mapping->host;
248 loff_t new_start = readahead_pos(rac);
252 loff_t bytes_remaining = inode->i_size - readahead_pos(rac);
257 else if (pages_remaining > readahead_count(rac))
261 readahead_expand(rac, new_start, new_len);
263 offset = readahead_pos(rac);
264 i_pages = &rac->mapping->i_pages;
266 iov_iter_xarray(&iter, ITER_DEST, i_pages, offset, readahead_length(rac));
270 &offset, &iter, readahead_length(rac),
[all...]
/linux-master/fs/erofs/
H A Dfscache.c362 static void erofs_fscache_readahead(struct readahead_control *rac) argument
366 if (!readahead_count(rac))
369 req = erofs_fscache_req_alloc(rac->mapping,
370 readahead_pos(rac), readahead_length(rac));
375 while (readahead_folio(rac))
H A Dzdata.c1743 struct readahead_control *rac, bool backmost)
1751 if (rac)
1752 end = headoffset + readahead_length(rac) - 1;
1762 if (rac) {
1764 readahead_expand(rac, headoffset, cur - headoffset);
1785 z_erofs_scan_folio(f, page_folio(page), !!rac);
1822 static void z_erofs_readahead(struct readahead_control *rac) argument
1824 struct inode *const inode = rac->mapping->host;
1831 f.headoffset = readahead_pos(rac);
1833 z_erofs_pcluster_readmore(&f, rac, tru
1742 z_erofs_pcluster_readmore(struct z_erofs_decompress_frontend *f, struct readahead_control *rac, bool backmost) argument
[all...]
H A Ddata.c362 static void erofs_readahead(struct readahead_control *rac) argument
364 return iomap_readahead(rac, &erofs_iomap_ops);
/linux-master/drivers/s390/char/
H A Dtape_3590.h83 unsigned int rac:8; member in struct:tape_3590_sense
/linux-master/fs/iomap/
H A Dbuffered-io.c329 struct readahead_control *rac; member in struct:iomap_readpage_ctx
416 if (ctx->rac) /* same as readahead_gfp_mask */
429 if (ctx->rac)
497 ctx->cur_folio = readahead_folio(ctx->rac);
510 * @rac: Describes the pages to be read.
523 void iomap_readahead(struct readahead_control *rac, const struct iomap_ops *ops) argument
526 .inode = rac->mapping->host,
527 .pos = readahead_pos(rac),
528 .len = readahead_length(rac),
531 .rac
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dvc.c55 * @rac: bit for command configuration register
67 u8 rac; member in struct:omap_vc_channel_cfg
75 .rac = BIT(2),
89 .rac = BIT(3),
851 vc->cfg_channel |= vc_cfg_bits->rac;
/linux-master/fs/gfs2/
H A Daops.c507 * @rac: Read-ahead control structure
520 static void gfs2_readahead(struct readahead_control *rac) argument
522 struct inode *inode = rac->mapping->host;
528 mpage_readahead(rac, gfs2_block_map);
530 iomap_readahead(rac, &gfs2_iomap_ops);
/linux-master/fs/hpfs/
H A Dfile.c166 static void hpfs_readahead(struct readahead_control *rac) argument
168 mpage_readahead(rac, hpfs_get_block);
/linux-master/fs/omfs/
H A Dfile.c292 static void omfs_readahead(struct readahead_control *rac) argument
294 mpage_readahead(rac, omfs_get_block);
/linux-master/fs/jfs/
H A Dinode.c278 static void jfs_readahead(struct readahead_control *rac) argument
280 mpage_readahead(rac, jfs_get_block);
/linux-master/fs/exfat/
H A Dinode.c416 static void exfat_readahead(struct readahead_control *rac) argument
418 struct address_space *mapping = rac->mapping;
421 loff_t pos = readahead_pos(rac);
426 ei->valid_size < pos + readahead_length(rac))
429 mpage_readahead(rac, exfat_get_block);
/linux-master/fs/
H A Dmpage.c332 * @rac: Describes which pages to read.
369 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) argument
377 while ((folio = readahead_folio(rac))) {
380 args.nr_pages = readahead_count(rac);
/linux-master/fs/xfs/
H A Dxfs_aops.c555 struct readahead_control *rac)
557 iomap_readahead(rac, &xfs_read_iomap_ops);
554 xfs_vm_readahead( struct readahead_control *rac) argument
/linux-master/arch/arm/mm/
H A Dcache-b15-rac.c19 #include <asm/hardware/cache-b15-rac.h>
336 "arm/cache-b15-rac:dead",
342 "arm/cache-b15-rac:dying",
H A DMakefile93 obj-$(CONFIG_CACHE_B15_RAC) += cache-b15-rac.o
/linux-master/block/
H A Dfops.c441 static void blkdev_readahead(struct readahead_control *rac) argument
443 mpage_readahead(rac, blkdev_get_block);
482 static void blkdev_readahead(struct readahead_control *rac) argument
484 iomap_readahead(rac, &blkdev_iomap_ops);
/linux-master/fs/btrfs/
H A Dextent_io.h244 void extent_readahead(struct readahead_control *rac);
/linux-master/fs/f2fs/
H A Ddata.c2327 struct readahead_control *rac, struct page *page)
2345 unsigned nr_pages = rac ? readahead_count(rac) : 1;
2359 if (rac) {
2360 page = readahead_page(rac);
2371 rac != NULL, false);
2405 &bio, &last_block_in_bio, rac);
2416 if (rac)
2426 rac != NULL, false);
2458 static void f2fs_readahead(struct readahead_control *rac) argument
2326 f2fs_mpage_readpages(struct inode *inode, struct readahead_control *rac, struct page *page) argument
[all...]
/linux-master/fs/qnx6/
H A Dinode.c102 static void qnx6_readahead(struct readahead_control *rac) argument
104 mpage_readahead(rac, qnx6_get_block);
/linux-master/fs/zonefs/
H A Dfile.c118 static void zonefs_readahead(struct readahead_control *rac) argument
120 iomap_readahead(rac, &zonefs_read_iomap_ops);
/linux-master/fs/ocfs2/
H A Daops.c350 static void ocfs2_readahead(struct readahead_control *rac) argument
353 struct inode *inode = rac->mapping->host;
378 if (readahead_pos(rac) >= i_size_read(inode))
381 mpage_readahead(rac, ocfs2_get_block);

Completed in 804 milliseconds

12