Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v5.15/mm/
Dtruncate.c34 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
45 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry()
58 static void truncate_exceptional_pvec_entries(struct address_space *mapping, in truncate_exceptional_pvec_entries()
105 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
119 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
196 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
211 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
226 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
248 struct address_space *mapping = page_mapping(page); in invalidate_inode_page() local
282 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
[all …]
Dfilemap.c124 static void page_cache_delete(struct address_space *mapping, in page_cache_delete()
150 static void unaccount_page_cache_page(struct address_space *mapping, in unaccount_page_cache_page()
227 struct address_space *mapping = page->mapping; in __delete_from_page_cache() local
235 static void page_cache_free_page(struct address_space *mapping, in page_cache_free_page()
262 struct address_space *mapping = page_mapping(page); in delete_from_page_cache() local
287 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
335 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
356 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
370 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
390 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc()
[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
279 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
389 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
404 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
665 struct address_space *mapping = ractl->mapping; in readahead_expand() local
Dpage_io.c131 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate() local
296 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage() local
384 struct address_space *mapping = swap_file->f_mapping; in swap_readpage() local
447 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty() local
Dpage-writeback.c1878 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2124 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2177 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2319 struct address_space *mapping = data; in __writepage() local
2335 int generic_writepages(struct address_space *mapping, in generic_writepages()
2353 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2396 struct address_space *mapping = page->mapping; in write_one_page() local
2442 struct address_space *mapping) in account_page_dirtied()
2472 void account_page_cleaned(struct page *page, struct address_space *mapping, in account_page_cleaned()
2492 void __set_page_dirty(struct page *page, struct address_space *mapping, in __set_page_dirty()
[all …]
/Linux-v5.15/include/linux/
Dpagemap.h21 static inline bool mapping_empty(struct address_space *mapping) in mapping_empty()
54 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
73 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
78 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
83 static inline bool mapping_unevictable(struct address_space *mapping) in mapping_unevictable()
88 static inline void mapping_set_exiting(struct address_space *mapping) in mapping_set_exiting()
93 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting()
98 static inline void mapping_set_no_writeback_tags(struct address_space *mapping) in mapping_set_no_writeback_tags()
103 static inline int mapping_use_writeback_tags(struct address_space *mapping) in mapping_use_writeback_tags()
108 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
[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()
86 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
101 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()
185 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
Ddax.h151 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
156 static inline struct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start,… in dax_layout_busy_page_range()
161 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range()
214 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
/Linux-v5.15/drivers/media/usb/uvc/
Duvc_ctrl.c373 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
391 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
398 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
418 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
782 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
816 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
858 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
890 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control()
971 static s32 __uvc_ctrl_get_value(struct uvc_control_mapping *mapping, in __uvc_ctrl_get_value()
992 struct uvc_control *ctrl, struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
[all …]
/Linux-v5.15/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
/Linux-v5.15/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 …]
/Linux-v5.15/fs/afs/
Dwrite.c30 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin()
108 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end()
173 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
219 struct address_space *mapping, in afs_redirty_pages()
263 struct address_space *mapping = vnode->vfs_inode.i_mapping; in afs_pages_written_back() local
431 static void afs_extend_writeback(struct address_space *mapping, in afs_extend_writeback()
547 static ssize_t afs_write_back_from_locked_page(struct address_space *mapping, in afs_write_back_from_locked_page()
682 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
759 int afs_writepages(struct address_space *mapping, in afs_writepages()
952 struct address_space *mapping = page->mapping; in afs_launder_page() local
/Linux-v5.15/fs/jfs/
Dinode.c289 static int jfs_writepages(struct address_space *mapping, in jfs_writepages()
305 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed()
315 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin()
329 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap()
337 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
/Linux-v5.15/drivers/gpu/drm/tegra/
Duapi.c17 struct tegra_drm_mapping *mapping = in tegra_drm_mapping_release() local
30 void tegra_drm_mapping_put(struct tegra_drm_mapping *mapping) in tegra_drm_mapping_put()
37 struct tegra_drm_mapping *mapping; in tegra_drm_channel_context_close() local
160 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_map() local
255 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_unmap() local
/Linux-v5.15/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
217 dma_addr_t mapping; in bnxt_xdp_xmit() local
/Linux-v5.15/tools/testing/selftests/vm/
Dksm_tests.c121 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
242 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge()
273 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
313 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge()
357 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge()
419 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
460 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
/Linux-v5.15/fs/hpfs/
Dfile.c176 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages()
182 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed()
196 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin()
212 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end()
230 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()
/Linux-v5.15/fs/gfs2/
Daops.c203 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages()
233 static int gfs2_write_jdata_pagevec(struct address_space *mapping, in gfs2_write_jdata_pagevec()
328 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata()
409 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages()
514 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local
631 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap()
718 struct address_space *mapping = page->mapping; in gfs2_releasepage() local
/Linux-v5.15/tools/testing/selftests/arm64/mte/
Dmte_common_util.c119 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range()
161 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range()
168 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory()
173 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory()
198 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range()
/Linux-v5.15/arch/nds32/include/asm/
Dcacheflush.h42 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&(mapping)->i_pages) argument
43 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&(mapping)->i_pages) argument
/Linux-v5.15/fs/exfat/
Dinode.c376 static int exfat_writepages(struct address_space *mapping, in exfat_writepages()
382 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed()
392 static int exfat_write_begin(struct file *file, struct address_space *mapping, in exfat_write_begin()
409 static int exfat_write_end(struct file *file, struct address_space *mapping, in exfat_write_end()
440 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local
470 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block) in exfat_aop_bmap()
/Linux-v5.15/fs/affs/
Dfile.c383 static void affs_write_failed(struct address_space *mapping, loff_t to) in affs_write_failed()
397 struct address_space *mapping = file->f_mapping; in affs_direct_IO() local
416 static int affs_write_begin(struct file *file, struct address_space *mapping, in affs_write_begin()
432 static int affs_write_end(struct file *file, struct address_space *mapping, in affs_write_end()
450 static sector_t _affs_bmap(struct address_space *mapping, sector_t block) in _affs_bmap()
651 static int affs_write_begin_ofs(struct file *file, struct address_space *mapping, in affs_write_begin_ofs()
689 static int affs_write_end_ofs(struct file *file, struct address_space *mapping, in affs_write_end_ofs()
882 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
/Linux-v5.15/arch/nios2/include/asm/
Dcacheflush.h49 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages) argument
50 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages) argument
/Linux-v5.15/drivers/gpu/drm/etnaviv/
Detnaviv_cmdbuf.c65 struct etnaviv_vram_mapping *mapping, in etnaviv_cmdbuf_suballoc_map()
73 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_suballoc_unmap()
134 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_get_va()
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c87 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_scan_pagetable() local
125 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_scan_mkwrite() local
191 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_pre_unmap() local
215 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_unmap() local
270 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_add() local

12345678910>>...19