Lines Matching defs:mapping

126 static void page_cache_delete(struct address_space *mapping,  in page_cache_delete()
150 static void filemap_unaccount_folio(struct address_space *mapping, in filemap_unaccount_folio()
221 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local
228 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio()
252 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local
279 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
320 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
346 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
360 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
380 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc()
413 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
426 static inline int __filemap_fdatawrite(struct address_space *mapping, in __filemap_fdatawrite()
432 int filemap_fdatawrite(struct address_space *mapping) in filemap_fdatawrite()
438 int filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in filemap_fdatawrite_range()
454 int filemap_flush(struct address_space *mapping) in filemap_flush()
472 bool filemap_range_has_page(struct address_space *mapping, in filemap_range_has_page()
503 static void __filemap_fdatawait_range(struct address_space *mapping, in __filemap_fdatawait_range()
549 int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, in filemap_fdatawait_range()
571 int filemap_fdatawait_range_keep_errors(struct address_space *mapping, in filemap_fdatawait_range_keep_errors()
597 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() local
618 int filemap_fdatawait_keep_errors(struct address_space *mapping) in filemap_fdatawait_keep_errors()
626 static bool mapping_needs_writeback(struct address_space *mapping) in mapping_needs_writeback()
631 bool filemap_range_has_writeback(struct address_space *mapping, in filemap_range_has_writeback()
669 int filemap_write_and_wait_range(struct address_space *mapping, in filemap_write_and_wait_range()
696 void __filemap_set_wb_err(struct address_space *mapping, int err) in __filemap_set_wb_err()
732 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() local
775 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() local
809 struct address_space *mapping = old->mapping; in replace_page_cache_folio() local
844 noinline int __filemap_add_folio(struct address_space *mapping, in __filemap_add_folio()
932 int filemap_add_folio(struct address_space *mapping, struct folio *folio, in filemap_add_folio()
1731 pgoff_t page_cache_next_miss(struct address_space *mapping, in page_cache_next_miss()
1767 pgoff_t page_cache_prev_miss(struct address_space *mapping, in page_cache_prev_miss()
1816 void *filemap_get_entry(struct address_space *mapping, pgoff_t index) in filemap_get_entry()
1863 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index, in __filemap_get_folio()
2024 unsigned find_get_entries(struct address_space *mapping, pgoff_t *start, in find_get_entries()
2070 unsigned find_lock_entries(struct address_space *mapping, pgoff_t *start, in find_lock_entries()
2135 unsigned filemap_get_folios(struct address_space *mapping, pgoff_t *start, in filemap_get_folios()
2188 unsigned filemap_get_folios_contig(struct address_space *mapping, in filemap_get_folios_contig()
2259 unsigned filemap_get_folios_tag(struct address_space *mapping, pgoff_t *start, in filemap_get_folios_tag()
2329 static void filemap_get_read_batch(struct address_space *mapping, in filemap_get_read_batch()
2398 static bool filemap_range_uptodate(struct address_space *mapping, in filemap_range_uptodate()
2423 struct address_space *mapping, size_t count, in filemap_update_page()
2479 struct address_space *mapping, pgoff_t index, in filemap_create_folio()
2524 struct address_space *mapping, struct folio *folio, in filemap_readahead()
2539 struct address_space *mapping = filp->f_mapping; in filemap_get_pages() local
2622 struct address_space *mapping = filp->f_mapping; in filemap_read() local
2728 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_write_and_wait() local
2743 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_invalidate_pages() local
2800 struct address_space *mapping = file->f_mapping; in generic_file_read_iter() local
2982 struct address_space *mapping, struct folio *folio, in folio_seek_hole_data()
3039 loff_t mapping_seek_hole_data(struct address_space *mapping, loff_t start, in mapping_seek_hole_data()
3143 struct address_space *mapping = file->f_mapping; in do_sync_mmap_readahead() local
3260 struct address_space *mapping = file->f_mapping; in filemap_fault() local
3432 struct address_space *mapping, pgoff_t end_pgoff) in next_uptodate_folio()
3563 struct address_space *mapping = file->f_mapping; in filemap_map_pages() local
3624 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in filemap_page_mkwrite() local
3658 struct address_space *mapping = file->f_mapping; in generic_file_mmap() local
3695 static struct folio *do_read_cache_folio(struct address_space *mapping, in do_read_cache_folio()
3771 struct folio *read_cache_folio(struct address_space *mapping, pgoff_t index, in read_cache_folio()
3796 struct folio *mapping_read_folio_gfp(struct address_space *mapping, in mapping_read_folio_gfp()
3803 static struct page *do_read_cache_page(struct address_space *mapping, in do_read_cache_page()
3814 struct page *read_cache_page(struct address_space *mapping, in read_cache_page()
3837 struct page *read_cache_page_gfp(struct address_space *mapping, in read_cache_page_gfp()
3867 struct address_space *mapping = iocb->ki_filp->f_mapping; in kiocb_invalidate_post_direct_write() local
3879 struct address_space *mapping = iocb->ki_filp->f_mapping; in generic_file_direct_write() local
3936 struct address_space *mapping = file->f_mapping; in generic_perform_write() local
4037 struct address_space *mapping = file->f_mapping; in __generic_file_write_iter() local
4118 struct address_space * const mapping = folio->mapping; in filemap_release_folio() local
4145 static void filemap_cachestat(struct address_space *mapping, in filemap_cachestat()
4260 struct address_space *mapping; in SYSCALL_DEFINE4() local