Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v6.6/include/linux/
Dpagemap.h21 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 …]
Ddax.h157 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 …]
Dshmem_fs.h97 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,
123 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping,
137 struct folio *shmem_read_folio_gfp(struct address_space *mapping,
140 static inline struct folio *shmem_read_folio(struct address_space *mapping, in shmem_read_folio()
147 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
Dbuffer_head.h47 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 …]
Dwriteback.h358 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);
Dmigrate.h66 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()
Dfs.h308 struct address_space;
407 int (*writepages)(struct address_space *, struct writeback_control *);
410 bool (*dirty_folio)(struct address_space *, struct folio *);
414 int (*write_begin)(struct file *, struct address_space *mapping,
417 int (*write_end)(struct file *, struct address_space *mapping,
422 sector_t (*bmap)(struct address_space *, sector_t);
431 int (*migrate_folio)(struct address_space *, struct folio *dst,
437 int (*error_remove_page)(struct address_space *, struct page *);
470 struct address_space { struct
505 static inline bool mapping_tagged(struct address_space *mapping, xa_mark_t tag) in mapping_tagged() argument
[all …]
/Linux-v6.6/drivers/acpi/acpica/
Devhandler.c133 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 …]
Devxfregn.c188 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL()
192 if (handler_obj->address_space.handler != handler) { in ACPI_EXPORT_SYMBOL()
206 region_obj = handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL()
225 handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL()
230 *last_obj_ptr = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
234 acpi_os_release_mutex(handler_obj->address_space. in ACPI_EXPORT_SYMBOL()
242 last_obj_ptr = &handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
243 handler_obj = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
Devregion.c140 context = handler_desc->address_space.context; in acpi_ev_address_space_dispatch()
141 context_mutex = handler_desc->address_space.context_mutex; in acpi_ev_address_space_dispatch()
152 region_setup = handler_desc->address_space.setup; in acpi_ev_address_space_dispatch()
167 handler_desc->address_space.context; in acpi_ev_address_space_dispatch()
178 handler_desc->address_space.context; in acpi_ev_address_space_dispatch()
227 handler = handler_desc->address_space.handler; in acpi_ev_address_space_dispatch()
232 &region_obj->region.handler->address_space, handler, in acpi_ev_address_space_dispatch()
237 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
316 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
375 obj_desc = handler_obj->address_space.region_list; in acpi_ev_detach_region()
[all …]
Ddbdisply.c956 (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 …]
Dutdelete.c124 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-v6.6/fs/nilfs2/
Dbtnode.h34 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 *,
Dpage.h35 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);
Dbtnode.c40 void nilfs_btnode_cache_clear(struct address_space *btnc) in nilfs_btnode_cache_clear()
47 nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr) in nilfs_btnode_create_block()
72 int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, in nilfs_btnode_submit_block()
147 struct address_space *mapping; in nilfs_btnode_delete()
173 int nilfs_btnode_prepare_change_key(struct address_space *btnc, in nilfs_btnode_prepare_change_key()
236 void nilfs_btnode_commit_change_key(struct address_space *btnc, in nilfs_btnode_commit_change_key()
276 void nilfs_btnode_abort_change_key(struct address_space *btnc, in nilfs_btnode_abort_change_key()
/Linux-v6.6/mm/
Dswap_state.c39 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 …]
Dtruncate.c31 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 …]
Dfilemap.c126 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 …]
Dfolio-compat.c13 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()
Dswap.h26 extern struct address_space *swapper_spaces[];
43 struct folio *filemap_get_incore_folio(struct address_space *mapping,
73 static inline struct address_space *swap_address_space(swp_entry_t entry) in swap_address_space()
106 struct folio *filemap_get_incore_folio(struct address_space *mapping, in filemap_get_incore_folio()
/Linux-v6.6/arch/x86/hyperv/
Dmmu.c88 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()
/Linux-v6.6/fs/freevxfs/
Dvxfs_subr.c18 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-v6.6/arch/powerpc/platforms/cell/spufs/
Dspufs.h71 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-v6.6/include/asm-generic/
Dcacheflush.h10 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-v6.6/fs/btrfs/
Dcompression.h80 int btrfs_compress_pages(unsigned int type_level, struct address_space *mapping,
141 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping,
152 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping,
162 int zstd_compress_pages(struct list_head *ws, struct address_space *mapping,

12345678910>>...14