| /linux/include/linux/ |
| H A D | pagemap.h | 48 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait() 66 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait() 85 static inline void filemap_set_wb_err(struct address_space *mapping, int err) in filemap_set_wb_err() 102 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err() 115 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err() 143 static inline bool mapping_empty(const struct address_space *mapping) in mapping_empty() 169 static inline bool mapping_shrinkable(const struct address_space *mapping) in mapping_shrinkable() 241 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error() 260 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable() 265 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable() [all …]
|
| H A 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()
|
| /linux/mm/ |
| H A D | filemap.c | 128 static void page_cache_delete(struct address_space *mapping, in page_cache_delete() 149 static void filemap_unaccount_folio(struct address_space *mapping, in filemap_unaccount_folio() 223 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local 230 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio() 251 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local 278 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch() 319 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch() 345 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors() 359 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors() 379 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc() [all …]
|
| H A D | truncate.c | 26 static void clear_shadow_entries(struct address_space *mapping, in clear_shadow_entries() 60 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals() 170 int truncate_inode_folio(struct address_space *mapping, struct folio *folio) in truncate_inode_folio() 299 int generic_error_remove_folio(struct address_space *mapping, in generic_error_remove_folio() 325 long mapping_evict_folio(struct address_space *mapping, struct folio *folio) in mapping_evict_folio() 366 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range() 483 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages() 498 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final() 534 unsigned long mapping_try_invalidate(struct address_space *mapping, in mapping_try_invalidate() 599 unsigned long invalidate_mapping_pages(struct address_space *mapping, in invalidate_mapping_pages() [all …]
|
| /linux/arch/nios2/include/asm/ |
| H A 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/fs/gfs2/ |
| H A D | aops.c | 127 int gfs2_jdata_writeback(struct address_space *mapping, struct writeback_control *wbc) in gfs2_jdata_writeback() 158 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages() 191 static int gfs2_write_jdata_batch(struct address_space *mapping, in gfs2_write_jdata_batch() 283 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata() 365 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages() 456 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local 549 static bool gfs2_jdata_dirty_folio(struct address_space *mapping, in gfs2_jdata_dirty_folio() 565 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() 653 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
|
| /linux/fs/jfs/ |
| H A D | inode.c | 273 static int jfs_writepages(struct address_space *mapping, in jfs_writepages() 289 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed() 300 struct address_space *mapping, in jfs_write_begin() 314 struct address_space *mapping, in jfs_write_end() 326 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap() 334 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_gem.c | 94 struct panfrost_gem_mapping *iter, *mapping = NULL; in panfrost_gem_mapping_get() local 110 panfrost_gem_teardown_mapping(struct panfrost_gem_mapping *mapping) in panfrost_gem_teardown_mapping() 123 struct panfrost_gem_mapping *mapping; in panfrost_gem_mapping_release() local 133 void panfrost_gem_mapping_put(struct panfrost_gem_mapping *mapping) in panfrost_gem_mapping_put() 143 struct panfrost_gem_mapping *mapping; in panfrost_gem_teardown_mappings_locked() local 157 struct panfrost_gem_mapping *mapping; in panfrost_gem_open() local 208 struct panfrost_gem_mapping *mapping = NULL, *iter; in panfrost_gem_close() local
|
| /linux/fs/ |
| H A D | dax.c | 441 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry() 468 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry() 508 struct address_space *mapping = READ_ONCE(folio->mapping); in dax_lock_folio() local 549 struct address_space *mapping = folio->mapping; in dax_unlock_folio() local 567 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry() 610 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry() 651 struct address_space *mapping, unsigned int order) in grab_mapping_entry() 754 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range() 809 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 815 static int __dax_invalidate_entry(struct address_space *mapping, in __dax_invalidate_entry() [all …]
|
| /linux/fs/bfs/ |
| H A D | file.c | 154 static int bfs_writepages(struct address_space *mapping, in bfs_writepages() 165 static void bfs_write_failed(struct address_space *mapping, loff_t to) in bfs_write_failed() 174 struct address_space *mapping, in bfs_write_begin() 187 static sector_t bfs_bmap(struct address_space *mapping, sector_t block) in bfs_bmap()
|
| /linux/fs/exfat/ |
| H A D | inode.c | 415 struct address_space *mapping = rac->mapping; in exfat_readahead() local 429 static int exfat_writepages(struct address_space *mapping, in exfat_writepages() 438 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed() 450 struct address_space *mapping, in exfat_write_begin() 468 struct address_space *mapping, in exfat_write_end() 496 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local 536 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block) in exfat_aop_bmap()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A 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/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_mmu.c | 113 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_remove_mapping() 124 void etnaviv_iommu_reap_mapping(struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_reap_mapping() 266 struct etnaviv_vram_mapping *mapping, u64 va) in etnaviv_iommu_map_gem() 318 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_unmap_gem() 396 struct etnaviv_vram_mapping *mapping, in etnaviv_iommu_get_suballoc_va() 447 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_put_suballoc_va()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | ksm_tests.c | 173 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 320 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() 354 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 394 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge() 459 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge() 523 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time() 596 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 637 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time() 684 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
|
| /linux/fs/affs/ |
| H A 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 419 struct address_space *mapping, in affs_write_begin() 435 struct address_space *mapping, loff_t pos, in affs_write_end() 453 static sector_t _affs_bmap(struct address_space *mapping, sector_t block) in _affs_bmap() 651 struct address_space *mapping, in affs_write_begin_ofs() 691 struct address_space *mapping, in affs_write_end_ofs() 887 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
|
| /linux/fs/hpfs/ |
| H A D | file.c | 173 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages() 179 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed() 194 struct address_space *mapping, in hpfs_write_begin() 210 struct address_space *mapping, in hpfs_write_end() 228 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()
|
| /linux/fs/ceph/ |
| H A D | addr.c | 81 static bool ceph_dirty_folio(struct address_space *mapping, struct folio *folio) in ceph_dirty_folio() 884 struct address_space *mapping = inode->i_mapping; in writepages_finish() local 978 bool is_forced_umount(struct address_space *mapping) in is_forced_umount() 999 unsigned int ceph_define_write_size(struct address_space *mapping) in ceph_define_write_size() 1026 void ceph_init_writeback_ctl(struct address_space *mapping, in ceph_init_writeback_ctl() 1067 int ceph_define_writeback_range(struct address_space *mapping, in ceph_define_writeback_range() 1137 int ceph_check_page_before_write(struct address_space *mapping, in ceph_check_page_before_write() 1203 void ceph_allocate_page_array(struct address_space *mapping, in ceph_allocate_page_array() 1250 static inline int move_dirty_folio_in_page_array(struct address_space *mapping, in move_dirty_folio_in_page_array() 1290 int ceph_process_folio_batch(struct address_space *mapping, in ceph_process_folio_batch() [all …]
|
| /linux/arch/arm/mm/ |
| H A 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() 965 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_create_mapping() local 1004 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_remove_mapping() local 1189 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __map_sg_chunk() local 1372 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_page() local 1408 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_page() local 1437 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_resource() local 1471 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_resource() local 1486 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_sync_single_for_cpu() local [all …]
|
| /linux/fs/adfs/ |
| H A D | inode.c | 37 static int adfs_writepages(struct address_space *mapping, in adfs_writepages() 48 static void adfs_write_failed(struct address_space *mapping, loff_t to) in adfs_write_failed() 57 struct address_space *mapping, in adfs_write_begin() 72 static sector_t _adfs_bmap(struct address_space *mapping, sector_t block) in _adfs_bmap()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_page_dirty.c | 72 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_pagetable() local 110 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_mkwrite() local 175 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_pre_unmap() local 199 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_unmap() local 242 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_add() local
|
| /linux/fs/hugetlbfs/ |
| H A D | inode.c | 224 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local 299 struct address_space *mapping, in hugetlbfs_write_begin() 307 struct address_space *mapping, in hugetlbfs_write_end() 381 struct address_space *mapping, in hugetlb_unmap_file_folio() 500 struct address_space *mapping, in remove_inode_single_folio() 562 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local 622 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local 638 struct address_space *mapping, in hugetlbfs_zero_partial_page() 663 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local 718 struct address_space *mapping = inode->i_mapping; in hugetlbfs_fallocate() local [all …]
|
| /linux/fs/ecryptfs/ |
| H A D | mmap.c | 30 static int ecryptfs_writepages(struct address_space *mapping, in ecryptfs_writepages() 243 struct address_space *mapping, in ecryptfs_write_begin() 441 struct address_space *mapping, in ecryptfs_write_end() 503 static sector_t ecryptfs_bmap(struct address_space *mapping, sector_t block) in ecryptfs_bmap()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | mte_common_util.c | 167 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() 212 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() 219 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() 224 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() 249 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/i915/gem/ |
| H A 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 299 void __shmem_writeback(size_t size, struct address_space *mapping) in __shmem_writeback() 537 struct address_space *mapping; in shmem_object_init() local
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 496 char mapping[64]; in TEST() local 625 char mapping[64]; in TEST() local 754 char mapping[64]; in TEST() local 883 char mapping[64]; in TEST() local 1015 char mapping[64]; in TEST() local 1144 char mapping[64]; in TEST() local 1293 char mapping[64]; in TEST() local
|