Home
last modified time | relevance | path

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

12

/mm/
Dswap_state.c35 struct address_space swapper_spaces[MAX_SWAPFILES] = {
84 struct address_space *address_space; in __add_to_swap_cache() local
94 address_space = swap_address_space(entry); in __add_to_swap_cache()
95 spin_lock_irq(&address_space->tree_lock); in __add_to_swap_cache()
96 error = radix_tree_insert(&address_space->page_tree, in __add_to_swap_cache()
99 address_space->nrpages++; in __add_to_swap_cache()
103 spin_unlock_irq(&address_space->tree_lock); in __add_to_swap_cache()
140 struct address_space *address_space; in __delete_from_swap_cache() local
147 address_space = swap_address_space(entry); in __delete_from_swap_cache()
148 radix_tree_delete(&address_space->page_tree, swp_offset(entry)); in __delete_from_swap_cache()
[all …]
Dfilemap.c113 static int page_cache_tree_insert(struct address_space *mapping, in page_cache_tree_insert()
169 static void page_cache_tree_delete(struct address_space *mapping, in page_cache_tree_delete()
245 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
322 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
346 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
375 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
395 static inline int __filemap_fdatawrite(struct address_space *mapping, in __filemap_fdatawrite()
401 int filemap_fdatawrite(struct address_space *mapping) in filemap_fdatawrite()
407 int filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in filemap_fdatawrite_range()
421 int filemap_flush(struct address_space *mapping) in filemap_flush()
[all …]
Dreadahead.c30 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
44 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
61 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
83 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
111 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages()
150 int __do_page_cache_readahead(struct address_space *mapping, struct file *filp, in __do_page_cache_readahead()
209 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead()
317 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
332 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
367 ondemand_readahead(struct address_space *mapping, in ondemand_readahead()
[all …]
Dtruncate.c27 static void clear_exceptional_entry(struct address_space *mapping, in clear_exceptional_entry()
113 truncate_complete_page(struct address_space *mapping, struct page *page) in truncate_complete_page()
141 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
156 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
173 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
195 struct address_space *mapping = page_mapping(page); in invalidate_inode_page()
229 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
399 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages()
414 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final()
465 unsigned long invalidate_mapping_pages(struct address_space *mapping, in invalidate_mapping_pages()
[all …]
Dpage-writeback.c1562 static void balance_dirty_pages(struct address_space *mapping, in balance_dirty_pages()
1863 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2104 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2145 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2308 struct address_space *mapping = data; in __writepage()
2322 int generic_writepages(struct address_space *mapping, in generic_writepages()
2340 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2364 struct address_space *mapping = page->mapping; in write_one_page()
2409 void account_page_dirtied(struct page *page, struct address_space *mapping) in account_page_dirtied()
2439 void account_page_cleaned(struct page *page, struct address_space *mapping, in account_page_cleaned()
[all …]
Dpage_io.c142 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
271 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
352 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
390 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dshmem.c300 static int shmem_radix_tree_replace(struct address_space *mapping, in shmem_radix_tree_replace()
325 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap()
551 struct address_space *mapping, in shmem_add_to_page_cache()
614 struct address_space *mapping = page->mapping; in shmem_delete_from_page_cache()
633 static int shmem_free_swap(struct address_space *mapping, in shmem_free_swap()
654 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage()
700 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage()
726 void shmem_unlock_mapping(struct address_space *mapping) in shmem_unlock_mapping()
760 struct address_space *mapping = inode->i_mapping; in shmem_undo_range()
1077 struct address_space *mapping = info->vfs_inode.i_mapping; in shmem_unuse_inode()
[all …]
Dmigrate.c80 struct address_space *mapping; in isolate_movable_page()
142 struct address_space *mapping; in putback_movable_page()
406 int migrate_page_move_mapping(struct address_space *mapping, in migrate_page_move_mapping()
532 int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
694 int migrate_page(struct address_space *mapping, in migrate_page()
718 int buffer_migrate_page(struct address_space *mapping, in buffer_migrate_page()
775 static int writeout(struct address_space *mapping, struct page *page) in writeout()
816 static int fallback_migrate_page(struct address_space *mapping, in fallback_migrate_page()
851 struct address_space *mapping; in move_to_new_page()
Dcleancache.c244 void __cleancache_invalidate_page(struct address_space *mapping, in __cleancache_invalidate_page()
274 void __cleancache_invalidate_inode(struct address_space *mapping) in __cleancache_invalidate_inode()
Dworkingset.c205 void *workingset_eviction(struct address_space *mapping, struct page *page) in workingset_eviction()
386 struct address_space *mapping; in shadow_lru_isolate()
Dmemory-failure.c84 struct address_space *mapping; in hwpoison_filter_dev()
442 struct address_space *mapping = page->mapping; in collect_procs_file()
580 struct address_space *mapping; in me_pagecache_clean()
644 struct address_space *mapping = page_mapping(p); in me_pagecache_dirty()
919 struct address_space *mapping; in hwpoison_user_mappings()
Dinternal.h49 extern int __do_page_cache_readahead(struct address_space *mapping,
57 struct address_space *mapping, struct file *filp) in ra_submit()
Drmap.c1097 struct address_space *mapping; in page_mkclean()
1144 WRITE_ONCE(page->mapping, (struct address_space *) anon_vma); in page_move_anon_rmap()
1173 page->mapping = (struct address_space *) anon_vma; in __page_set_anon_rmap()
1847 struct address_space *mapping = page_mapping(page); in rmap_walk_file()
1927 page->mapping = (struct address_space *) anon_vma; in __hugepage_set_anon_rmap()
Dswap.c903 struct address_space *mapping, in pagevec_lookup_entries()
949 unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, in pagevec_lookup()
957 unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, in pagevec_lookup_tag()
Dutil.c411 struct address_space *page_mapping(struct page *page) in page_mapping()
413 struct address_space *mapping; in page_mapping()
Dhugetlb.c754 struct address_space *mapping = vma->vm_file->f_mapping; in vma_resv_map()
3428 struct address_space *mapping; in unmap_ref_private()
3607 struct address_space *mapping; in hugetlbfs_pagecache_page()
3623 struct address_space *mapping; in hugetlbfs_pagecache_present()
3636 int huge_add_to_page_cache(struct page *page, struct address_space *mapping, in huge_add_to_page_cache()
3654 struct address_space *mapping, pgoff_t idx, in hugetlb_no_page()
3785 struct address_space *mapping, in hugetlb_fault_mutex_hash()
3810 struct address_space *mapping, in hugetlb_fault_mutex_hash()
3828 struct address_space *mapping; in hugetlb_fault()
4332 struct address_space *mapping = vma->vm_file->f_mapping; in huge_pmd_share()
Dvmscan.c566 static void handle_write_error(struct address_space *mapping, in handle_write_error()
591 static pageout_t pageout(struct page *page, struct address_space *mapping, in pageout()
666 static int __remove_mapping(struct address_space *mapping, struct page *page, in __remove_mapping()
758 int remove_mapping(struct address_space *mapping, struct page *page) in remove_mapping()
910 struct address_space *mapping; in page_check_dirty_writeback()
962 struct address_space *mapping; in shrink_page_list()
1376 struct address_space *mapping; in __isolate_lru_page()
Dballoon_compaction.c136 int balloon_page_migrate(struct address_space *mapping, in balloon_page_migrate()
Dfadvise.c32 struct address_space *mapping; in SYSCALL_DEFINE4()
Dkhugepaged.c1245 static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) in retract_page_tables()
1302 struct address_space *mapping, pgoff_t start, in collapse_shmem()
1568 struct address_space *mapping, in khugepaged_scan_shmem()
1650 struct address_space *mapping, in khugepaged_scan_shmem()
Dmmap.c134 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
155 struct address_space *mapping = file->f_mapping; in unlink_file_vma()
579 struct address_space *mapping = file->f_mapping; in __vma_link_file()
605 struct address_space *mapping = NULL; in vma_link()
684 struct address_space *mapping = NULL; in __vma_adjust()
3329 static void vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping) in vm_lock_mapping()
3446 static void vm_unlock_mapping(struct address_space *mapping) in vm_unlock_mapping()
Dmincore.c49 static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff) in mincore_page()
Dswapfile.c1688 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
1775 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
1864 struct address_space *mapping; in SYSCALL_DEFINE1()
2393 struct address_space *mapping; in SYSCALL_DEFINE2()
2746 struct address_space *__page_file_mapping(struct page *page) in __page_file_mapping()
Dnommu.c685 struct address_space *mapping; in add_vma_to_mm()
751 struct address_space *mapping; in delete_vma_from_mm()
1790 void unmap_mapping_range(struct address_space *mapping, in unmap_mapping_range()
Dcompaction.c100 struct address_space *mapping; in PageMovable()
114 void __SetPageMovable(struct page *page, struct address_space *mapping) in __SetPageMovable()

12