/linux-6.6.21/include/linux/ |
D | pagemap.h | 44 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 …]
|
D | io-mapping.h | 58 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()
|
D | dax.h | 169 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()
|
/linux-6.6.21/mm/ |
D | truncate.c | 31 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 …]
|
D | filemap.c | 126 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 …]
|
D | readahead.c | 139 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 781 struct address_space *mapping = ractl->mapping; in readahead_expand() local
|
/linux-6.6.21/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 384 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() 824 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value() 859 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value() 902 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control() 934 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control() [all …]
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_gem.c | 59 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-6.6.21/arch/nios2/include/asm/ |
D | cacheflush.h | 54 #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
|
/linux-6.6.21/fs/afs/ |
D | write.c | 30 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 …]
|
/linux-6.6.21/fs/jfs/ |
D | inode.c | 267 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
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | cacheflush.h | 55 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages) argument 56 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages) argument 57 #define flush_dcache_mmap_lock_irqsave(mapping, flags) \ argument 59 #define flush_dcache_mmap_unlock_irqrestore(mapping, flags) \ argument
|
/linux-6.6.21/fs/ |
D | dax.c | 356 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry() 379 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry() 431 struct address_space *mapping = READ_ONCE(folio->mapping); in dax_lock_folio() local 472 struct address_space *mapping = folio->mapping; in dax_unlock_folio() local 490 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry() 533 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry() 574 struct address_space *mapping, unsigned int order) in grab_mapping_entry() 677 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range() 739 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 745 static int __dax_invalidate_entry(struct address_space *mapping, in __dax_invalidate_entry() [all …]
|
/linux-6.6.21/fs/gfs2/ |
D | aops.c | 178 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 580 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio() 596 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() 684 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
|
/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | uapi.c | 17 struct tegra_drm_mapping *mapping = in tegra_drm_mapping_release() local 26 void tegra_drm_mapping_put(struct tegra_drm_mapping *mapping) in tegra_drm_mapping_put() 33 struct tegra_drm_mapping *mapping; in tegra_drm_channel_context_close() local 189 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_map() local 276 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_unmap() local
|
/linux-6.6.21/fs/hpfs/ |
D | file.c | 171 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages() 177 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed() 191 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin() 207 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end() 225 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 127 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_remove_mapping() 138 void etnaviv_iommu_reap_mapping(struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_reap_mapping() 280 struct etnaviv_vram_mapping *mapping, u64 va) in etnaviv_iommu_map_gem() 334 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_unmap_gem() 412 struct etnaviv_vram_mapping *mapping, in etnaviv_iommu_get_suballoc_va() 463 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_put_suballoc_va()
|
/linux-6.6.21/fs/affs/ |
D | file.c | 374 static int affs_writepages(struct address_space *mapping, in affs_writepages() 385 static void affs_write_failed(struct address_space *mapping, loff_t to) in affs_write_failed() 399 struct address_space *mapping = file->f_mapping; in affs_direct_IO() local 418 static int affs_write_begin(struct file *file, struct address_space *mapping, in affs_write_begin() 434 static int affs_write_end(struct file *file, struct address_space *mapping, in affs_write_end() 452 static sector_t _affs_bmap(struct address_space *mapping, sector_t block) in _affs_bmap() 649 static int affs_write_begin_ofs(struct file *file, struct address_space *mapping, in affs_write_begin_ofs() 688 static int affs_write_end_ofs(struct file *file, struct address_space *mapping, in affs_write_end_ofs() 884 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 27 dma_addr_t mapping, u32 len, in bnxt_xmit_bd() 96 dma_addr_t mapping, u32 len, u16 rx_prod, in __bnxt_xmit_xdp() 109 dma_addr_t mapping, u32 len, in __bnxt_xmit_xdp_redirect() 189 dma_addr_t mapping; in bnxt_xdp_buff_init() local 232 dma_addr_t mapping; in bnxt_rx_xdp() local 343 dma_addr_t mapping; in bnxt_xdp_xmit() local
|
/linux-6.6.21/arch/arm/mm/ |
D | dma-mapping.c | 756 static inline dma_addr_t __alloc_iova(struct dma_iommu_mapping *mapping, in __alloc_iova() 814 static inline void __free_iova(struct dma_iommu_mapping *mapping, in __free_iova() 968 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_create_mapping() local 1007 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_remove_mapping() local 1192 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __map_sg_chunk() local 1375 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_page() local 1411 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_page() local 1440 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_resource() local 1474 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_resource() local 1489 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_sync_single_for_cpu() local [all …]
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | ksm_tests.c | 200 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 347 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() 381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 421 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge() 486 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge() 550 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time() 618 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 659 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time() 706 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 86 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_pagetable() local 124 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_mkwrite() local 189 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_pre_unmap() local 213 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_unmap() local 256 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_add() local
|
/linux-6.6.21/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.c | 123 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() 168 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() 175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() 180 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() 205 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range()
|
/linux-6.6.21/fs/exfat/ |
D | inode.c | 346 static int exfat_writepages(struct address_space *mapping, in exfat_writepages() 352 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed() 363 static int exfat_write_begin(struct file *file, struct address_space *mapping, in exfat_write_begin() 380 static int exfat_write_end(struct file *file, struct address_space *mapping, in exfat_write_end() 411 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local 441 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block) in exfat_aop_bmap()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shmem.c | 32 void shmem_sg_free_table(struct sg_table *st, struct address_space *mapping, in shmem_sg_free_table() 65 struct address_space *mapping, in shmem_sg_alloc_table() 209 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_get_pages() local 303 void __shmem_writeback(size_t size, struct address_space *mapping) in __shmem_writeback() 424 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite() local 589 struct address_space *mapping; in shmem_object_init() local
|