Searched refs:file_ra_state (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/mm/ |
H A D | readahead.c | 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() 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() 555 struct file_ra_state *ra = ractl->ra; in ondemand_readahead() 785 struct file_ra_state *ra = ractl->ra; in readahead_expand()
|
H A D | filemap.c | 2341 static void shrink_readahead_size_eio(struct file_ra_state *ra) in shrink_readahead_size_eio() 2566 struct file_ra_state *ra = &filp->f_ra; in filemap_get_pages() 2647 struct file_ra_state *ra = &filp->f_ra; in filemap_read() 3177 struct file_ra_state *ra = &file->f_ra; in do_sync_mmap_readahead() 3247 struct file_ra_state *ra = &file->f_ra; in do_async_mmap_readahead()
|
H A D | internal.h | 168 void page_cache_ra_order(struct readahead_control *, struct file_ra_state *,
|
/openbmc/linux/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 | 2919 static int relocate_one_page(struct inode *inode, struct file_ra_state *ra, in relocate_one_page() 3060 struct file_ra_state *ra; in relocate_file_extent_cluster()
|
H A D | send.c | 201 struct file_ra_state ra; 5758 memset(&sctx->ra, 0, sizeof(struct file_ra_state)); in send_extent_data()
|
H A D | free-space-cache.c | 370 struct file_ra_state ra; in readahead_cache()
|
/openbmc/linux/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()
|
/openbmc/linux/include/linux/ |
H A D | pagemap.h | 1279 struct file_ra_state *ra; 1321 struct file_ra_state *ra, struct file *file, pgoff_t index, in page_cache_sync_readahead() 1344 struct file_ra_state *ra, struct file *file, in page_cache_async_readahead()
|
H A D | fs.h | 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() argument 1013 struct file_ra_state f_ra; 3008 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
|
/openbmc/linux/fs/cramfs/ |
H A D | inode.c | 187 struct file_ra_state ra = {}; in cramfs_blkdev_read()
|
/openbmc/linux/fs/f2fs/ |
H A D | dir.c | 1087 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()
|