Searched refs:filp (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | readahead.c | 116 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages() argument 126 ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages); in read_pages() 136 mapping->a_ops->readpage(filp, page); in read_pages() 156 struct file *filp, pgoff_t offset, unsigned long nr_to_read, in __do_page_cache_readahead() argument 190 read_pages(mapping, filp, &page_pool, nr_pages, in __do_page_cache_readahead() 212 read_pages(mapping, filp, &page_pool, nr_pages, gfp_mask); in __do_page_cache_readahead() 222 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead() argument 226 struct file_ra_state *ra = &filp->f_ra; in force_page_cache_readahead() 243 __do_page_cache_readahead(mapping, filp, offset, this_chunk, 0); in force_page_cache_readahead() 383 struct file_ra_state *ra, struct file *filp, in ondemand_readahead() argument [all …]
|
D | internal.h | 53 struct file *filp, pgoff_t offset, unsigned long nr_to_read, 60 struct address_space *mapping, struct file *filp) in ra_submit() argument 62 return __do_page_cache_readahead(mapping, filp, in ra_submit()
|
D | filemap.c | 1987 static void shrink_readahead_size_eio(struct file *filp, in shrink_readahead_size_eio() argument 2012 struct file *filp = iocb->ki_filp; in generic_file_buffered_read() local 2013 struct address_space *mapping = filp->f_mapping; in generic_file_buffered_read() 2015 struct file_ra_state *ra = &filp->f_ra; in generic_file_buffered_read() 2052 ra, filp, in generic_file_buffered_read() 2060 ra, filp, page, in generic_file_buffered_read() 2188 error = mapping->a_ops->readpage(filp, page); in generic_file_buffered_read() 2213 shrink_readahead_size_eio(filp, ra); in generic_file_buffered_read() 2258 file_accessed(filp); in generic_file_buffered_read()
|
D | huge_memory.c | 530 static unsigned long __thp_get_unmapped_area(struct file *filp, in __thp_get_unmapped_area() argument 545 ret = current->mm->get_unmapped_area(filp, addr, len_pad, in __thp_get_unmapped_area() 566 unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr, in thp_get_unmapped_area() argument 572 if (!IS_DAX(filp->f_mapping->host) || !IS_ENABLED(CONFIG_FS_DAX_PMD)) in thp_get_unmapped_area() 575 ret = __thp_get_unmapped_area(filp, addr, len, off, flags, PMD_SIZE); in thp_get_unmapped_area() 579 return current->mm->get_unmapped_area(filp, addr, len, pgoff, flags); in thp_get_unmapped_area()
|
D | mmap.c | 2114 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 2152 arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr, in arch_get_unmapped_area_topdown() argument
|