Lines Matching defs:mapping
116 static int page_cache_tree_insert(struct address_space *mapping, in page_cache_tree_insert()
144 static void page_cache_tree_delete(struct address_space *mapping, in page_cache_tree_delete()
190 struct address_space *mapping = page->mapping; in __delete_from_page_cache() local
269 struct address_space *mapping = page_mapping(page); in delete_from_page_cache() local
293 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
307 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
332 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
353 static inline int __filemap_fdatawrite(struct address_space *mapping, in __filemap_fdatawrite()
359 int filemap_fdatawrite(struct address_space *mapping) in filemap_fdatawrite()
365 int filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in filemap_fdatawrite_range()
379 int filemap_flush(struct address_space *mapping) in filemap_flush()
394 bool filemap_range_has_page(struct address_space *mapping, in filemap_range_has_page()
414 static void __filemap_fdatawait_range(struct address_space *mapping, in __filemap_fdatawait_range()
459 int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, in filemap_fdatawait_range()
481 int filemap_fdatawait_range_keep_errors(struct address_space *mapping, in filemap_fdatawait_range_keep_errors()
505 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() local
524 int filemap_fdatawait_keep_errors(struct address_space *mapping) in filemap_fdatawait_keep_errors()
531 static bool mapping_needs_writeback(struct address_space *mapping) in mapping_needs_writeback()
537 int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait()
575 int filemap_write_and_wait_range(struct address_space *mapping, in filemap_write_and_wait_range()
600 void __filemap_set_wb_err(struct address_space *mapping, int err) in __filemap_set_wb_err()
634 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() local
675 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() local
716 struct address_space *mapping = old->mapping; in replace_page_cache_page() local
752 struct address_space *mapping, in __add_to_page_cache_locked()
815 int add_to_page_cache_locked(struct page *page, struct address_space *mapping, in add_to_page_cache_locked()
823 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru()
1190 struct address_space *mapping; in page_endio() local
1286 pgoff_t page_cache_next_hole(struct address_space *mapping, in page_cache_next_hole()
1327 pgoff_t page_cache_prev_hole(struct address_space *mapping, in page_cache_prev_hole()
1360 struct page *find_get_entry(struct address_space *mapping, pgoff_t offset) in find_get_entry()
1427 struct page *find_lock_entry(struct address_space *mapping, pgoff_t offset) in find_lock_entry()
1475 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t offset, in pagecache_get_page()
1571 unsigned find_get_entries(struct address_space *mapping, in find_get_entries()
1648 unsigned find_get_pages_range(struct address_space *mapping, pgoff_t *start, in find_get_pages_range()
1734 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t index, in find_get_pages_contig()
1813 unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index, in find_get_pages_range_tag()
1907 unsigned find_get_entries_tag(struct address_space *mapping, pgoff_t start, in find_get_entries_tag()
2003 struct address_space *mapping = filp->f_mapping; in generic_file_buffered_read() local
2271 struct address_space *mapping = file->f_mapping; in generic_file_read_iter() local
2395 struct address_space *mapping = file->f_mapping; in do_sync_mmap_readahead() local
2444 struct address_space *mapping = file->f_mapping; in do_async_mmap_readahead() local
2489 struct address_space *mapping = file->f_mapping; in filemap_fault() local
2616 struct address_space *mapping = file->f_mapping; in filemap_map_pages() local
2731 struct address_space *mapping = file->f_mapping; in generic_file_mmap() local
2775 static struct page *do_read_cache_page(struct address_space *mapping, in do_read_cache_page()
2882 struct page *read_cache_page(struct address_space *mapping, in read_cache_page()
2902 struct page *read_cache_page_gfp(struct address_space *mapping, in read_cache_page_gfp()
2971 int pagecache_write_begin(struct file *file, struct address_space *mapping, in pagecache_write_begin()
2982 int pagecache_write_end(struct file *file, struct address_space *mapping, in pagecache_write_end()
2996 struct address_space *mapping = file->f_mapping; in generic_file_direct_write() local
3074 struct page *grab_cache_page_write_begin(struct address_space *mapping, in grab_cache_page_write_begin()
3095 struct address_space *mapping = file->f_mapping; in generic_perform_write() local
3196 struct address_space * mapping = file->f_mapping; in __generic_file_write_iter() local
3314 struct address_space * const mapping = page->mapping; in try_to_release_page() local