Lines Matching refs:address_space
126 static void page_cache_delete(struct address_space *mapping,
150 static void filemap_unaccount_folio(struct address_space *mapping,
221 struct address_space *mapping = folio->mapping;
228 void filemap_free_folio(struct address_space *mapping, struct folio *folio)
252 struct address_space *mapping = folio->mapping;
279 static void page_cache_delete_batch(struct address_space *mapping,
320 void delete_from_page_cache_batch(struct address_space *mapping,
346 int filemap_check_errors(struct address_space *mapping)
360 static int filemap_check_and_keep_errors(struct address_space *mapping)
380 int filemap_fdatawrite_wbc(struct address_space *mapping,
413 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
426 static inline int __filemap_fdatawrite(struct address_space *mapping,
432 int filemap_fdatawrite(struct address_space *mapping)
438 int filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
447 * @mapping: target address_space
454 int filemap_flush(struct address_space *mapping)
472 bool filemap_range_has_page(struct address_space *mapping,
503 static void __filemap_fdatawait_range(struct address_space *mapping,
549 int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte,
571 int filemap_fdatawait_range_keep_errors(struct address_space *mapping,
597 struct address_space *mapping = file->f_mapping;
618 int filemap_fdatawait_keep_errors(struct address_space *mapping)
626 static bool mapping_needs_writeback(struct address_space *mapping)
631 bool filemap_range_has_writeback(struct address_space *mapping,
658 * @mapping: the address_space for the pages
669 int filemap_write_and_wait_range(struct address_space *mapping,
696 void __filemap_set_wb_err(struct address_space *mapping, int err)
732 struct address_space *mapping = file->f_mapping;
758 * @file: file pointing to address_space with pages
775 struct address_space *mapping = file->f_mapping;
809 struct address_space *mapping = old->mapping;
844 noinline int __filemap_add_folio(struct address_space *mapping,
932 int filemap_add_folio(struct address_space *mapping, struct folio *folio,
989 void filemap_invalidate_lock_two(struct address_space *mapping1,
990 struct address_space *mapping2)
1009 void filemap_invalidate_unlock_two(struct address_space *mapping1,
1010 struct address_space *mapping2)
1731 pgoff_t page_cache_next_miss(struct address_space *mapping,
1767 pgoff_t page_cache_prev_miss(struct address_space *mapping,
1806 * @mapping: the address_space to search
1816 void *filemap_get_entry(struct address_space *mapping, pgoff_t index)
1849 * @mapping: The address_space to search.
1863 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index,
2006 * @mapping: The address_space to search
2024 unsigned find_get_entries(struct address_space *mapping, pgoff_t *start,
2052 * @mapping: The address_space to search.
2070 unsigned find_lock_entries(struct address_space *mapping, pgoff_t *start,
2116 * @mapping: The address_space to search
2135 unsigned filemap_get_folios(struct address_space *mapping, pgoff_t *start,
2175 * @mapping: The address_space to search
2188 unsigned filemap_get_folios_contig(struct address_space *mapping,
2248 * @mapping: The address_space to search
2259 unsigned filemap_get_folios_tag(struct address_space *mapping, pgoff_t *start,
2329 static void filemap_get_read_batch(struct address_space *mapping,
2398 static bool filemap_range_uptodate(struct address_space *mapping,
2423 struct address_space *mapping, size_t count,
2479 struct address_space *mapping, pgoff_t index,
2524 struct address_space *mapping, struct folio *folio,
2539 struct address_space *mapping = filp->f_mapping;
2611 * uses the readahead and read_folio address_space operations to fetch it.
2622 struct address_space *mapping = filp->f_mapping;
2737 struct address_space *mapping = iocb->ki_filp->f_mapping;
2752 struct address_space *mapping = iocb->ki_filp->f_mapping;
2809 struct address_space *mapping = file->f_mapping;
2991 struct address_space *mapping, struct folio *folio,
3048 loff_t mapping_seek_hole_data(struct address_space *mapping, loff_t start,
3152 struct address_space *mapping = file->f_mapping;
3269 struct address_space *mapping = file->f_mapping;
3441 struct address_space *mapping, pgoff_t end_pgoff)
3572 struct address_space *mapping = file->f_mapping;
3633 struct address_space *mapping = vmf->vma->vm_file->f_mapping;
3667 struct address_space *mapping = file->f_mapping;
3704 static struct folio *do_read_cache_folio(struct address_space *mapping,
3766 * @mapping: The address_space to read from.
3780 struct folio *read_cache_folio(struct address_space *mapping, pgoff_t index,
3790 * @mapping: The address_space for the folio.
3805 struct folio *mapping_read_folio_gfp(struct address_space *mapping,
3812 static struct page *do_read_cache_page(struct address_space *mapping,
3823 struct page *read_cache_page(struct address_space *mapping,
3833 * @mapping: the page's address_space
3846 struct page *read_cache_page_gfp(struct address_space *mapping,
3876 struct address_space *mapping = iocb->ki_filp->f_mapping;
3888 struct address_space *mapping = iocb->ki_filp->f_mapping;
3945 struct address_space *mapping = file->f_mapping;
4046 struct address_space *mapping = file->f_mapping;
4113 * The address_space is trying to release any data attached to a folio
4127 struct address_space * const mapping = folio->mapping;
4154 static void filemap_cachestat(struct address_space *mapping,
4270 struct address_space *mapping;