/mm/ |
D | swap_state.c | 39 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 …]
|
D | truncate.c | 34 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 …]
|
D | filemap.c | 125 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 …]
|
D | readahead.c | 35 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()
|
D | page-writeback.c | 1883 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 …]
|
D | shmem.c | 421 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 …]
|
D | page_io.c | 102 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()
|
D | migrate.c | 65 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 …]
|
D | memory-failure.c | 110 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()
|
D | cleancache.c | 243 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()
|
D | internal.h | 76 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);
|
D | mapping_dirty_helpers.c | 274 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()
|
D | hugetlb.c | 964 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 …]
|
D | workingset.c | 522 struct address_space *mapping; in shadow_lru_isolate() 537 mapping = container_of(node->array, struct address_space, i_pages); in shadow_lru_isolate()
|
D | swap.c | 1228 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()
|
D | util.c | 792 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()
|
D | fadvise.c | 35 struct address_space *mapping; in generic_fadvise()
|
D | rmap.c | 1005 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()
|
D | balloon_compaction.c | 233 int balloon_page_migrate(struct address_space *mapping, in balloon_page_migrate()
|
D | vmscan.c | 788 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()
|
D | mincore.c | 51 static unsigned char mincore_page(struct address_space *mapping, pgoff_t index) in mincore_page()
|
D | mmap.c | 144 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()
|
D | memfd.c | 74 static int memfd_wait_for_pins(struct address_space *mapping) in memfd_wait_for_pins()
|
D | debug.c | 49 struct address_space *mapping; in __dump_page()
|
D | khugepaged.c | 1597 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()
|