Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/include/linux/
H A Dpagemap.h50 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
69 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
74 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
79 static inline bool mapping_unevictable(struct address_space *mapping) in mapping_unevictable()
84 static inline void mapping_set_exiting(struct address_space *mapping) in mapping_set_exiting()
89 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting()
94 static inline void mapping_set_no_writeback_tags(struct address_space *mapping) in mapping_set_no_writeback_tags()
99 static inline int mapping_use_writeback_tags(struct address_space *mapping) in mapping_use_writeback_tags()
104 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
110 static inline gfp_t mapping_gfp_constraint(struct address_space *mapping, in mapping_gfp_constraint()
[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,… 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 Dbuffer_head.h48 struct address_space;
73 struct address_space *b_assoc_map; /* mapping this buffer is
208 int sync_mapping_buffers(struct address_space *mapping);
263 int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len,
267 int block_write_end(struct file *, struct address_space *,
270 int generic_write_end(struct file *, struct address_space *,
275 int cont_write_begin(struct file *, struct address_space *, loff_t,
294 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *);
295 int block_truncate_page(struct address_space *, loff_t, get_block_t *);
296 int nobh_write_begin(struct address_space *, loff_t, unsigned, unsigned,
[all …]
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,
104 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
H A Dcleancache.h48 extern void __cleancache_invalidate_page(struct address_space *, struct page *);
49 extern void __cleancache_invalidate_inode(struct address_space *);
54 static inline bool cleancache_fs_enabled_mapping(struct address_space *mapping) in cleancache_fs_enabled_mapping()
106 static inline void cleancache_invalidate_page(struct address_space *mapping, in cleancache_invalidate_page()
114 static inline void cleancache_invalidate_inode(struct address_space *mapping) in cleancache_invalidate_inode()
H A Dmigrate.h39 extern int migrate_page(struct address_space *mapping,
50 extern int migrate_huge_page_move_mapping(struct address_space *mapping,
52 extern int migrate_page_move_mapping(struct address_space *mapping,
74 static inline int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
84 extern void __SetPageMovable(struct page *page, struct address_space *mapping);
89 struct address_space *mapping) in __SetPageMovable()
H A Dfs.h290 struct address_space;
374 int (*writepages)(struct address_space *, struct writeback_control *);
383 int (*readpages)(struct file *filp, struct address_space *mapping,
387 int (*write_begin)(struct file *, struct address_space *mapping,
390 int (*write_end)(struct file *, struct address_space *mapping,
395 sector_t (*bmap)(struct address_space *, sector_t);
404 int (*migratepage) (struct address_space *,
412 int (*error_remove_page)(struct address_space *, struct page *);
431 int pagecache_write_begin(struct file *, struct address_space *mapping,
435 int pagecache_write_end(struct file *, struct address_space *mapping,
[all …]
H A Dwriteback.h383 void balance_dirty_pages_ratelimited(struct address_space *mapping);
389 int generic_writepages(struct address_space *mapping,
391 void tag_pages_for_writeback(struct address_space *mapping,
393 int write_cache_pages(struct address_space *mapping,
396 int do_writepages(struct address_space *mapping, struct writeback_control *wbc);
398 void tag_pages_for_writeback(struct address_space *mapping,
H A Dcompiler_types.h9 # define __kernel __attribute__((address_space(0)))
10 # define __user __attribute__((noderef, address_space(__user)))
11 # define __iomem __attribute__((noderef, address_space(__iomem)))
12 # define __percpu __attribute__((noderef, address_space(__percpu)))
13 # define __rcu __attribute__((noderef, address_space(__rcu)))
/OK3568_Linux_fs/kernel/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.context_mutex); 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.setup; in acpi_ev_detach_region()
[all …]
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/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 *,
H A 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()
H A Dpage.c48 struct address_space *mapping, in nilfs_grab_buffer()
155 struct address_space *m; in nilfs_page_bug()
240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages()
241 struct address_space *smap) in nilfs_copy_dirty_pages()
294 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages()
295 struct address_space *smap) in nilfs_copy_back_pages()
358 void nilfs_clear_dirty_pages(struct address_space *mapping, bool silent) in nilfs_clear_dirty_pages()
439 void nilfs_mapping_init(struct address_space *mapping, struct inode *inode) in nilfs_mapping_init()
460 struct address_space *mapping = page->mapping; in __nilfs_clear_page_dirty()
/OK3568_Linux_fs/kernel/mm/
H A Dswap_state.c39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
75 struct address_space *spaces; in total_swapcache_pages()
113 struct address_space *address_space = swap_address_space(entry); in get_shadow_from_swap_cache() local
117 page = find_get_entry(address_space, idx); in get_shadow_from_swap_cache()
132 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local
134 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
164 address_space->nrexceptional -= nr_shadows; in add_to_swap_cache()
165 address_space->nrpages += nr; in add_to_swap_cache()
187 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local
190 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache()
[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 *mapping, in truncate_inode_pages_range()
[all …]
H A Dfilemap.c125 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
162 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
239 struct address_space *mapping = page->mapping; in __delete_from_page_cache()
247 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
274 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
300 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
348 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
370 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
384 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
411 int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start, in __filemap_fdatawrite_range()
[all …]
H A Dreadahead.c39 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
53 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
70 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
94 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
122 gfp_t readahead_gfp_mask(struct address_space *x) in readahead_gfp_mask()
191 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded()
291 struct address_space *mapping = ractl->mapping; in force_page_cache_ra()
417 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
432 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
/OK3568_Linux_fs/kernel/arch/x86/hyperv/
H A Dmmu.c95 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others()
96 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others()
99 flush->address_space = 0; in hyperv_flush_tlb_others()
191 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others_ex()
192 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others_ex()
195 flush->address_space = 0; in hyperv_flush_tlb_others_ex()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/spufs/
H A 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. */

12345678910>>...15