Home
last modified time | relevance | path

Searched refs:address_space (Results 1 - 25 of 653) sorted by relevance

12345678910>>...27

/kernel/linux/linux-6.6/include/linux/
H A 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_
[all...]
H A 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, pgoff_t nr_pages) 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 *mappin
[all...]
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dpagemap.h36 * mapping_set_error - record a writeback error in the address_space
49 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
68 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
73 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
78 static inline bool mapping_unevictable(struct address_space *mapping) in mapping_unevictable()
83 static inline void mapping_set_exiting(struct address_space *mapping) in mapping_set_exiting()
88 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting()
93 static inline void mapping_set_no_writeback_tags(struct address_space *mapping) in mapping_set_no_writeback_tags()
98 static inline int mapping_use_writeback_tags(struct address_space *mapping) in mapping_use_writeback_tags()
103 static inline gfp_t mapping_gfp_mask(struct address_space * mappin
[all...]
H A Dpagevec.h18 struct address_space;
29 struct address_space *mapping,
34 struct address_space *mapping,
37 struct address_space *mapping, in pagevec_lookup()
44 struct address_space *mapping, pgoff_t *index, pgoff_t end,
47 struct address_space *mapping, pgoff_t *index, pgoff_t end,
50 struct address_space *mapping, pgoff_t *index, xa_mark_t tag) in pagevec_lookup_tag()
H A Ddax.h148 int dax_writeback_mapping_range(struct address_space *mapping,
151 struct page *dax_layout_busy_page(struct address_space *mapping);
152 struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end);
178 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
183 static inline struct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start, pgoff_t nr_pages) in dax_layout_busy_page_range()
188 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range()
237 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index);
238 int dax_invalidate_mapping_entry_sync(struct address_space *mapping,
241 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
H A Dcleancache.h46 extern void __cleancache_invalidate_page(struct address_space *, struct page *);
47 extern void __cleancache_invalidate_inode(struct address_space *);
52 static inline bool cleancache_fs_enabled_mapping(struct address_space *mapping) in cleancache_fs_enabled_mapping()
104 static inline void cleancache_invalidate_page(struct address_space *mapping, in cleancache_invalidate_page()
112 static inline void cleancache_invalidate_inode(struct address_space *mapping) in cleancache_invalidate_inode()
H A Dmigrate.h39 extern int migrate_page_extra(struct address_space *mapping,
42 extern int migrate_page(struct address_space *mapping,
55 extern int migrate_huge_page_move_mapping(struct address_space *mapping,
57 extern int migrate_page_move_mapping(struct address_space *mapping,
82 static inline int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
92 extern void __SetPageMovable(struct page *page, struct address_space *mapping);
97 struct address_space *mapping) in __SetPageMovable()
H A Dshmem_fs.h70 extern bool shmem_mapping(struct address_space *mapping);
72 static inline bool shmem_mapping(struct address_space *mapping) in shmem_mapping()
77 extern void shmem_unlock_mapping(struct address_space *mapping);
78 extern struct page *shmem_read_mapping_page_gfp(struct address_space *mapping,
86 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping,
103 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A 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 in acpi_ev_install_space_handler()
[all...]
H A Devxfregn.c158 if (handler_obj->address_space.space_id == space_id) { in ACPI_EXPORT_SYMBOL()
162 if (handler_obj->address_space.handler != handler) { in ACPI_EXPORT_SYMBOL()
176 region_obj = handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL()
195 handler_obj->address_space.region_list; in ACPI_EXPORT_SYMBOL()
200 *last_obj_ptr = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
204 acpi_os_release_mutex(handler_obj->address_space. in ACPI_EXPORT_SYMBOL()
212 last_obj_ptr = &handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
213 handler_obj = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
H A Devregion.c139 context = handler_desc->address_space.context; in acpi_ev_address_space_dispatch()
140 context_mutex = handler_desc->address_space.context_mutex; in acpi_ev_address_space_dispatch()
151 region_setup = handler_desc->address_space.setup; in acpi_ev_address_space_dispatch()
207 handler = handler_desc->address_space.handler; in acpi_ev_address_space_dispatch()
212 &region_obj->region.handler->address_space, handler, in acpi_ev_address_space_dispatch()
217 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
309 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
368 obj_desc = handler_obj->address_space.region_list; in acpi_ev_detach_region()
370 last_obj_ptr = &handler_obj->address_space.region_list; in acpi_ev_detach_region()
419 region_setup = handler_obj->address_space in acpi_ev_detach_region()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A 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 in acpi_ev_install_space_handler()
[all...]
H A 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()
H A 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 in acpi_ev_detach_region()
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A 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);
46 void nilfs_mapping_init(struct address_space *mapping, struct inode *inode);
H A 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, int,
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 *,
/kernel/linux/linux-6.6/fs/nilfs2/
H A 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 *,
H A 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);
/kernel/linux/linux-6.6/mm/
H A 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 in __delete_from_swap_cache() local
236 struct address_space *address_space = swap_address_space(entry); delete_from_swap_cache() local
254 struct address_space *address_space = swap_address_space(entry); clear_shadow_from_swap_cache() local
[all...]
H A 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 *mappin
[all...]
H A 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 *mappin
[all...]
/kernel/linux/linux-5.10/mm/
H A Dswap_state.c39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
75 struct address_space *spaces; in total_swapcache_pages()
112 struct address_space *address_space = swap_address_space(entry); in get_shadow_from_swap_cache() local
116 page = find_get_entry(address_space, idx); in get_shadow_from_swap_cache()
131 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local
133 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
163 address_space->nrexceptional -= nr_shadows; in add_to_swap_cache()
164 address_space in add_to_swap_cache()
186 struct address_space *address_space = swap_address_space(entry); __delete_from_swap_cache() local
275 struct address_space *address_space = swap_address_space(entry); delete_from_swap_cache() local
294 struct address_space *address_space = swap_address_space(entry); clear_shadow_from_swap_cache() local
[all...]
H A Dtruncate.c34 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
46 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry()
59 static void truncate_exceptional_pvec_entries(struct address_space *mapping, in truncate_exceptional_pvec_entries()
111 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
125 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
202 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
217 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
232 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
254 struct address_space *mapping = page_mapping(page); in invalidate_inode_page()
288 void truncate_inode_pages_range(struct address_space *mappin
[all...]
H A Dfilemap.c120 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
157 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
234 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
242 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
269 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
295 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
343 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
365 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
379 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
406 int __filemap_fdatawrite_range(struct address_space *mappin
[all...]

Completed in 17 milliseconds

12345678910>>...27