Home
last modified time | relevance | path

Searched refs:filp (Results 1 – 4 of 4) sorted by relevance

/mm/
Dreadahead.c111 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages() argument
121 ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages); in read_pages()
132 mapping->a_ops->readpage(filp, page); in read_pages()
152 int __do_page_cache_readahead(struct address_space *mapping, struct file *filp, in __do_page_cache_readahead() argument
200 read_pages(mapping, filp, &page_pool, ret); in __do_page_cache_readahead()
210 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead() argument
224 err = __do_page_cache_readahead(mapping, filp, in force_page_cache_readahead()
369 struct file_ra_state *ra, struct file *filp, in ondemand_readahead() argument
444 return __do_page_cache_readahead(mapping, filp, offset, req_size, 0); in ondemand_readahead()
462 return ra_submit(ra, mapping, filp); in ondemand_readahead()
[all …]
Dinternal.h46 struct file *filp, pgoff_t offset, unsigned long nr_to_read,
53 struct address_space *mapping, struct file *filp) in ra_submit() argument
55 return __do_page_cache_readahead(mapping, filp, in ra_submit()
Dfilemap.c1519 static void shrink_readahead_size_eio(struct file *filp, in shrink_readahead_size_eio() argument
1538 static ssize_t do_generic_file_read(struct file *filp, loff_t *ppos, in do_generic_file_read() argument
1541 struct address_space *mapping = filp->f_mapping; in do_generic_file_read()
1543 struct file_ra_state *ra = &filp->f_ra; in do_generic_file_read()
1573 ra, filp, in do_generic_file_read()
1581 ra, filp, page, in do_generic_file_read()
1699 error = mapping->a_ops->readpage(filp, page); in do_generic_file_read()
1724 shrink_readahead_size_eio(filp, ra); in do_generic_file_read()
1767 file_accessed(filp); in do_generic_file_read()
Dmmap.c1990 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument
2028 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument