Home
last modified time | relevance | path

Searched defs:mapping (Results 1 – 25 of 950) sorted by relevance

12345678910>>...38

/kernel/linux/linux-6.6/include/linux/
Dpagemap.h44 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait()
62 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait()
81 static inline void filemap_set_wb_err(struct address_space *mapping, int err) in filemap_set_wb_err()
98 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err()
111 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err()
139 static inline bool mapping_empty(struct address_space *mapping) in mapping_empty()
165 static inline bool mapping_shrinkable(struct address_space *mapping) in mapping_shrinkable()
225 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
244 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
249 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
[all …]
Dio-mapping.h58 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
65 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
92 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
107 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
147 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
154 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
168 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
191 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
Ddax.h169 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()
259 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
/kernel/linux/linux-5.10/mm/
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() local
288 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
[all …]
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() local
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() local
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 *mapping, loff_t start, in __filemap_fdatawrite_range()
[all …]
Dreadahead.c34 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
48 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
65 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
89 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
177 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local
277 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
386 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
401 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
/kernel/linux/linux-6.6/mm/
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() local
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() local
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() local
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 …]
Dreadahead.c139 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
208 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local
309 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
418 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
433 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
489 struct address_space *mapping = ractl->mapping; in page_cache_ra_order() local
784 struct address_space *mapping = ractl->mapping; in readahead_expand() local
/kernel/linux/linux-5.10/include/linux/
Dpagemap.h49 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 * mapping) in mapping_gfp_mask()
109 static inline gfp_t mapping_gfp_constraint(struct address_space *mapping, in mapping_gfp_constraint()
[all …]
Dio-mapping.h58 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
65 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
82 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
128 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
135 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
149 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_sysfs.c77 static void put_mapping(struct gasket_sysfs_mapping *mapping) in put_mapping()
134 static void put_mapping_n(struct gasket_sysfs_mapping *mapping, int times) in put_mapping_n()
155 struct gasket_sysfs_mapping *mapping; in gasket_sysfs_create_mapping() local
222 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_create_entries() local
260 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_remove_mapping() local
273 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_get_device_data() local
286 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_put_device_data() local
301 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_get_attr() local
325 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_put_attr() local
351 struct gasket_sysfs_mapping *mapping; in gasket_sysfs_register_store() local
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
Duvc_ctrl.c384 static int uvc_mapping_get_menu_value(const struct uvc_control_mapping *mapping, in uvc_mapping_get_menu_value()
397 uvc_mapping_get_menu_name(const struct uvc_control_mapping *mapping, u32 idx) in uvc_mapping_get_menu_name()
408 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
426 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
433 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
453 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
818 static s32 uvc_menu_to_v4l2_menu(struct uvc_control_mapping *mapping, s32 val) in uvc_menu_to_v4l2_menu()
843 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
888 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
931 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_ctrl.c366 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
384 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
391 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
411 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
765 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
799 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
862 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
894 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control()
975 static s32 __uvc_ctrl_get_value(struct uvc_control_mapping *mapping, in __uvc_ctrl_get_value()
996 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c59 struct panfrost_gem_mapping *iter, *mapping = NULL; in panfrost_gem_mapping_get() local
75 panfrost_gem_teardown_mapping(struct panfrost_gem_mapping *mapping) in panfrost_gem_teardown_mapping()
88 struct panfrost_gem_mapping *mapping; in panfrost_gem_mapping_release() local
98 void panfrost_gem_mapping_put(struct panfrost_gem_mapping *mapping) in panfrost_gem_mapping_put()
108 struct panfrost_gem_mapping *mapping; in panfrost_gem_teardown_mappings_locked() local
122 struct panfrost_gem_mapping *mapping; in panfrost_gem_open() local
173 struct panfrost_gem_mapping *mapping = NULL, *iter; in panfrost_gem_close() local
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c59 struct panfrost_gem_mapping *iter, *mapping = NULL; in panfrost_gem_mapping_get() local
75 panfrost_gem_teardown_mapping(struct panfrost_gem_mapping *mapping) in panfrost_gem_teardown_mapping()
88 struct panfrost_gem_mapping *mapping; in panfrost_gem_mapping_release() local
98 void panfrost_gem_mapping_put(struct panfrost_gem_mapping *mapping) in panfrost_gem_mapping_put()
108 struct panfrost_gem_mapping *mapping; in panfrost_gem_teardown_mappings_locked() local
122 struct panfrost_gem_mapping *mapping; in panfrost_gem_open() local
173 struct panfrost_gem_mapping *mapping = NULL, *iter; in panfrost_gem_close() local
/kernel/linux/linux-6.6/arch/nios2/include/asm/
Dcacheflush.h54 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages) argument
55 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages) argument
56 #define flush_dcache_mmap_lock_irqsave(mapping, flags) \ argument
58 #define flush_dcache_mmap_unlock_irqrestore(mapping, flags) \ argument
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_filemap.c72 STATIC VOID OsPageCacheAdd(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsPageCacheAdd()
89 VOID OsAddToPageacheLru(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsAddToPageacheLru()
176 struct page_mapping *mapping = NULL; in OsVmmFileRemove() local
319 STATIC VOID OsReleaseFpage(struct page_mapping *mapping, LosFilePage *fpage) in OsReleaseFpage()
337 struct page_mapping *mapping = NULL; in OsDelMapInfo() local
374 struct page_mapping *mapping = NULL; in OsVmmFileFault() local
434 VOID OsFileCacheFlush(struct page_mapping *mapping) in OsFileCacheFlush()
463 VOID OsFileCacheRemove(struct page_mapping *mapping) in OsFileCacheRemove()
541 LosFilePage *OsFindGetEntry(struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsFindGetEntry()
559 LosFilePage *OsPageCacheAlloc(struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsPageCacheAlloc()
/kernel/linux/linux-6.6/arch/parisc/include/asm/
Dcacheflush.h54 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages) argument
55 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages) argument
56 #define flush_dcache_mmap_lock_irqsave(mapping, flags) \ argument
58 #define flush_dcache_mmap_unlock_irqrestore(mapping, flags) \ argument
/kernel/linux/linux-5.10/fs/
Ddax.c342 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry()
361 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry()
408 struct address_space *mapping = READ_ONCE(page->mapping); in dax_lock_page() local
449 struct address_space *mapping = page->mapping; in dax_unlock_page() local
488 struct address_space *mapping, unsigned int order) in grab_mapping_entry()
591 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range()
653 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
659 static int __dax_invalidate_entry(struct address_space *mapping, in __dax_invalidate_entry()
688 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index) in dax_delete_mapping_entry()
706 int dax_invalidate_mapping_entry_sync(struct address_space *mapping, in dax_invalidate_mapping_entry_sync()
[all …]
/kernel/linux/linux-6.6/fs/jfs/
Dinode.c267 static int jfs_writepages(struct address_space *mapping, in jfs_writepages()
283 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed()
293 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin()
306 static int jfs_write_end(struct file *file, struct address_space *mapping, in jfs_write_end()
318 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap()
326 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
/kernel/linux/linux-6.6/fs/afs/
Dwrite.c30 bool afs_dirty_folio(struct address_space *mapping, struct folio *folio) in afs_dirty_folio()
50 static int afs_flush_conflicting_write(struct address_space *mapping, in afs_flush_conflicting_write()
68 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin()
153 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end()
220 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
258 struct address_space *mapping, in afs_redirty_pages()
292 struct address_space *mapping = vnode->netfs.inode.i_mapping; in afs_pages_written_back() local
461 static void afs_extend_writeback(struct address_space *mapping, in afs_extend_writeback()
581 static ssize_t afs_write_back_from_locked_folio(struct address_space *mapping, in afs_write_back_from_locked_folio()
703 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
[all …]
/kernel/linux/linux-6.6/fs/gfs2/
Daops.c178 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages()
207 static int gfs2_write_jdata_batch(struct address_space *mapping, in gfs2_write_jdata_batch()
307 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata()
389 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages()
485 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local
578 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio()
594 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap()
682 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
/kernel/linux/linux-5.10/fs/afs/
Dwrite.c77 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin()
162 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end()
238 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
281 struct address_space *mapping, in afs_redirty_pages()
422 static int afs_store_data(struct address_space *mapping, in afs_store_data()
494 static int afs_write_back_from_locked_page(struct address_space *mapping, in afs_write_back_from_locked_page()
680 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
746 int afs_writepages(struct address_space *mapping, in afs_writepages()
915 struct address_space *mapping = page->mapping; in afs_launder_page() local
/kernel/linux/linux-5.10/fs/hpfs/
Dfile.c134 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages()
140 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed()
154 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin()
170 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end()
188 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()

12345678910>>...38