Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/include/linux/
Dpagemap.h48 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
63 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
68 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
73 static inline int mapping_unevictable(struct address_space *mapping) in mapping_unevictable()
80 static inline void mapping_set_exiting(struct address_space *mapping) in mapping_set_exiting()
85 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting()
90 static inline void mapping_set_no_writeback_tags(struct address_space *mapping) in mapping_set_no_writeback_tags()
95 static inline int mapping_use_writeback_tags(struct address_space *mapping) in mapping_use_writeback_tags()
100 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
106 static inline gfp_t mapping_gfp_constraint(struct address_space *mapping, in mapping_gfp_constraint()
[all …]
Dpagevec.h16 struct address_space;
27 struct address_space *mapping,
32 struct address_space *mapping,
35 struct address_space *mapping, in pagevec_lookup()
42 struct address_space *mapping, pgoff_t *index, pgoff_t end,
45 struct address_space *mapping, pgoff_t *index, pgoff_t end,
48 struct address_space *mapping, pgoff_t *index, int tag) in pagevec_lookup_tag()
Dbuffer_head.h51 struct address_space;
76 struct address_space *b_assoc_map; /* mapping this buffer is
174 int sync_mapping_buffers(struct address_space *mapping);
225 int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len,
229 int block_write_end(struct file *, struct address_space *,
232 int generic_write_end(struct file *, struct address_space *,
237 int cont_write_begin(struct file *, struct address_space *, loff_t,
256 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *);
257 int block_truncate_page(struct address_space *, loff_t, get_block_t *);
258 int nobh_write_begin(struct address_space *, loff_t, unsigned, unsigned,
[all …]
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()
Ddax.h87 int dax_writeback_mapping_range(struct address_space *mapping,
90 struct page *dax_layout_busy_page(struct address_space *mapping);
114 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
119 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range()
155 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index);
156 int dax_invalidate_mapping_entry_sync(struct address_space *mapping,
172 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
Dshmem_fs.h64 extern bool shmem_mapping(struct address_space *mapping);
66 static inline bool shmem_mapping(struct address_space *mapping) in shmem_mapping()
71 extern void shmem_unlock_mapping(struct address_space *mapping);
72 extern struct page *shmem_read_mapping_page_gfp(struct address_space *mapping,
78 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping,
95 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
Dmigrate.h65 extern int migrate_page(struct address_space *mapping,
77 extern int migrate_huge_page_move_mapping(struct address_space *mapping,
79 extern int migrate_page_move_mapping(struct address_space *mapping,
103 static inline int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
113 extern void __SetPageMovable(struct page *page, struct address_space *mapping);
118 struct address_space *mapping) in __SetPageMovable()
Dwriteback.h358 void balance_dirty_pages_ratelimited(struct address_space *mapping);
364 int generic_writepages(struct address_space *mapping,
366 void tag_pages_for_writeback(struct address_space *mapping,
368 int write_cache_pages(struct address_space *mapping,
371 int do_writepages(struct address_space *mapping, struct writeback_control *wbc);
373 void tag_pages_for_writeback(struct address_space *mapping,
Dfs.h280 struct address_space;
347 int (*writepages)(struct address_space *, struct writeback_control *);
356 int (*readpages)(struct file *filp, struct address_space *mapping,
359 int (*write_begin)(struct file *, struct address_space *mapping,
362 int (*write_end)(struct file *, struct address_space *mapping,
367 sector_t (*bmap)(struct address_space *, sector_t);
376 int (*migratepage) (struct address_space *,
384 int (*error_remove_page)(struct address_space *, struct page *);
398 int pagecache_write_begin(struct file *, struct address_space *mapping,
402 int pagecache_write_end(struct file *, struct address_space *mapping,
[all …]
/Linux-v4.19/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()
492 handler_obj->address_space.space_id = (u8)space_id; in acpi_ev_install_space_handler()
[all …]
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()
201 *last_obj_ptr = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
211 last_obj_ptr = &handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
212 handler_obj = handler_obj->address_space.next; in ACPI_EXPORT_SYMBOL()
Devregion.c137 context = handler_desc->address_space.context; in acpi_ev_address_space_dispatch()
147 region_setup = handler_desc->address_space.setup; in acpi_ev_address_space_dispatch()
203 handler = handler_desc->address_space.handler; in acpi_ev_address_space_dispatch()
243 &region_obj->region.handler->address_space, handler, in acpi_ev_address_space_dispatch()
248 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
279 if (!(handler_desc->address_space.handler_flags & in acpi_ev_address_space_dispatch()
338 obj_desc = handler_obj->address_space.region_list; in acpi_ev_detach_region()
340 last_obj_ptr = &handler_obj->address_space.region_list; in acpi_ev_detach_region()
389 region_setup = handler_obj->address_space.setup; in acpi_ev_detach_region()
393 handler_obj->address_space. 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()
/Linux-v4.19/fs/nilfs2/
Dbtnode.h33 void nilfs_btnode_cache_clear(struct address_space *);
34 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
36 int nilfs_btnode_submit_block(struct address_space *, __u64, sector_t, int,
39 int nilfs_btnode_prepare_change_key(struct address_space *,
41 void nilfs_btnode_commit_change_key(struct address_space *,
43 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);
46 void nilfs_mapping_init(struct address_space *mapping, struct inode *inode);
Dbtnode.c23 void nilfs_btnode_cache_clear(struct address_space *btnc) in nilfs_btnode_cache_clear()
30 nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr) in nilfs_btnode_create_block()
55 int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, in nilfs_btnode_submit_block()
130 struct address_space *mapping; in nilfs_btnode_delete()
156 int nilfs_btnode_prepare_change_key(struct address_space *btnc, in nilfs_btnode_prepare_change_key()
226 void nilfs_btnode_commit_change_key(struct address_space *btnc, in nilfs_btnode_commit_change_key()
267 void nilfs_btnode_abort_change_key(struct address_space *btnc, in nilfs_btnode_abort_change_key()
/Linux-v4.19/mm/
Dswap_state.c39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
75 struct address_space *spaces; in total_swapcache_pages()
116 struct address_space *address_space; in __add_to_swap_cache() local
126 address_space = swap_address_space(entry); in __add_to_swap_cache()
127 xa_lock_irq(&address_space->i_pages); in __add_to_swap_cache()
130 error = radix_tree_insert(&address_space->i_pages, in __add_to_swap_cache()
136 address_space->nrpages += nr; in __add_to_swap_cache()
148 radix_tree_delete(&address_space->i_pages, idx + i); in __add_to_swap_cache()
154 xa_unlock_irq(&address_space->i_pages); in __add_to_swap_cache()
178 struct address_space *address_space; in __delete_from_swap_cache() local
[all …]
Dtruncate.c33 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
48 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry()
61 static void truncate_exceptional_pvec_entries(struct address_space *mapping, in truncate_exceptional_pvec_entries()
113 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
127 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
179 truncate_cleanup_page(struct address_space *mapping, struct page *page) in truncate_cleanup_page()
207 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
222 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
237 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
259 struct address_space *mapping = page_mapping(page); in invalidate_inode_page()
[all …]
Dfilemap.c114 static int page_cache_tree_insert(struct address_space *mapping, in page_cache_tree_insert()
143 static void page_cache_tree_delete(struct address_space *mapping, in page_cache_tree_delete()
185 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
261 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
269 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
296 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
323 page_cache_tree_delete_batch(struct address_space *mapping, in page_cache_tree_delete_batch()
369 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
391 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
405 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
[all …]
Dreadahead.c32 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
46 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
63 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
85 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
113 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages()
152 unsigned int __do_page_cache_readahead(struct address_space *mapping, in __do_page_cache_readahead()
221 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead()
333 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
348 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
383 ondemand_readahead(struct address_space *mapping, in ondemand_readahead()
[all …]
/Linux-v4.19/arch/x86/hyperv/
Dmmu.c87 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others()
88 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others()
91 flush->address_space = 0; in hyperv_flush_tlb_others()
183 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others_ex()
184 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others_ex()
187 flush->address_space = 0; in hyperv_flush_tlb_others_ex()
/Linux-v4.19/fs/
Ddax.c118 struct address_space *mapping;
127 static wait_queue_head_t *dax_entry_waitqueue(struct address_space *mapping, in dax_entry_waitqueue()
165 static void dax_wake_mapping_entry_waiter(struct address_space *mapping, in dax_wake_mapping_entry_waiter()
187 static inline int slot_locked(struct address_space *mapping, void **slot) in slot_locked()
197 static inline void *lock_slot(struct address_space *mapping, void **slot) in lock_slot()
210 static inline void *unlock_slot(struct address_space *mapping, void **slot) in unlock_slot()
229 static void *__get_unlocked_mapping_entry(struct address_space *mapping, in __get_unlocked_mapping_entry()
274 static void *get_unlocked_mapping_entry(struct address_space *mapping, in get_unlocked_mapping_entry()
280 static void unlock_mapping_entry(struct address_space *mapping, pgoff_t index) in unlock_mapping_entry()
296 static void put_locked_mapping_entry(struct address_space *mapping, in put_locked_mapping_entry()
[all …]
/Linux-v4.19/fs/freevxfs/
Dvxfs_subr.c42 static sector_t vxfs_bmap(struct address_space *, sector_t);
68 vxfs_get_page(struct address_space *mapping, u_long n) in vxfs_get_page()
180 vxfs_bmap(struct address_space *mapping, sector_t block) in vxfs_bmap()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dspufs.h84 struct address_space *local_store; /* local store mapping. */
85 struct address_space *mfc; /* 'mfc' area mappings. */
86 struct address_space *cntl; /* 'control' area mappings. */
87 struct address_space *signal1; /* 'signal1' area mappings. */
88 struct address_space *signal2; /* 'signal2' area mappings. */
89 struct address_space *mss; /* 'mss' area mappings. */
90 struct address_space *psmap; /* 'psmap' area mappings. */

12345678910>>...13