| /linux-6.15/include/linux/ |
| H A D | pagemap.h | 30 int invalidate_inode_pages2(struct address_space *mapping); 35 int filemap_invalidate_pages(struct address_space *mapping, 39 int filemap_fdatawrite(struct address_space *); 40 int filemap_flush(struct address_space *); 58 int filemap_fdatawrite_range(struct address_space *mapping, 60 int filemap_check_errors(struct address_space *mapping); 62 int filemap_fdatawrite_wbc(struct address_space *mapping, 467 mapping_min_folio_nrpages(struct address_space *mapping) in mapping_min_folio_nrpages() 535 struct address_space *folio_mapping(struct folio *); 536 struct address_space *swapcache_mapping(struct folio *); [all …]
|
| H A D | dax.h | 152 int dax_writeback_mapping_range(struct address_space *mapping, 155 struct page *dax_layout_busy_page(struct address_space *mapping); 159 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, 161 void dax_unlock_mapping_entry(struct address_space *mapping, 164 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 174 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range() 197 static inline void dax_unlock_mapping_entry(struct address_space *mapping, in dax_unlock_mapping_entry() 261 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index); 262 void dax_delete_mapping_range(struct address_space *mapping, 264 int dax_invalidate_mapping_entry_sync(struct address_space *mapping, [all …]
|
| H A D | shmem_fs.h | 100 bool shmem_mapping(struct address_space *mapping); 102 static inline bool shmem_mapping(struct address_space *mapping) in shmem_mapping() 107 extern void shmem_unlock_mapping(struct address_space *mapping); 108 extern struct page *shmem_read_mapping_page_gfp(struct address_space *mapping, 140 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping, 154 struct folio *shmem_read_folio_gfp(struct address_space *mapping, 157 static inline struct folio *shmem_read_folio(struct address_space *mapping, in shmem_read_folio() 164 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
|
| H A D | buffer_head.h | 48 struct address_space; 76 struct address_space *b_assoc_map; /* mapping this buffer is 265 int block_write_end(struct file *, struct address_space *, 268 int generic_write_end(struct file *, struct address_space *, 272 int cont_write_begin(struct file *, struct address_space *, loff_t, 279 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *); 280 int block_truncate_page(struct address_space *, loff_t, get_block_t *); 283 extern int buffer_migrate_folio(struct address_space *, 285 extern int buffer_migrate_folio_norefs(struct address_space *, 514 bool block_dirty_folio(struct address_space *mapping, struct folio *folio); [all …]
|
| H A D | writeback.h | 365 void balance_dirty_pages_ratelimited(struct address_space *mapping); 366 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, 371 struct folio *writeback_iter(struct address_space *mapping, 377 int write_cache_pages(struct address_space *mapping, 380 int do_writepages(struct address_space *mapping, struct writeback_control *wbc); 382 void tag_pages_for_writeback(struct address_space *mapping, 385 bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio);
|
| H A D | migrate.h | 66 int migrate_folio(struct address_space *mapping, struct folio *dst, 75 int migrate_huge_page_move_mapping(struct address_space *mapping, 80 int folio_migrate_mapping(struct address_space *mapping, 98 static inline int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
|
| /linux-6.15/drivers/acpi/acpica/ |
| H A D | evhandler.c | 134 if (handler_obj->address_space.handler_flags & in acpi_ev_has_default_handler() 140 handler_obj = handler_obj->address_space.next; in acpi_ev_has_default_handler() 228 address_space. in acpi_ev_install_handler() 304 handler_obj = handler_obj->address_space.next; in acpi_ev_find_region_handler() 499 handler_obj->address_space.space_id = (u8)space_id; in acpi_ev_install_space_handler() 500 handler_obj->address_space.handler_flags = flags; in acpi_ev_install_space_handler() 501 handler_obj->address_space.region_list = NULL; in acpi_ev_install_space_handler() 502 handler_obj->address_space.node = node; in acpi_ev_install_space_handler() 503 handler_obj->address_space.handler = handler; in acpi_ev_install_space_handler() 504 handler_obj->address_space.context = context; in acpi_ev_install_space_handler() [all …]
|
| H A D | evregion.c | 141 context = handler_desc->address_space.context; in acpi_ev_address_space_dispatch() 153 region_setup = handler_desc->address_space.setup; in acpi_ev_address_space_dispatch() 168 handler_desc->address_space.context; in acpi_ev_address_space_dispatch() 179 handler_desc->address_space.context; in acpi_ev_address_space_dispatch() 228 handler = handler_desc->address_space.handler; in acpi_ev_address_space_dispatch() 238 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch() 317 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch() 376 obj_desc = handler_obj->address_space.region_list; in acpi_ev_detach_region() 427 region_setup = handler_obj->address_space.setup; in acpi_ev_detach_region() 431 handler_obj->address_space. in acpi_ev_detach_region() [all …]
|
| H A D | evxfregn.c | 189 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL() 193 if (handler_obj->address_space.handler != handler) { in ACPI_EXPORT_SYMBOL() 207 region_obj = handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL() 226 handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL() 231 *last_obj_ptr = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL() 241 last_obj_ptr = &handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL() 242 handler_obj = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
|
| H A D | dbdisply.c | 956 (handler_obj->address_space. in acpi_db_display_handlers() 960 handler_obj->address_space. in acpi_db_display_handlers() 977 if (handler_obj->address_space.space_id >= in acpi_db_display_handlers() 981 handler_obj->address_space. in acpi_db_display_handlers() 984 (handler_obj->address_space. in acpi_db_display_handlers() 988 handler_obj->address_space. in acpi_db_display_handlers() 992 handler_obj = handler_obj->address_space.next; in acpi_db_display_handlers() 1081 address_space.space_id), in acpi_db_display_non_root_handlers() 1082 handler_obj->address_space.space_id); in acpi_db_display_non_root_handlers() 1085 (handler_obj->address_space.handler_flags & in acpi_db_display_non_root_handlers() [all …]
|
| H A D | utdelete.c | 124 next_desc = handler_desc->address_space.next; in acpi_ut_delete_internal_obj() 206 handler_desc->address_space.region_list; in acpi_ut_delete_internal_obj() 209 &handler_desc->address_space.region_list; in acpi_ut_delete_internal_obj() 235 if (handler_desc->address_space.handler_flags & in acpi_ut_delete_internal_obj() 240 if (handler_desc->address_space.setup) { in acpi_ut_delete_internal_obj() 242 address_space.setup(object, in acpi_ut_delete_internal_obj() 245 address_space. in acpi_ut_delete_internal_obj() 293 acpi_os_delete_mutex(object->address_space.context_mutex); in acpi_ut_delete_internal_obj()
|
| /linux-6.15/fs/nilfs2/ |
| H A D | btnode.h | 34 void nilfs_btnode_cache_clear(struct address_space *); 35 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc, 37 int nilfs_btnode_submit_block(struct address_space *, __u64, sector_t, 40 int nilfs_btnode_prepare_change_key(struct address_space *, 42 void nilfs_btnode_commit_change_key(struct address_space *, 44 void nilfs_btnode_abort_change_key(struct address_space *,
|
| H A D | page.h | 35 struct buffer_head *nilfs_grab_buffer(struct inode *, struct address_space *, 42 int nilfs_copy_dirty_pages(struct address_space *, struct address_space *); 43 void nilfs_copy_back_pages(struct address_space *, struct address_space *); 45 void nilfs_clear_dirty_pages(struct address_space *mapping);
|
| H A D | btnode.c | 41 void nilfs_btnode_cache_clear(struct address_space *btnc) in nilfs_btnode_cache_clear() 48 nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr) in nilfs_btnode_create_block() 87 int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, in nilfs_btnode_submit_block() 161 struct address_space *mapping; in nilfs_btnode_delete() 209 int nilfs_btnode_prepare_change_key(struct address_space *btnc, in nilfs_btnode_prepare_change_key() 285 void nilfs_btnode_commit_change_key(struct address_space *btnc, in nilfs_btnode_commit_change_key() 336 void nilfs_btnode_abort_change_key(struct address_space *btnc, in nilfs_btnode_abort_change_key()
|
| /linux-6.15/mm/ |
| H A D | swap_state.c | 75 struct address_space *address_space = swap_address_space(entry); in get_shadow_from_swap_cache() local 92 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local 123 address_space->nrpages += nr; in add_to_swap_cache() 145 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local 164 address_space->nrpages -= nr; in __delete_from_swap_cache() 178 struct address_space *address_space = swap_address_space(entry); in delete_from_swap_cache() local 180 xa_lock_irq(&address_space->i_pages); in delete_from_swap_cache() 182 xa_unlock_irq(&address_space->i_pages); in delete_from_swap_cache() 197 struct address_space *address_space = swap_address_space(entry); in clear_shadow_from_swap_cache() local 202 xa_lock_irq(&address_space->i_pages); in clear_shadow_from_swap_cache() [all …]
|
| H A D | filemap.c | 220 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() 248 struct address_space *mapping = folio->mapping; in filemap_remove_folio() 468 int filemap_flush(struct address_space *mapping) in filemap_flush() 610 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() 745 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() 788 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() 822 struct address_space *mapping = old->mapping; in replace_page_cache_folio() 1021 struct address_space *mapping2) in filemap_invalidate_lock_two() 1041 struct address_space *mapping2) in filemap_invalidate_unlock_two() 2442 struct address_space *mapping, size_t count, in filemap_update_page() [all …]
|
| H A D | truncate.c | 26 static void clear_shadow_entries(struct address_space *mapping, in clear_shadow_entries() 60 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals() 274 int generic_error_remove_folio(struct address_space *mapping, in generic_error_remove_folio() 341 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range() 473 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final() 509 unsigned long mapping_try_invalidate(struct address_space *mapping, in mapping_try_invalidate() 574 unsigned long invalidate_mapping_pages(struct address_space *mapping, in invalidate_mapping_pages() 647 int invalidate_inode_pages2_range(struct address_space *mapping, in invalidate_inode_pages2_range() 733 int invalidate_inode_pages2(struct address_space *mapping) in invalidate_inode_pages2() 756 struct address_space *mapping = inode->i_mapping; in truncate_pagecache() [all …]
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io-buffered.h | 7 int bch2_read_single_folio(struct folio *, struct address_space *); 10 int bch2_writepages(struct address_space *, struct writeback_control *); 13 int bch2_write_begin(struct file *, struct address_space *, loff_t pos, 15 int bch2_write_end(struct file *, struct address_space *, loff_t,
|
| /linux-6.15/fs/btrfs/ |
| H A D | compression.h | 16 struct address_space; 87 int btrfs_compress_folios(unsigned int type, int level, struct address_space *mapping, 149 int btrfs_compress_filemap_get_folio(struct address_space *mapping, u64 start, 152 int zlib_compress_folios(struct list_head *ws, struct address_space *mapping, 163 int lzo_compress_folios(struct list_head *ws, struct address_space *mapping, 173 int zstd_compress_folios(struct list_head *ws, struct address_space *mapping,
|
| /linux-6.15/arch/x86/hyperv/ |
| H A D | mmu.c | 87 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_multi() 88 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_multi() 91 flush->address_space = 0; in hyperv_flush_tlb_multi() 189 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others_ex() 190 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others_ex() 193 flush->address_space = 0; in hyperv_flush_tlb_others_ex()
|
| /linux-6.15/fs/freevxfs/ |
| H A D | vxfs_subr.c | 18 static sector_t vxfs_bmap(struct address_space *, sector_t); 44 vxfs_get_page(struct address_space *mapping, u_long n) in vxfs_get_page() 149 vxfs_bmap(struct address_space *mapping, sector_t block) in vxfs_bmap()
|
| /linux-6.15/arch/powerpc/platforms/cell/spufs/ |
| H A D | spufs.h | 71 struct address_space *local_store; /* local store mapping. */ 72 struct address_space *mfc; /* 'mfc' area mappings. */ 73 struct address_space *cntl; /* 'control' area mappings. */ 74 struct address_space *signal1; /* 'signal1' area mappings. */ 75 struct address_space *signal2; /* 'signal2' area mappings. */ 76 struct address_space *mss; /* 'mss' area mappings. */ 77 struct address_space *psmap; /* 'psmap' area mappings. */
|
| /linux-6.15/include/asm-generic/ |
| H A D | cacheflush.h | 10 struct address_space; 59 static inline void flush_dcache_mmap_lock(struct address_space *mapping) in flush_dcache_mmap_lock() 65 static inline void flush_dcache_mmap_unlock(struct address_space *mapping) in flush_dcache_mmap_unlock()
|
| /linux-6.15/include/trace/events/ |
| H A D | filemap.h | 62 struct address_space *mapping, 98 struct address_space *mapping, 107 struct address_space *mapping, 115 TP_PROTO(struct address_space *mapping, pgoff_t index), 144 TP_PROTO(struct address_space *mapping, errseq_t eseq),
|
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | page_migration.rst | 143 2. ``int (*migratepage) (struct address_space *mapping,`` 168 void __SetPageMovable(struct page *page, struct address_space *mapping) 170 它需要address_space的参数来注册将被VM调用的migration family函数。确切地说, 178 以在页面锁下屏蔽掉page->mapping的低2位,从而获得正确的struct address_space。
|