Home
last modified time | relevance | path

Searched defs:mapping (Results 1 – 25 of 40) sorted by relevance

12

/mm/
Dfilemap.c144 struct address_space *mapping) in mapping_set_update()
152 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
173 static void filemap_unaccount_folio(struct address_space *mapping, in filemap_unaccount_folio()
255 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local
262 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio()
286 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local
313 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
354 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
380 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
394 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
[all …]
Dtruncate.c35 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
46 static void clear_shadow_entries(struct address_space *mapping, in clear_shadow_entries()
76 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals()
176 int truncate_inode_folio(struct address_space *mapping, struct folio *folio) in truncate_inode_folio()
242 int generic_error_remove_folio(struct address_space *mapping, in generic_error_remove_folio()
268 long mapping_evict_folio(struct address_space *mapping, struct folio *folio) in mapping_evict_folio()
309 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
429 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages()
444 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final()
484 unsigned long mapping_try_invalidate(struct address_space *mapping, in mapping_try_invalidate()
[all …]
Dpage-writeback.c2077 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags()
2149 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2417 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2439 static bool folio_prepare_writeback(struct address_space *mapping, in folio_prepare_writeback()
2485 static struct folio *writeback_get_folio(struct address_space *mapping, in writeback_get_folio()
2538 struct folio *writeback_iter(struct address_space *mapping, in writeback_iter()
2638 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2657 static int writeback_use_writepage(struct address_space *mapping, in writeback_use_writepage()
2678 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2722 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio()
[all …]
Dshmem.c278 bool shmem_mapping(struct address_space *mapping) in shmem_mapping()
466 struct address_space *mapping = inode->i_mapping; in shmem_charge() local
491 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry()
513 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap()
799 struct address_space *mapping, in shmem_add_to_page_cache()
850 struct address_space *mapping = folio->mapping; in shmem_delete_from_page_cache() local
870 static long shmem_free_swap(struct address_space *mapping, in shmem_free_swap()
891 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage()
928 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage() local
953 void shmem_unlock_mapping(struct address_space *mapping) in shmem_unlock_mapping()
[all …]
Dfolio-compat.c68 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru()
76 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page()
88 struct page *grab_cache_page_write_begin(struct address_space *mapping, in grab_cache_page_write_begin()
Dreadahead.c140 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
230 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local
353 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
478 struct address_space *mapping = ractl->mapping; in page_cache_ra_order() local
769 struct address_space *mapping = ractl->mapping; in readahead_expand() local
Dmigrate.c475 static int __folio_migrate_mapping(struct address_space *mapping, in __folio_migrate_mapping()
606 int folio_migrate_mapping(struct address_space *mapping, in folio_migrate_mapping()
622 int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
755 static int __migrate_folio(struct address_space *mapping, struct folio *dst, in __migrate_folio()
792 int migrate_folio(struct address_space *mapping, struct folio *dst, in migrate_folio()
834 static int __buffer_migrate_folio(struct address_space *mapping, in __buffer_migrate_folio()
918 int buffer_migrate_folio(struct address_space *mapping, in buffer_migrate_folio()
939 int buffer_migrate_folio_norefs(struct address_space *mapping, in buffer_migrate_folio_norefs()
947 int filemap_migrate_folio(struct address_space *mapping, in filemap_migrate_folio()
957 static int writeout(struct address_space *mapping, struct folio *folio) in writeout()
[all …]
Dsecretmem.c52 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in secretmem_fault() local
149 static int secretmem_migrate_folio(struct address_space *mapping, in secretmem_migrate_folio()
171 struct address_space *mapping = inode->i_mapping; in secretmem_setattr() local
Dvma.c134 struct address_space *mapping) in __vma_link_file()
148 struct address_space *mapping) in __remove_shared_vm_struct()
1560 struct address_space *mapping; in unlink_file_vma_batch_process() local
1603 struct address_space *mapping = file->f_mapping; in unlink_file_vma() local
1614 struct address_space *mapping; in vma_link_file() local
1933 static void vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping) in vm_lock_mapping()
2067 static void vm_unlock_mapping(struct address_space *mapping) in vm_unlock_mapping()
Dmemory-failure.c231 struct address_space *mapping; in hwpoison_filter_dev() local
651 struct address_space *mapping = folio->mapping; in collect_procs_file() local
695 struct address_space *mapping, pgoff_t pgoff, in collect_procs_fsdax()
987 struct address_space *mapping) in truncate_error_folio()
1075 struct address_space *mapping; in me_pagecache_clean() local
1132 struct address_space *mapping = folio_mapping(folio); in me_pagecache_dirty() local
1215 struct address_space *mapping; in me_huge_page() local
1578 struct address_space *mapping; in unmap_poisoned_folio() local
1735 struct address_space *mapping, pgoff_t index, int flags) in unmap_and_kill()
1834 int mf_dax_kill_procs(struct address_space *mapping, pgoff_t index, in mf_dax_kill_procs()
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()
Dpage_io.c85 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate() local
484 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; in swap_write_unplug() local
677 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; in __swap_read_unplug() local
Dmapping_dirty_helpers.c263 unsigned long wp_shared_mapping_range(struct address_space *mapping, in wp_shared_mapping_range()
313 unsigned long clean_record_shared_mapping_range(struct address_space *mapping, in clean_record_shared_mapping_range()
Dhugetlb.c1153 struct address_space *mapping = vma->vm_file->f_mapping; in vma_resv_map() local
1985 struct address_space *mapping = folio_mapping(folio); in hugetlb_folio_mapping_lock_write() local
5445 struct address_space *mapping = vma->vm_file->f_mapping; in move_hugetlb_page_tables() local
5743 struct address_space *mapping; in unmap_ref_private() local
5893 struct address_space *mapping = vma->vm_file->f_mapping; in hugetlb_wp() local
5999 struct address_space *mapping = vma->vm_file->f_mapping; in hugetlbfs_pagecache_present() local
6010 int hugetlb_add_to_page_cache(struct folio *folio, struct address_space *mapping, in hugetlb_add_to_page_cache()
6040 struct address_space *mapping, in hugetlb_handle_userfault()
6073 static vm_fault_t hugetlb_no_page(struct address_space *mapping, in hugetlb_no_page()
6292 u32 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx) in hugetlb_fault_mutex_hash()
[all …]
Dworkingset.c626 struct address_space *mapping; in workingset_update_node() local
717 struct address_space *mapping; in shadow_lru_isolate() local
Ddebug.c73 struct address_space *mapping = folio_mapping(folio); in __dump_folio() local
Dfadvise.c34 struct address_space *mapping; in generic_fadvise() local
Dpage_size_compat.c298 int __fixup_swap_header(struct file *swap_file, struct address_space *mapping) in __fixup_swap_header()
Dmemfd.c118 static int memfd_wait_for_pins(struct address_space *mapping) in memfd_wait_for_pins()
Dmincore.c53 static unsigned char mincore_page(struct address_space *mapping, pgoff_t index) in mincore_page()
Dinternal.h107 unsigned long mapping = (unsigned long)folio->mapping; in folio_raw_mapping() local
396 static inline void force_page_cache_readahead(struct address_space *mapping, in force_page_cache_readahead()
454 struct address_space *mapping = folio_mapping(folio); in folio_needs_release() local
Dswap.h160 struct folio *filemap_get_incore_folio(struct address_space *mapping, in filemap_get_incore_folio()
Dutil.c839 unsigned long mapping = (unsigned long)folio->mapping; in folio_anon_vma() local
860 struct address_space *mapping; in folio_mapping() local
Dkhugepaged.c1708 static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) in retract_page_tables()
1821 struct address_space *mapping = file->f_mapping; in collapse_file() local
2251 struct address_space *mapping = file->f_mapping; in hpage_collapse_scan_file() local
Dmigrate_device.c694 struct address_space *mapping; in __migrate_device_pages() local

12