Home
last modified time | relevance | path

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

12

/mm/
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.c119 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
156 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
233 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
241 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
268 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
294 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
342 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
364 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
378 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
405 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
[all …]
Dswap_state.c40 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
76 struct address_space *spaces; in total_swapcache_pages()
117 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local
119 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
140 address_space->nrpages += nr; in add_to_swap_cache()
161 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local
164 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache()
177 address_space->nrpages -= nr; in __delete_from_swap_cache()
248 struct address_space *address_space = swap_address_space(entry); in delete_from_swap_cache() local
250 xa_lock_irq(&address_space->i_pages); in delete_from_swap_cache()
[all …]
Dreadahead.c33 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
47 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
64 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
88 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
116 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages()
155 unsigned int __do_page_cache_readahead(struct address_space *mapping, in __do_page_cache_readahead()
222 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead()
332 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
347 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
382 ondemand_readahead(struct address_space *mapping, in ondemand_readahead()
[all …]
Dpage-writeback.c1864 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2105 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2158 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2302 struct address_space *mapping = data; in __writepage()
2318 int generic_writepages(struct address_space *mapping, in generic_writepages()
2336 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2368 struct address_space *mapping = page->mapping; in write_one_page()
2412 void account_page_dirtied(struct page *page, struct address_space *mapping) in account_page_dirtied()
2442 void account_page_cleaned(struct page *page, struct address_space *mapping, in account_page_cleaned()
2469 struct address_space *mapping = page_mapping(page); in __set_page_dirty_nobuffers()
[all …]
Dshmem.c353 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry()
375 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap()
612 struct address_space *mapping, in shmem_add_to_page_cache()
669 struct address_space *mapping = page->mapping; in shmem_delete_from_page_cache()
688 static int shmem_free_swap(struct address_space *mapping, in shmem_free_swap()
707 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage()
743 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage()
769 void shmem_unlock_mapping(struct address_space *mapping) in shmem_unlock_mapping()
803 struct address_space *mapping = inode->i_mapping; in shmem_undo_range()
1126 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()
235 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
325 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
381 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dmigrate.c87 struct address_space *mapping; in isolate_movable_page()
149 struct address_space *mapping; in putback_movable_page()
375 static int expected_page_refs(struct address_space *mapping, struct page *page) in expected_page_refs()
398 int migrate_page_move_mapping(struct address_space *mapping, in migrate_page_move_mapping()
516 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()
831 int buffer_migrate_page(struct address_space *mapping, in buffer_migrate_page()
844 int buffer_migrate_page_norefs(struct address_space *mapping, in buffer_migrate_page_norefs()
854 static int writeout(struct address_space *mapping, struct page *page) in writeout()
[all …]
Dmemory-failure.c83 struct address_space *mapping; in hwpoison_filter_dev()
479 struct address_space *mapping = page->mapping; in collect_procs_file()
594 struct address_space *mapping) in truncate_error_page()
650 struct address_space *mapping; in me_pagecache_clean()
691 struct address_space *mapping = page_mapping(p); in me_pagecache_dirty()
787 struct address_space *mapping; in me_huge_page()
969 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()
Dswap.c991 struct address_space *mapping, in pagevec_lookup_entries()
1042 struct address_space *mapping, pgoff_t *start, pgoff_t end) in pagevec_lookup_range()
1051 struct address_space *mapping, pgoff_t *index, pgoff_t end, in pagevec_lookup_range_tag()
1061 struct address_space *mapping, pgoff_t *index, pgoff_t end, in pagevec_lookup_range_nr_tag()
Dworkingset.c456 struct address_space *mapping; in shadow_lru_isolate()
471 mapping = container_of(node->array, struct address_space, i_pages); in shadow_lru_isolate()
Dutil.c698 struct address_space *page_mapping(struct page *page) in page_mapping()
700 struct address_space *mapping; in page_mapping()
726 struct address_space *page_mapping_file(struct page *page) in page_mapping_file()
Dinternal.h52 extern unsigned int __do_page_cache_readahead(struct address_space *mapping,
60 struct address_space *mapping, struct file *filp) in ra_submit()
Dhugetlb.c782 struct address_space *mapping = vma->vm_file->f_mapping; in vma_resv_map()
1367 page = container_of((struct address_space **)node, in free_hpage_workfn()
3751 struct address_space *mapping; in unmap_ref_private()
3930 struct address_space *mapping; in hugetlbfs_pagecache_page()
3946 struct address_space *mapping; in hugetlbfs_pagecache_present()
3959 int huge_add_to_page_cache(struct page *page, struct address_space *mapping, in huge_add_to_page_cache()
3984 struct address_space *mapping, pgoff_t idx, in hugetlb_no_page()
4169 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping, in hugetlb_fault_mutex_hash()
4187 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping, in hugetlb_fault_mutex_hash()
4205 struct address_space *mapping; in hugetlb_fault()
[all …]
Drmap.c981 struct address_space *mapping; in page_mkclean()
1028 WRITE_ONCE(page->mapping, (struct address_space *) anon_vma); in page_move_anon_rmap()
1057 page->mapping = (struct address_space *) anon_vma; in __page_set_anon_rmap()
1924 struct address_space *mapping = page_mapping(page); in rmap_walk_file()
Dfadvise.c33 struct address_space *mapping; in generic_fadvise()
Dvmscan.c804 static void handle_write_error(struct address_space *mapping, in handle_write_error()
829 static pageout_t pageout(struct page *page, struct address_space *mapping, in pageout()
904 static int __remove_mapping(struct address_space *mapping, struct page *page, in __remove_mapping()
998 int remove_mapping(struct address_space *mapping, struct page *page) in remove_mapping()
1097 struct address_space *mapping; in page_check_dirty_writeback()
1142 struct address_space *mapping; in shrink_page_list()
1609 struct address_space *mapping; in __isolate_lru_page()
Dballoon_compaction.c233 int balloon_page_migrate(struct address_space *mapping, in balloon_page_migrate()
Ddebug.c47 struct address_space *mapping; in __dump_page()
Dmmap.c140 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
161 struct address_space *mapping = file->f_mapping; in unlink_file_vma()
618 struct address_space *mapping = file->f_mapping; in __vma_link_file()
644 struct address_space *mapping = NULL; in vma_link()
723 struct address_space *mapping = NULL; in __vma_adjust()
3528 static void vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping) in vm_lock_mapping()
3645 static void vm_unlock_mapping(struct address_space *mapping) in vm_unlock_mapping()
Dmincore.c51 static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff) in mincore_page()
Dmemfd.c74 static int memfd_wait_for_pins(struct address_space *mapping) in memfd_wait_for_pins()
Dkhugepaged.c1453 static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) in retract_page_tables()
1544 struct address_space *mapping = file->f_mapping; in collapse_file()
1867 struct address_space *mapping = file->f_mapping; in khugepaged_scan_file()
Dswapfile.c2315 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
2403 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
2541 struct address_space *mapping; in SYSCALL_DEFINE1()
3124 struct address_space *mapping; in SYSCALL_DEFINE2()
3515 struct address_space *__page_file_mapping(struct page *page) in __page_file_mapping()

12