Searched refs:f_ra (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | fadvise.c | 81 file->f_ra.ra_pages = bdi->ra_pages; in generic_fadvise() 92 file->f_ra.ra_pages = bdi->ra_pages * 2; in generic_fadvise()
|
D | filemap.c | 2195 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()
|
D | internal.h | 179 force_page_cache_ra(&ractl, &file->f_ra, nr_to_read); in force_page_cache_readahead()
|
D | khugepaged.c | 1777 page_cache_sync_readahead(mapping, &file->f_ra, in collapse_file()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | export.c | 97 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()
|
D | dir.c | 1478 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 …]
|
D | dir.h | 40 struct file_ra_state *f_ra);
|
D | file.c | 114 error = gfs2_dir_read(dir, ctx, &file->f_ra); in gfs2_readdir()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | dir.c | 179 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/ |
D | blk.c | 303 file_ra_state_init(&file.f_ra, file.f_mapping); in psblk_generic_blk_read()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4file.c | 397 file_ra_state_init(&filep->f_ra, filep->f_mapping->host->i_mapping); in __nfs42_ssc_open()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | file_remote.c | 477 ra = &filp->f_ra; in hmdfs_file_read_iter_remote()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | dir.c | 1021 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
|
/kernel/linux/linux-5.10/fs/ |
D | open.c | 834 file_ra_state_init(&f->f_ra, f->f_mapping->host->i_mapping); in do_dentry_open()
|
/kernel/linux/linux-5.10/include/linux/ |
D | fs.h | 939 struct file_ra_state f_ra; member
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ioctl.c | 1519 ra = &file->f_ra; in btrfs_defrag_file()
|