Home
last modified time | relevance | path

Searched refs:address_space (Results 1 – 25 of 37) sorted by relevance

12

/mm/
Dswap_state.c39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
75 struct address_space *spaces; in total_swapcache_pages()
113 struct address_space *address_space = swap_address_space(entry); in get_shadow_from_swap_cache() local
117 page = find_get_entry(address_space, idx); in get_shadow_from_swap_cache()
132 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local
134 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
164 address_space->nrexceptional -= nr_shadows; in add_to_swap_cache()
165 address_space->nrpages += nr; in add_to_swap_cache()
187 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local
190 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache()
[all …]
Dtruncate.c34 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
46 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry()
59 static void truncate_exceptional_pvec_entries(struct address_space *mapping, in truncate_exceptional_pvec_entries()
111 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
125 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
202 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
217 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
232 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
254 struct address_space *mapping = page_mapping(page); in invalidate_inode_page()
288 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
[all …]
Dfilemap.c125 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
162 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
239 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
247 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
274 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
300 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
348 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
370 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
384 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
411 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
[all …]
Dreadahead.c35 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
49 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
66 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
90 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
118 gfp_t readahead_gfp_mask(struct address_space *x) in readahead_gfp_mask()
187 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded()
287 struct address_space *mapping = ractl->mapping; in force_page_cache_ra()
396 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
411 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
Dpage-writeback.c1883 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2121 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2174 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2316 struct address_space *mapping = data; in __writepage()
2332 int generic_writepages(struct address_space *mapping, in generic_writepages()
2350 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2382 struct address_space *mapping = page->mapping; in write_one_page()
2426 void account_page_dirtied(struct page *page, struct address_space *mapping) in account_page_dirtied()
2456 void account_page_cleaned(struct page *page, struct address_space *mapping, in account_page_cleaned()
2483 struct address_space *mapping = page_mapping(page); in __set_page_dirty_nobuffers()
[all …]
Dshmem.c421 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry()
443 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap()
680 struct address_space *mapping, in shmem_add_to_page_cache()
754 struct address_space *mapping = page->mapping; in shmem_delete_from_page_cache()
773 static int shmem_free_swap(struct address_space *mapping, in shmem_free_swap()
792 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage()
828 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage()
854 void shmem_unlock_mapping(struct address_space *mapping) in shmem_unlock_mapping()
914 struct address_space *mapping = inode->i_mapping; in shmem_undo_range()
1199 static int shmem_find_swap_entries(struct address_space *mapping, in shmem_find_swap_entries()
[all …]
Dpage_io.c102 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
266 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
359 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
421 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dmigrate.c65 struct address_space *mapping; in isolate_movable_page()
127 struct address_space *mapping; in putback_movable_page()
359 static int expected_page_refs(struct address_space *mapping, struct page *page) in expected_page_refs()
382 int migrate_page_move_mapping(struct address_space *mapping, in migrate_page_move_mapping()
504 int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
681 int migrate_page(struct address_space *mapping, in migrate_page()
741 static int __buffer_migrate_page(struct address_space *mapping, in __buffer_migrate_page()
825 int buffer_migrate_page(struct address_space *mapping, in buffer_migrate_page()
838 int buffer_migrate_page_norefs(struct address_space *mapping, in buffer_migrate_page_norefs()
848 static int writeout(struct address_space *mapping, struct page *page) in writeout()
[all …]
Dmemory-failure.c110 struct address_space *mapping; in hwpoison_filter_dev()
513 struct address_space *mapping = page->mapping; in collect_procs_file()
621 struct address_space *mapping) in truncate_error_page()
677 struct address_space *mapping; in me_pagecache_clean()
718 struct address_space *mapping = page_mapping(p); in me_pagecache_dirty()
814 struct address_space *mapping; in me_huge_page()
993 struct address_space *mapping; in hwpoison_user_mappings()
Dcleancache.c243 void __cleancache_invalidate_page(struct address_space *mapping, in __cleancache_invalidate_page()
273 void __cleancache_invalidate_inode(struct address_space *mapping) in __cleancache_invalidate_inode()
Dinternal.h76 static inline void force_page_cache_readahead(struct address_space *mapping, in force_page_cache_readahead()
83 struct page *find_get_entry(struct address_space *mapping, pgoff_t index);
84 struct page *find_lock_entry(struct address_space *mapping, pgoff_t index);
Dmapping_dirty_helpers.c274 unsigned long wp_shared_mapping_range(struct address_space *mapping, in wp_shared_mapping_range()
323 unsigned long clean_record_shared_mapping_range(struct address_space *mapping, in clean_record_shared_mapping_range()
Dhugetlb.c964 struct address_space *mapping = vma->vm_file->f_mapping; in vma_resv_map()
1518 page = container_of((struct address_space **)node, in free_hpage_workfn()
1624 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage) in hugetlb_page_mapping_lock_write()
1626 struct address_space *mapping = page_mapping(hpage); in hugetlb_page_mapping_lock_write()
3824 struct address_space *mapping = vma->vm_file->f_mapping; in copy_hugetlb_page_range()
4098 struct address_space *mapping; in unmap_ref_private()
4204 struct address_space *mapping = vma->vm_file->f_mapping; in hugetlb_cow()
4297 struct address_space *mapping; in hugetlbfs_pagecache_page()
4313 struct address_space *mapping; in hugetlbfs_pagecache_present()
4326 int huge_add_to_page_cache(struct page *page, struct address_space *mapping, in huge_add_to_page_cache()
[all …]
Dworkingset.c522 struct address_space *mapping; in shadow_lru_isolate()
537 mapping = container_of(node->array, struct address_space, i_pages); in shadow_lru_isolate()
Dswap.c1228 struct address_space *mapping, in pagevec_lookup_entries()
1279 struct address_space *mapping, pgoff_t *start, pgoff_t end) in pagevec_lookup_range()
1288 struct address_space *mapping, pgoff_t *index, pgoff_t end, in pagevec_lookup_range_tag()
1298 struct address_space *mapping, pgoff_t *index, pgoff_t end, in pagevec_lookup_range_nr_tag()
Dutil.c792 struct address_space *page_mapping(struct page *page) in page_mapping()
794 struct address_space *mapping; in page_mapping()
820 struct address_space *page_mapping_file(struct page *page) in page_mapping_file()
Dfadvise.c35 struct address_space *mapping; in generic_fadvise()
Drmap.c1005 struct address_space *mapping; in page_mkclean()
1052 WRITE_ONCE(page->mapping, (struct address_space *) anon_vma); in page_move_anon_rmap()
1081 page->mapping = (struct address_space *) anon_vma; in __page_set_anon_rmap()
2014 struct address_space *mapping = page_mapping(page); in rmap_walk_file()
Dballoon_compaction.c233 int balloon_page_migrate(struct address_space *mapping, in balloon_page_migrate()
Dvmscan.c788 static void handle_write_error(struct address_space *mapping, in handle_write_error()
813 static pageout_t pageout(struct page *page, struct address_space *mapping) in pageout()
887 static int __remove_mapping(struct address_space *mapping, struct page *page, in __remove_mapping()
983 int remove_mapping(struct address_space *mapping, struct page *page) in remove_mapping()
1093 struct address_space *mapping; in page_check_dirty_writeback()
1138 struct address_space *mapping; in shrink_page_list()
1639 struct address_space *mapping; in __isolate_lru_page()
Dmincore.c51 static unsigned char mincore_page(struct address_space *mapping, pgoff_t index) in mincore_page()
Dmmap.c144 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
165 struct address_space *mapping = file->f_mapping; in unlink_file_vma()
702 struct address_space *mapping = file->f_mapping; in __vma_link_file()
728 struct address_space *mapping = NULL; in vma_link()
784 struct address_space *mapping = NULL; in __vma_adjust()
3719 static void vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping) in vm_lock_mapping()
3836 static void vm_unlock_mapping(struct address_space *mapping) in vm_unlock_mapping()
Dmemfd.c74 static int memfd_wait_for_pins(struct address_space *mapping) in memfd_wait_for_pins()
Ddebug.c49 struct address_space *mapping; in __dump_page()
Dkhugepaged.c1597 static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) in retract_page_tables()
1690 struct address_space *mapping = file->f_mapping; in collapse_file()
2040 struct address_space *mapping = file->f_mapping; in khugepaged_scan_file()

12