/openbmc/linux/include/linux/ |
H A D | pagemap.h | 21 unsigned long invalidate_mapping_pages(struct address_space *mapping, 30 int invalidate_inode_pages2(struct address_space *mapping); 31 int invalidate_inode_pages2_range(struct address_space *mapping, 37 int filemap_fdatawrite(struct address_space *); 38 int filemap_flush(struct address_space *); 39 int filemap_fdatawait_keep_errors(struct address_space *mapping); 40 int filemap_fdatawait_range(struct address_space *, loff_t lstart, loff_t lend); 41 int filemap_fdatawait_range_keep_errors(struct address_space *mapping, 44 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait() 49 bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend); [all …]
|
H A D | dax.h | 157 int dax_writeback_mapping_range(struct address_space *mapping, 160 struct page *dax_layout_busy_page(struct address_space *mapping); 161 struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end); 164 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, 166 void dax_unlock_mapping_entry(struct address_space *mapping, 169 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 174 static inline struct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start,… in dax_layout_busy_page_range() 179 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range() 196 static inline dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, in dax_lock_mapping_entry() 202 static inline void dax_unlock_mapping_entry(struct address_space *mapping, in dax_unlock_mapping_entry() [all …]
|
H A D | shmem_fs.h | 97 static inline bool shmem_mapping(struct address_space *mapping) in shmem_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, 132 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping, 146 struct folio *shmem_read_folio_gfp(struct address_space *mapping, 149 static inline struct folio *shmem_read_folio(struct address_space *mapping, in shmem_read_folio() 156 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
|
H A D | buffer_head.h | 47 struct address_space; 75 struct address_space *b_assoc_map; /* mapping this buffer is 264 int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, 268 int block_write_end(struct file *, struct address_space *, 271 int generic_write_end(struct file *, struct address_space *, 276 int cont_write_begin(struct file *, struct address_space *, loff_t, 283 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *); 284 int block_truncate_page(struct address_space *, loff_t, get_block_t *); 287 extern int buffer_migrate_folio(struct address_space *, 289 extern int buffer_migrate_folio_norefs(struct address_space *, [all …]
|
H A D | writeback.h | 358 void balance_dirty_pages_ratelimited(struct address_space *mapping); 359 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, 367 void tag_pages_for_writeback(struct address_space *mapping, 369 int write_cache_pages(struct address_space *mapping, 372 int do_writepages(struct address_space *mapping, struct writeback_control *wbc); 374 void tag_pages_for_writeback(struct address_space *mapping, 377 bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio);
|
H A D | migrate.h | 66 int migrate_folio_extra(struct address_space *mapping, struct folio *dst, 68 int migrate_folio(struct address_space *mapping, struct folio *dst, 76 int migrate_huge_page_move_mapping(struct address_space *mapping, 82 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()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | evhandler.c | 133 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_has_default_handler() 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() 217 acpi_ev_find_region_handler(handler_obj->address_space. in acpi_ev_install_handler() 228 address_space. in acpi_ev_install_handler() 252 if (obj_desc->region.space_id != handler_obj->address_space.space_id) { in acpi_ev_install_handler() 298 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_find_region_handler() 304 handler_obj = handler_obj->address_space.next; in acpi_ev_find_region_handler() 419 if (handler_obj->address_space.handler == handler) { in acpi_ev_install_space_handler() 493 acpi_os_create_mutex(&handler_obj->address_space.context_mutex); 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() 142 context_mutex = handler_desc->address_space.context_mutex; 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() 233 ®ion_obj->region.handler->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() [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()
|
/openbmc/linux/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 *, bool);
|
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() 187 int nilfs_btnode_prepare_change_key(struct address_space *btnc, in nilfs_btnode_prepare_change_key() 250 void nilfs_btnode_commit_change_key(struct address_space *btnc, in nilfs_btnode_commit_change_key() 290 void nilfs_btnode_abort_change_key(struct address_space *btnc, in nilfs_btnode_abort_change_key()
|
/openbmc/qemu/hw/mips/ |
H A D | jazz.c | 171 MemoryRegion *address_space = get_system_memory(); in mips_jazz_init() local 238 memory_region_add_subregion(address_space, 0, machine->ram); in mips_jazz_init() 244 memory_region_add_subregion(address_space, 0x1fc00000LL, bios); in mips_jazz_init() 245 memory_region_add_subregion(address_space, 0xfff00000LL, bios2); in mips_jazz_init() 271 memory_region_add_subregion(address_space, 0x80000000, in mips_jazz_init() 273 memory_region_add_subregion(address_space, 0xf0000000, in mips_jazz_init() 277 memory_region_add_subregion(address_space, 0x8000d000, dma_dummy); in mips_jazz_init() 281 memory_region_add_subregion(address_space, 0x8000b000, dp8393x_prom); in mips_jazz_init() 286 memory_region_add_subregion(address_space, 0x90000000, isa_io); in mips_jazz_init() 287 memory_region_add_subregion(address_space, 0x91000000, isa_mem); in mips_jazz_init() [all …]
|
/openbmc/linux/mm/ |
H A D | swap_state.c | 39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly; 72 struct address_space *address_space = swap_address_space(entry); in get_shadow_from_swap_cache() local 76 page = xa_load(&address_space->i_pages, idx); in get_shadow_from_swap_cache() 89 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local 91 XA_STATE_ORDER(xas, &address_space->i_pages, idx, folio_order(folio)); in add_to_swap_cache() 120 address_space->nrpages += nr; in add_to_swap_cache() 142 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local 146 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache() 161 address_space->nrpages -= nr; in __delete_from_swap_cache() 236 struct address_space *address_space = swap_address_space(entry); in delete_from_swap_cache() local [all …]
|
H A D | truncate.c | 31 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry() 42 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry() 59 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals() 112 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry() 126 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2() 189 int truncate_inode_folio(struct address_space *mapping, struct folio *folio) in truncate_inode_folio() 253 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page() 269 static long mapping_evict_folio(struct address_space *mapping, in mapping_evict_folio() 297 struct address_space *mapping = folio_mapping(folio); in invalidate_inode_page() 329 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range() [all …]
|
H A D | filemap.c | 126 static void page_cache_delete(struct address_space *mapping, in page_cache_delete() 150 static void filemap_unaccount_folio(struct address_space *mapping, in filemap_unaccount_folio() 221 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() 228 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio() 252 struct address_space *mapping = folio->mapping; in filemap_remove_folio() 279 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch() 320 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch() 346 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors() 360 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors() 380 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc() [all …]
|
H A D | folio-compat.c | 13 struct address_space *page_mapping(struct page *page) in page_mapping() 86 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru() 94 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page() 106 struct page *grab_cache_page_write_begin(struct address_space *mapping, in grab_cache_page_write_begin()
|
H A D | swap.h | 26 extern struct address_space *swapper_spaces[]; 44 struct folio *filemap_get_incore_folio(struct address_space *mapping, 74 static inline struct address_space *swap_address_space(swp_entry_t entry) in swap_address_space() 111 struct folio *filemap_get_incore_folio(struct address_space *mapping, in filemap_get_incore_folio()
|
/openbmc/qemu/hw/arm/ |
H A D | omap_sx1.c | 107 MemoryRegion *address_space = get_system_memory(); in sx1_init() local 129 memory_region_add_subregion(address_space, OMAP_EMIFF_BASE, machine->ram); in sx1_init() 136 memory_region_add_subregion(address_space, OMAP_CS0_BASE, flash); in sx1_init() 140 memory_region_add_subregion(address_space, in sx1_init() 146 memory_region_add_subregion(address_space, in sx1_init() 151 memory_region_add_subregion(address_space, in sx1_init() 168 memory_region_add_subregion(address_space, OMAP_CS1_BASE, flash_1); in sx1_init() 172 memory_region_add_subregion(address_space, in sx1_init() 183 memory_region_add_subregion(address_space, in sx1_init()
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | mmu.c | 88 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_multi() 89 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_multi() 92 flush->address_space = 0; in hyperv_flush_tlb_multi() 190 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others_ex() 191 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others_ex() 194 flush->address_space = 0; in hyperv_flush_tlb_others_ex()
|
/openbmc/linux/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. */
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|