Searched refs:f_ra (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/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 | 2419 shrink_readahead_size_eio(&file->f_ra); in filemap_read_folio() 2553 DEFINE_READAHEAD(ractl, file, &file->f_ra, mapping, folio->index); in filemap_readahead() 2566 struct file_ra_state *ra = &filp->f_ra; in filemap_get_pages() 2645 struct file_ra_state *ra = &filp->f_ra; in filemap_read() 2986 struct file_ra_state *ra = &file->f_ra; in do_sync_mmap_readahead() 3056 struct file_ra_state *ra = &file->f_ra; in do_async_mmap_readahead() 3348 unsigned int mmap_miss = READ_ONCE(file->f_ra.mmap_miss); in filemap_map_pages() 3409 WRITE_ONCE(file->f_ra.mmap_miss, mmap_miss); in filemap_map_pages()
|
D | internal.h | 105 DEFINE_READAHEAD(ractl, file, &file->f_ra, mapping, index); in force_page_cache_readahead()
|
D | khugepaged.c | 1843 page_cache_sync_readahead(mapping, &file->f_ra, in collapse_file()
|
/linux-6.1.9/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 | 1480 struct file_ra_state *f_ra) in gfs2_dir_readahead() argument 1489 if (index + MAX_RA_BLOCKS < f_ra->start) in gfs2_dir_readahead() 1492 f_ra->start = max((pgoff_t)index, f_ra->start); in gfs2_dir_readahead() 1494 if (f_ra->start >= hsize) /* if exceeded the hash table */ in gfs2_dir_readahead() 1498 blocknr = be64_to_cpu(ip->i_hash_cache[f_ra->start]); in gfs2_dir_readahead() 1499 f_ra->start++; in gfs2_dir_readahead() 1529 struct file_ra_state *f_ra) in dir_e_read() argument 1544 f_ra->start = 0; in dir_e_read() 1549 gfs2_dir_readahead(inode, hsize, index, f_ra); in dir_e_read() 1568 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 | 115 error = gfs2_dir_read(dir, ctx, &file->f_ra); in gfs2_readdir()
|
/linux-6.1.9/fs/ext4/ |
D | dir.c | 193 if (!ra_has_index(&file->f_ra, index)) in ext4_readdir() 196 &file->f_ra, file, in ext4_readdir() 198 file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; in ext4_readdir()
|
/linux-6.1.9/fs/nfs/ |
D | nfs4file.c | 394 file_ra_state_init(&filep->f_ra, filep->f_mapping->host->i_mapping); in __nfs42_ssc_open()
|
/linux-6.1.9/fs/f2fs/ |
D | dir.c | 1085 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
|
D | file.c | 4728 filp->f_ra.ra_pages = bdi->ra_pages * in f2fs_file_fadvise()
|
/linux-6.1.9/fs/ |
D | open.c | 901 file_ra_state_init(&f->f_ra, f->f_mapping->host->i_mapping); in do_dentry_open()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 995 filp->f_ra.ra_pages = inode_to_bdi(mapping->host)->ra_pages * 2; in ksmbd_vfs_set_fadvise()
|
/linux-6.1.9/include/linux/ |
D | fs.h | 962 struct file_ra_state f_ra; member
|
/linux-6.1.9/fs/btrfs/ |
D | ioctl.c | 3495 ret = btrfs_defrag_file(file_inode(file), &file->f_ra, in btrfs_ioctl_defrag()
|