/kernel/linux/linux-5.10/mm/ |
H A D | readahead.c | 34 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init() 275 struct file_ra_state *ra, unsigned long nr_to_read) in force_page_cache_ra() 329 static unsigned long get_next_ra_size(struct file_ra_state *ra, in get_next_ra_size() 344 * The fields in struct file_ra_state represent the most-recently-executed 402 struct file_ra_state *ra, in try_context_readahead() 436 struct file_ra_state *ra, bool hit_readahead_marker, in ondemand_readahead() 553 struct file_ra_state *ra, unsigned long req_count) in page_cache_sync_ra() 582 struct file_ra_state *ra, struct page *page, in page_cache_async_ra()
|
H A D | filemap.c | 2168 static void shrink_readahead_size_eio(struct file_ra_state *ra) in shrink_readahead_size_eio() 2195 struct file_ra_state *ra = &filp->f_ra; in generic_file_buffered_read() 2622 struct file_ra_state *ra = &file->f_ra; in do_sync_mmap_readahead() 2673 struct file_ra_state *ra = &file->f_ra; in do_async_mmap_readahead() 2722 struct file_ra_state *ra = &file->f_ra; in filemap_fault()
|
H A D | internal.h | 173 void force_page_cache_ra(struct readahead_control *, struct file_ra_state *,
|
/kernel/linux/linux-6.6/mm/ |
H A D | readahead.c | 28 * readahead. This is reflected in the struct file_ra_state which 52 * discovered from the struct file_ra_state for simple sequential reads, 139 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init() 310 struct file_ra_state *ra = ractl->ra; in force_page_cache_ra() 361 static unsigned long get_next_ra_size(struct file_ra_state *ra, in get_next_ra_size() 376 * The fields in struct file_ra_state represent the most-recently-executed 434 struct file_ra_state *ra, in try_context_readahead() 487 struct file_ra_state *ra, unsigned int new_order) in page_cache_ra_order() 556 struct file_ra_state *ra = ractl->ra; in ondemand_readahead() 782 struct file_ra_state *r in readahead_expand() [all...] |
H A D | filemap.c | 2315 static void shrink_readahead_size_eio(struct file_ra_state *ra) in shrink_readahead_size_eio() 2540 struct file_ra_state *ra = &filp->f_ra; in filemap_get_pages() 2621 struct file_ra_state *ra = &filp->f_ra; in filemap_read() 3151 struct file_ra_state *ra = &file->f_ra; in do_sync_mmap_readahead() 3221 struct file_ra_state *ra = &file->f_ra; in do_async_mmap_readahead()
|
H A D | internal.h | 250 void page_cache_ra_order(struct readahead_control *, struct file_ra_state *,
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | defrag.h | 6 int btrfs_defrag_file(struct inode *inode, struct file_ra_state *ra,
|
H A D | defrag.c | 1136 struct file_ra_state *ra, in defrag_one_cluster() 1222 int btrfs_defrag_file(struct inode *inode, struct file_ra_state *ra, in btrfs_defrag_file()
|
H A D | relocation.c | 2987 static int relocate_one_page(struct inode *inode, struct file_ra_state *ra, in relocate_one_page() 3128 struct file_ra_state *ra; in relocate_file_extent_cluster()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pagemap.h | 815 void page_cache_sync_ra(struct readahead_control *, struct file_ra_state *, 817 void page_cache_async_ra(struct readahead_control *, struct file_ra_state *, 823 * @ra: file_ra_state which holds the readahead state 835 struct file_ra_state *ra, struct file *file, pgoff_t index, in page_cache_sync_readahead() 845 * @ra: file_ra_state which holds the readahead state 858 struct file_ra_state *ra, struct file *file, in page_cache_async_readahead()
|
H A D | fs.h | 899 struct file_ra_state { struct 913 static inline int ra_has_index(struct file_ra_state *ra, pgoff_t index) in ra_has_index() 940 struct file_ra_state f_ra; 3082 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
|
/kernel/linux/linux-5.10/fs/verity/ |
H A D | enable.c | 49 struct file_ra_state *ra, in read_file_data_page() 79 struct file_ra_state ra = { 0 }; in build_merkle_tree_level() 501 struct file_ra_state ra = { 0 }; in code_sign_copy_merkle_tree()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | dir.h | 40 struct file_ra_state *f_ra);
|
H A D | export.c | 97 struct file_ra_state f_ra = { .start = 0 }; in gfs2_get_name()
|
H A D | dir.c | 1478 struct file_ra_state *f_ra) in gfs2_dir_readahead() 1527 struct file_ra_state *f_ra) in dir_e_read() 1566 struct file_ra_state *f_ra) in gfs2_dir_read()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | dir.h | 40 struct file_ra_state *f_ra);
|
H A D | export.c | 97 struct file_ra_state f_ra = { .start = 0 }; in gfs2_get_name()
|
H A D | dir.c | 1480 struct file_ra_state *f_ra) in gfs2_dir_readahead() 1529 struct file_ra_state *f_ra) in dir_e_read() 1568 struct file_ra_state *f_ra) in gfs2_dir_read()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pagemap.h | 1264 struct file_ra_state *ra; 1294 * @ra: file_ra_state which holds the readahead state 1306 struct file_ra_state *ra, struct file *file, pgoff_t index, in page_cache_sync_readahead() 1316 * @ra: file_ra_state which holds the readahead state 1329 struct file_ra_state *ra, struct file *file, in page_cache_async_readahead()
|
H A D | fs.h | 957 * struct file_ra_state - Track a file's readahead state. 970 struct file_ra_state { struct 982 static inline int ra_has_index(struct file_ra_state *ra, pgoff_t index) in ra_has_index() 1013 struct file_ra_state f_ra; 2991 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_remote.c | 467 struct file_ra_state *ra = NULL; in hmdfs_file_read_iter_remote()
|
/kernel/linux/linux-6.6/fs/cramfs/ |
H A D | inode.c | 187 struct file_ra_state ra = {}; in cramfs_blkdev_read()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_remote.c | 467 struct file_ra_state *ra = NULL; in hmdfs_file_read_iter_remote()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | dir.c | 1021 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | dir.c | 1064 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
|