Home
last modified time | relevance | path

Searched refs:f_ra (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dfadvise.c81 file->f_ra.ra_pages = bdi->ra_pages; in generic_fadvise()
92 file->f_ra.ra_pages = bdi->ra_pages * 2; in generic_fadvise()
Dfilemap.c2195 struct file_ra_state *ra = &filp->f_ra; in generic_file_buffered_read()
2619 struct file_ra_state *ra = &file->f_ra; in do_sync_mmap_readahead()
2670 struct file_ra_state *ra = &file->f_ra; in do_async_mmap_readahead()
2719 struct file_ra_state *ra = &file->f_ra; in filemap_fault()
2847 unsigned int mmap_miss = READ_ONCE(file->f_ra.mmap_miss); in filemap_map_pages()
2905 WRITE_ONCE(file->f_ra.mmap_miss, mmap_miss); in filemap_map_pages()
Dinternal.h179 force_page_cache_ra(&ractl, &file->f_ra, nr_to_read); in force_page_cache_readahead()
Dkhugepaged.c1777 page_cache_sync_readahead(mapping, &file->f_ra, in collapse_file()
/kernel/linux/linux-5.10/fs/gfs2/
Dexport.c97 struct file_ra_state f_ra = { .start = 0 }; in gfs2_get_name() local
116 error = gfs2_dir_read(dir, &gnfd.ctx, &f_ra); in gfs2_get_name()
Ddir.c1478 struct file_ra_state *f_ra) in gfs2_dir_readahead() argument
1487 if (index + MAX_RA_BLOCKS < f_ra->start) in gfs2_dir_readahead()
1490 f_ra->start = max((pgoff_t)index, f_ra->start); in gfs2_dir_readahead()
1492 if (f_ra->start >= hsize) /* if exceeded the hash table */ in gfs2_dir_readahead()
1496 blocknr = be64_to_cpu(ip->i_hash_cache[f_ra->start]); in gfs2_dir_readahead()
1497 f_ra->start++; in gfs2_dir_readahead()
1527 struct file_ra_state *f_ra) in dir_e_read() argument
1542 f_ra->start = 0; in dir_e_read()
1547 gfs2_dir_readahead(inode, hsize, index, f_ra); in dir_e_read()
1566 struct file_ra_state *f_ra) in gfs2_dir_read() argument
[all …]
Ddir.h40 struct file_ra_state *f_ra);
Dfile.c114 error = gfs2_dir_read(dir, ctx, &file->f_ra); in gfs2_readdir()
/kernel/linux/linux-5.10/fs/ext4/
Ddir.c179 if (!ra_has_index(&file->f_ra, index)) in ext4_readdir()
182 &file->f_ra, file, in ext4_readdir()
184 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
/kernel/linux/linux-5.10/fs/pstore/
Dblk.c303 file_ra_state_init(&file.f_ra, file.f_mapping); in psblk_generic_blk_read()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4file.c397 file_ra_state_init(&filep->f_ra, filep->f_mapping->host->i_mapping); in __nfs42_ssc_open()
/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_remote.c477 ra = &filp->f_ra; in hmdfs_file_read_iter_remote()
/kernel/linux/linux-5.10/fs/f2fs/
Ddir.c1021 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
/kernel/linux/linux-5.10/fs/
Dopen.c834 file_ra_state_init(&f->f_ra, f->f_mapping->host->i_mapping); in do_dentry_open()
/kernel/linux/linux-5.10/include/linux/
Dfs.h939 struct file_ra_state f_ra; member
/kernel/linux/linux-5.10/fs/btrfs/
Dioctl.c1519 ra = &file->f_ra; in btrfs_defrag_file()