Home
last modified time | relevance | path

Searched refs:file_ra_state (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/mm/
H A Dreadahead.c139 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 Dfilemap.c2341 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 Dinternal.h168 void page_cache_ra_order(struct readahead_control *, struct file_ra_state *,
/openbmc/linux/fs/btrfs/
H A Ddefrag.h6 int btrfs_defrag_file(struct inode *inode, struct file_ra_state *ra,
H A Ddefrag.c1136 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 Drelocation.c2919 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 Dsend.c201 struct file_ra_state ra;
5758 memset(&sctx->ra, 0, sizeof(struct file_ra_state)); in send_extent_data()
H A Dfree-space-cache.c370 struct file_ra_state ra; in readahead_cache()
/openbmc/linux/fs/gfs2/
H A Ddir.h40 struct file_ra_state *f_ra);
H A Dexport.c97 struct file_ra_state f_ra = { .start = 0 }; in gfs2_get_name()
H A Ddir.c1480 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 Dpagemap.h1279 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 Dfs.h970 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 Dinode.c187 struct file_ra_state ra = {}; in cramfs_blkdev_read()
/openbmc/linux/fs/f2fs/
H A Ddir.c1087 struct file_ra_state *ra = &file->f_ra; in f2fs_readdir()