Home
last modified time | relevance | path

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

12345678910>>...14

/linux/include/linux/
H A Dpagemap.h49 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait()
63 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait()
82 static inline void filemap_set_wb_err(struct address_space *mapping, int err) in filemap_set_wb_err()
99 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err()
112 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err()
140 static inline bool mapping_empty(const struct address_space *mapping) in mapping_empty()
166 static inline bool mapping_shrinkable(const struct address_space *mapping) in mapping_shrinkable()
238 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
257 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
262 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
[all …]
H 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()
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 Dfilemap.c129 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()
224 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local
231 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()
370 static int filemap_writeback(struct address_space *mapping, loff_t start, in filemap_writeback()
[all …]
H A Dtruncate.c26 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 …]
H A Dpage-writeback.c2046 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags()
2116 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2383 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2405 static bool folio_prepare_writeback(struct address_space *mapping, in folio_prepare_writeback()
2445 static struct folio *writeback_get_folio(struct address_space *mapping, in writeback_get_folio()
2498 struct folio *writeback_iter(struct address_space *mapping, in writeback_iter()
2587 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2628 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio()
2642 struct address_space *mapping) in folio_account_dirtied()
2697 void __folio_mark_dirty(struct folio *folio, struct address_space *mapping, in __folio_mark_dirty()
[all …]
/linux/arch/nios2/include/asm/
H A Dcacheflush.h54 #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/jfs/
H A Dinode.c273 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/fs/
H A Ddax.c441 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 Dfile.c154 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 Dinode.c415 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 Duapi.c17 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
192 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_map() local
279 struct tegra_drm_mapping *mapping; in tegra_drm_ioctl_channel_unmap() local
/linux/fs/hpfs/
H A Dfile.c173 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/affs/
H A Dfile.c374 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/tools/testing/selftests/mm/
H A Dksm_tests.c173 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/ceph/
H A Daddr.c81 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()
1063 int ceph_define_writeback_range(struct address_space *mapping, in ceph_define_writeback_range()
1133 int ceph_check_page_before_write(struct address_space *mapping, in ceph_check_page_before_write()
1199 void ceph_allocate_page_array(struct address_space *mapping, in ceph_allocate_page_array()
1246 static inline int move_dirty_folio_in_page_array(struct address_space *mapping, in move_dirty_folio_in_page_array()
1286 int ceph_process_folio_batch(struct address_space *mapping, in ceph_process_folio_batch()
[all …]
/linux/arch/arm/mm/
H A Ddma-mapping.c754 static inline dma_addr_t __alloc_iova(struct dma_iommu_mapping *mapping, in __alloc_iova()
812 static inline void __free_iova(struct dma_iommu_mapping *mapping, in __free_iova()
963 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_create_mapping() local
1002 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_remove_mapping() local
1187 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __map_sg_chunk() local
1368 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_phys() local
1407 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_phys() local
1429 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_sync_single_for_cpu() local
1444 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_sync_single_for_device() local
1491 struct dma_iommu_mapping *mapping; in arm_iommu_create_mapping() local
[all …]
/linux/fs/adfs/
H A Dinode.c37 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 Dvmwgfx_page_dirty.c72 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 Dinode.c243 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local
318 struct address_space *mapping, in hugetlbfs_write_begin()
326 struct address_space *mapping, in hugetlbfs_write_end()
400 struct address_space *mapping, in hugetlb_unmap_file_folio()
519 struct address_space *mapping, in remove_inode_single_folio()
581 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local
641 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local
657 struct address_space *mapping, in hugetlbfs_zero_partial_page()
682 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local
737 struct address_space *mapping = inode->i_mapping; in hugetlbfs_fallocate() local
[all …]
/linux/fs/ecryptfs/
H A Dmmap.c30 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 Dmte_common_util.c167 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/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c496 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
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c63 struct etnaviv_vram_mapping *mapping, in etnaviv_cmdbuf_suballoc_map()
71 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_suballoc_unmap()
136 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_get_va()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dutil.h57 struct mwifiex_dma_mapping *mapping) in mwifiex_store_mapping()
65 struct mwifiex_dma_mapping *mapping) in mwifiex_get_mapping()
74 struct mwifiex_dma_mapping mapping; in MWIFIEX_SKB_DMA_ADDR() local
/linux/fs/omfs/
H A Dfile.c298 omfs_writepages(struct address_space *mapping, struct writeback_control *wbc) in omfs_writepages()
303 static void omfs_write_failed(struct address_space *mapping, loff_t to) in omfs_write_failed()
314 struct address_space *mapping, in omfs_write_begin()
327 static sector_t omfs_bmap(struct address_space *mapping, sector_t block) in omfs_bmap()

12345678910>>...14