Home
last modified time | relevance | path

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

12345678910>>...35

/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-4.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 …]
Dio-mapping.h68 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
75 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
94 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
141 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
148 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
162 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
/kernel/linux/linux-4.19/mm/
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() local
[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() local
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() local
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 …]
/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-4.19/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
263 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_remove_mapping() local
277 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_get_device_data() local
290 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_put_device_data() local
305 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_get_attr() local
329 struct gasket_sysfs_mapping *mapping = get_mapping(device); in gasket_sysfs_put_attr() local
355 struct gasket_sysfs_mapping *mapping; in gasket_sysfs_register_store() local
/kernel/linux/linux-4.19/fs/
Ddax.c118 struct address_space *mapping; member
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()
232 static void *get_unlocked_mapping_entry(struct address_space *mapping, in get_unlocked_mapping_entry()
268 static void wait_entry_unlocked(struct address_space *mapping, pgoff_t index, in wait_entry_unlocked()
290 static void unlock_mapping_entry(struct address_space *mapping, pgoff_t index) in unlock_mapping_entry()
306 static void put_locked_mapping_entry(struct address_space *mapping, in put_locked_mapping_entry()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/uvc/
Duvc_ctrl.c370 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
388 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
395 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
415 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
769 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
803 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
866 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
898 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control()
979 static s32 __uvc_ctrl_get_value(struct uvc_control_mapping *mapping, in __uvc_ctrl_get_value()
1000 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_ctrl.c365 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
383 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
390 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
410 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
764 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
798 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
861 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
893 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control()
974 static s32 __uvc_ctrl_get_value(struct uvc_control_mapping *mapping, in __uvc_ctrl_get_value()
995 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/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-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-4.19/fs/hpfs/
Dfile.c128 static int hpfs_readpages(struct file *file, struct address_space *mapping, in hpfs_readpages()
134 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()
/kernel/linux/linux-4.19/fs/jfs/
Dinode.c289 static int jfs_writepages(struct address_space *mapping, in jfs_writepages()
300 static int jfs_readpages(struct file *file, struct address_space *mapping, in jfs_readpages()
306 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed()
316 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin()
330 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap()
338 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
/kernel/linux/linux-4.19/fs/afs/
Dwrite.c71 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin()
175 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end()
226 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
269 struct address_space *mapping, in afs_redirty_pages()
308 static int afs_store_data(struct address_space *mapping, in afs_store_data()
393 static int afs_write_back_from_locked_page(struct address_space *mapping, in afs_write_back_from_locked_page()
572 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
638 int afs_writepages(struct address_space *mapping, in afs_writepages()
834 struct address_space *mapping = page->mapping; in afs_launder_page() 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c25 dma_addr_t mapping, u32 len) in bnxt_xmit_bd()
48 dma_addr_t mapping, u32 len, u16 rx_prod) in __bnxt_xmit_xdp()
59 dma_addr_t mapping, u32 len, in __bnxt_xmit_xdp_redirect()
119 dma_addr_t mapping; in bnxt_rx_xdp() local
222 dma_addr_t mapping; in bnxt_xdp_xmit() local
/kernel/linux/linux-5.10/fs/jfs/
Dinode.c290 static int jfs_writepages(struct address_space *mapping, in jfs_writepages()
306 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed()
316 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin()
330 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap()
338 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local

12345678910>>...35