Home
last modified time | relevance | path

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

12345678910>>...20

/linux/mm/
A Dtruncate.c34 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
115 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
129 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
258 struct address_space *mapping = page_mapping(page); in invalidate_inode_page() local
292 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
448 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final()
558 void invalidate_mapping_pagevec(struct address_space *mapping, in invalidate_mapping_pagevec()
623 int invalidate_inode_pages2_range(struct address_space *mapping, in invalidate_inode_pages2_range()
714 int invalidate_inode_pages2(struct address_space *mapping) in invalidate_inode_pages2()
737 struct address_space *mapping = inode->i_mapping; in truncate_pagecache() local
[all …]
A Dfilemap.c226 struct address_space *mapping = page->mapping; in __delete_from_page_cache() local
261 struct address_space *mapping = page_mapping(page); in delete_from_page_cache() local
471 int filemap_flush(struct address_space *mapping) in filemap_flush()
615 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() local
778 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() local
821 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() local
854 struct address_space *mapping = old->mapping; in replace_page_cache_page() local
1631 struct address_space *mapping; in page_endio() local
2482 struct address_space *mapping, pgoff_t index, in filemap_create_page()
2540 struct address_space *mapping = filp->f_mapping; in filemap_get_pages() local
[all …]
A Dreadahead.c33 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
47 static void read_cache_pages_invalidate_page(struct address_space *mapping, in read_cache_pages_invalidate_page()
64 static void read_cache_pages_invalidate_pages(struct address_space *mapping, in read_cache_pages_invalidate_pages()
88 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
176 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local
278 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
388 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
403 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
664 struct address_space *mapping = ractl->mapping; in readahead_expand() local
A Dfolio-compat.c54 int migrate_page_move_mapping(struct address_space *mapping, in migrate_page_move_mapping()
112 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru()
120 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page()
132 struct page *grab_cache_page_write_begin(struct address_space *mapping, in grab_cache_page_write_begin()
A 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
382 struct address_space *mapping = swap_file->f_mapping; in swap_readpage() local
443 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty() local
/linux/include/linux/
A Dpagemap.h21 static inline bool mapping_empty(struct address_space *mapping) in mapping_empty()
47 static inline bool mapping_shrinkable(struct address_space *mapping) in mapping_shrinkable()
143 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting()
158 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
200 static inline int filemap_nr_thps(struct address_space *mapping) in filemap_nr_thps()
880 struct address_space *mapping, int warn) in __set_page_dirty()
887 struct address_space *mapping, struct bdi_writeback *wb) in account_page_cleaned()
950 struct address_space *mapping, pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache()
983 struct address_space *mapping; member
1023 void page_cache_sync_readahead(struct address_space *mapping, in page_cache_sync_readahead()
[all …]
A 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()
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()
179 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
A Ddax.h149 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
154 static inline struct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start,… in dax_layout_busy_page_range()
159 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range()
212 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
/linux/drivers/media/usb/uvc/
A Duvc_ctrl.c1048 struct uvc_control_mapping *mapping; in uvc_ctrl_is_accessible() local
1083 struct uvc_control_mapping *mapping, in __uvc_query_v4l2_ctrl()
1178 struct uvc_control_mapping *mapping; in uvc_query_v4l2_ctrl() local
1229 struct uvc_control_mapping *mapping; in uvc_query_v4l2_menu() local
1288 struct uvc_control_mapping *mapping, in uvc_ctrl_fill_event()
1362 struct uvc_control_mapping *mapping; in uvc_ctrl_status_event() local
1447 struct uvc_control_mapping *mapping; in uvc_ctrl_send_events() local
1495 struct uvc_control_mapping *mapping; in uvc_ctrl_add_event() local
1641 struct uvc_control_mapping *mapping; in uvc_ctrl_find_ctrl_idx() local
1688 struct uvc_control_mapping *mapping; in uvc_ctrl_get() local
[all …]
/linux/drivers/gpu/drm/panfrost/
A 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/fs/
A Ddax.c408 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()
745 struct address_space *mapping, struct vm_fault *vmf, in dax_insert_entry()
878 struct address_space *mapping, void *entry) in dax_writeback_one()
967 int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range()
1053 struct address_space *mapping, void **entry, in dax_load_hole()
1073 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_pmd_load_hole() local
1378 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_fault_iter() local
1427 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_iomap_pte_fault() local
[all …]
/linux/fs/afs/
A 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()
174 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
212 struct address_space *mapping, in afs_redirty_pages()
246 struct address_space *mapping = vnode->vfs_inode.i_mapping; in afs_pages_written_back() local
415 static void afs_extend_writeback(struct address_space *mapping, in afs_extend_writeback()
531 static ssize_t afs_write_back_from_locked_folio(struct address_space *mapping, in afs_write_back_from_locked_folio()
667 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
747 int afs_writepages(struct address_space *mapping, in afs_writepages()
/linux/fs/jfs/
A 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/drivers/gpu/drm/tegra/
A 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/drivers/net/ethernet/broadcom/bnxt/
A 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/tools/testing/selftests/vm/
A Dksm_tests.c138 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
259 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge()
290 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
330 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge()
395 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge()
487 static int ksm_merge_hugepages_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_hugepages_time()
554 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
595 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
/linux/fs/hpfs/
A 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/fs/gfs2/
A 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/tools/testing/selftests/arm64/mte/
A 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/drivers/gpu/drm/vmwgfx/
A 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
/linux/arch/nds32/include/asm/
A 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/fs/exfat/
A 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/fs/affs/
A 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/arch/nios2/include/asm/
A 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/drivers/gpu/drm/etnaviv/
A 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()

Completed in 63 milliseconds

12345678910>>...20