/mm/ |
D | readahead.c | 85 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages() argument 92 ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages); in read_pages() 103 mapping->a_ops->readpage(filp, page); in read_pages() 124 __do_page_cache_readahead(struct address_space *mapping, struct file *filp, in __do_page_cache_readahead() argument 172 read_pages(mapping, filp, &page_pool, ret); in __do_page_cache_readahead() 182 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead() argument 197 err = __do_page_cache_readahead(mapping, filp, in force_page_cache_readahead() 217 int do_page_cache_readahead(struct address_space *mapping, struct file *filp, in do_page_cache_readahead() argument 223 return __do_page_cache_readahead(mapping, filp, offset, nr_to_read, 0); in do_page_cache_readahead() 252 struct address_space *mapping, struct file *filp) in ra_submit() argument [all …]
|
D | filemap_xip.c | 53 struct file *filp, in do_xip_mapping_read() argument 139 if (filp) in do_xip_mapping_read() 140 file_accessed(filp); in do_xip_mapping_read() 146 xip_file_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) in xip_file_read() argument 151 return do_xip_mapping_read(filp->f_mapping, &filp->f_ra, filp, in xip_file_read() 315 __xip_file_write(struct file *filp, const char __user *buf, in __xip_file_write() argument 318 struct address_space * mapping = filp->f_mapping; in __xip_file_write() 389 xip_file_write(struct file *filp, const char __user *buf, size_t len, in xip_file_write() argument 392 struct address_space *mapping = filp->f_mapping; in xip_file_write() 413 ret = generic_write_checks(filp, &pos, &count, S_ISBLK(inode->i_mode)); in xip_file_write() [all …]
|
D | page-writeback.c | 169 struct file *filp, void __user *buffer, size_t *lenp, in dirty_background_ratio_handler() argument 174 ret = proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in dirty_background_ratio_handler() 181 struct file *filp, void __user *buffer, size_t *lenp, in dirty_background_bytes_handler() argument 186 ret = proc_doulongvec_minmax(table, write, filp, buffer, lenp, ppos); in dirty_background_bytes_handler() 193 struct file *filp, void __user *buffer, size_t *lenp, in dirty_ratio_handler() argument 199 ret = proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); in dirty_ratio_handler() 209 struct file *filp, void __user *buffer, size_t *lenp, in dirty_bytes_handler() argument 215 ret = proc_doulongvec_minmax(table, write, filp, buffer, lenp, ppos); in dirty_bytes_handler()
|
D | filemap.c | 983 static void shrink_readahead_size_eio(struct file *filp, in shrink_readahead_size_eio() argument 1005 static void do_generic_file_read(struct file *filp, loff_t *ppos, in do_generic_file_read() argument 1008 struct address_space *mapping = filp->f_mapping; in do_generic_file_read() 1010 struct file_ra_state *ra = &filp->f_ra; in do_generic_file_read() 1035 ra, filp, in do_generic_file_read() 1043 ra, filp, page, in do_generic_file_read() 1143 error = mapping->a_ops->readpage(filp, page); in do_generic_file_read() 1167 shrink_readahead_size_eio(filp, ra); in do_generic_file_read() 1210 file_accessed(filp); in do_generic_file_read() 1304 struct file *filp = iocb->ki_filp; in generic_file_aio_read() local [all …]
|
D | shmem.c | 1620 static void do_shmem_file_read(struct file *filp, loff_t *ppos, read_descriptor_t *desc, read_actor… in do_shmem_file_read() argument 1622 struct inode *inode = filp->f_path.dentry->d_inode; in do_shmem_file_read() 1719 file_accessed(filp); in do_shmem_file_read() 1725 struct file *filp = iocb->ki_filp; in shmem_file_aio_read() local 1744 do_shmem_file_read(filp, ppos, &desc, file_read_actor); in shmem_file_aio_read()
|
D | mmap.c | 1278 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() argument 1352 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument 1426 addr = arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
|