Home
last modified time | relevance | path

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

12345678910>>...14

/linux/include/linux/
H A Dpagemap.h48 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait() argument
66 filemap_write_and_wait(struct address_space * mapping) filemap_write_and_wait() argument
85 filemap_set_wb_err(struct address_space * mapping,int err) filemap_set_wb_err() argument
102 filemap_check_wb_err(struct address_space * mapping,errseq_t since) filemap_check_wb_err() argument
115 filemap_sample_wb_err(struct address_space * mapping) filemap_sample_wb_err() argument
143 mapping_empty(struct address_space * mapping) mapping_empty() argument
169 mapping_shrinkable(struct address_space * mapping) mapping_shrinkable() argument
238 mapping_set_error(struct address_space * mapping,int error) mapping_set_error() argument
257 mapping_set_unevictable(struct address_space * mapping) mapping_set_unevictable() argument
262 mapping_clear_unevictable(struct address_space * mapping) mapping_clear_unevictable() argument
267 mapping_unevictable(struct address_space * mapping) mapping_unevictable() argument
272 mapping_set_exiting(struct address_space * mapping) mapping_set_exiting() argument
277 mapping_exiting(struct address_space * mapping) mapping_exiting() argument
282 mapping_set_no_writeback_tags(struct address_space * mapping) mapping_set_no_writeback_tags() argument
287 mapping_use_writeback_tags(struct address_space * mapping) mapping_use_writeback_tags() argument
292 mapping_release_always(const struct address_space * mapping) mapping_release_always() argument
297 mapping_set_release_always(struct address_space * mapping) mapping_set_release_always() argument
302 mapping_clear_release_always(struct address_space * mapping) mapping_clear_release_always() argument
307 mapping_stable_writes(const struct address_space * mapping) mapping_stable_writes() argument
312 mapping_set_stable_writes(struct address_space * mapping) mapping_set_stable_writes() argument
317 mapping_clear_stable_writes(struct address_space * mapping) mapping_clear_stable_writes() argument
322 mapping_set_inaccessible(struct address_space * mapping) mapping_set_inaccessible() argument
333 mapping_inaccessible(struct address_space * mapping) mapping_inaccessible() argument
338 mapping_gfp_mask(struct address_space * mapping) mapping_gfp_mask() argument
344 mapping_gfp_constraint(struct address_space * mapping,gfp_t gfp_mask) mapping_gfp_constraint() argument
408 mapping_set_folio_order_range(struct address_space * mapping,unsigned int min,unsigned int max) mapping_set_folio_order_range() argument
428 mapping_set_folio_min_order(struct address_space * mapping,unsigned int min) mapping_set_folio_min_order() argument
445 mapping_set_large_folios(struct address_space * mapping) mapping_set_large_folios() argument
451 mapping_max_folio_order(const struct address_space * mapping) mapping_max_folio_order() argument
459 mapping_min_folio_order(const struct address_space * mapping) mapping_min_folio_order() argument
467 mapping_min_folio_nrpages(struct address_space * mapping) mapping_min_folio_nrpages() argument
481 mapping_align_index(struct address_space * mapping,pgoff_t index) mapping_align_index() argument
491 mapping_large_folio_support(struct address_space * mapping) mapping_large_folio_support() argument
501 mapping_max_folio_size(const struct address_space * mapping) mapping_max_folio_size() argument
506 filemap_nr_thps(struct address_space * mapping) filemap_nr_thps() argument
515 filemap_nr_thps_inc(struct address_space * mapping) filemap_nr_thps_inc() argument
525 filemap_nr_thps_dec(struct address_space * mapping) filemap_nr_thps_dec() argument
753 filemap_get_folio(struct address_space * mapping,pgoff_t index) filemap_get_folio() argument
771 filemap_lock_folio(struct address_space * mapping,pgoff_t index) filemap_lock_folio() argument
789 filemap_grab_folio(struct address_space * mapping,pgoff_t index) filemap_grab_folio() argument
807 find_get_page(struct address_space * mapping,pgoff_t offset) find_get_page() argument
813 find_get_page_flags(struct address_space * mapping,pgoff_t offset,fgf_t fgp_flags) find_get_page_flags() argument
832 find_lock_page(struct address_space * mapping,pgoff_t index) find_lock_page() argument
857 find_or_create_page(struct address_space * mapping,pgoff_t index,gfp_t gfp_mask) find_or_create_page() argument
878 grab_cache_page_nowait(struct address_space * mapping,pgoff_t index) grab_cache_page_nowait() argument
937 grab_cache_page(struct address_space * mapping,pgoff_t index) grab_cache_page() argument
952 read_mapping_page(struct address_space * mapping,pgoff_t index,struct file * file) read_mapping_page() argument
958 read_mapping_folio(struct address_space * mapping,pgoff_t index,struct file * file) read_mapping_folio() argument
1261 filemap_range_needs_writeback(struct address_space * mapping,loff_t start_byte,loff_t end_byte) filemap_range_needs_writeback() argument
1291 struct address_space *mapping; global() member
1334 page_cache_sync_readahead(struct address_space * mapping,struct file_ra_state * ra,struct file * file,pgoff_t index,unsigned long req_count) page_cache_sync_readahead() argument
1356 page_cache_async_readahead(struct address_space * mapping,struct file_ra_state * ra,struct file * file,struct folio * folio,unsigned long req_count) page_cache_async_readahead() argument
[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.c128 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()
220 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local
227 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio()
248 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local
275 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch()
316 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch()
342 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors()
356 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors()
376 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc()
[all …]
H A Dtruncate.c26 static void clear_shadow_entries(struct address_space *mapping, in clear_shadow_entries() argument
60 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals() argument
170 truncate_inode_folio(struct address_space * mapping,struct folio * folio) truncate_inode_folio() argument
274 generic_error_remove_folio(struct address_space * mapping,struct folio * folio) generic_error_remove_folio() argument
300 mapping_evict_folio(struct address_space * mapping,struct folio * folio) mapping_evict_folio() argument
341 truncate_inode_pages_range(struct address_space * mapping,loff_t lstart,loff_t lend) truncate_inode_pages_range() argument
458 truncate_inode_pages(struct address_space * mapping,loff_t lstart) truncate_inode_pages() argument
473 truncate_inode_pages_final(struct address_space * mapping) truncate_inode_pages_final() argument
509 mapping_try_invalidate(struct address_space * mapping,pgoff_t start,pgoff_t end,unsigned long * nr_failed) mapping_try_invalidate() argument
574 invalidate_mapping_pages(struct address_space * mapping,pgoff_t start,pgoff_t end) invalidate_mapping_pages() argument
581 folio_launder(struct address_space * mapping,struct folio * folio) folio_launder() argument
597 folio_unmap_invalidate(struct address_space * mapping,struct folio * folio,gfp_t gfp) folio_unmap_invalidate() argument
647 invalidate_inode_pages2_range(struct address_space * mapping,pgoff_t start,pgoff_t end) invalidate_inode_pages2_range() argument
733 invalidate_inode_pages2(struct address_space * mapping) invalidate_inode_pages2() argument
756 struct address_space *mapping = inode->i_mapping; truncate_pagecache() local
877 struct address_space *mapping = inode->i_mapping; truncate_pagecache_range() local
[all...]
H A Dpage-writeback.c2048 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags()
2118 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2385 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2407 static bool folio_prepare_writeback(struct address_space *mapping, in folio_prepare_writeback()
2453 static struct folio *writeback_get_folio(struct address_space *mapping, in writeback_get_folio()
2506 struct folio *writeback_iter(struct address_space *mapping, in writeback_iter()
2606 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2625 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2666 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio()
2680 struct address_space *mapping) in folio_account_dirtied()
[all …]
H A Dshmem.c278 bool shmem_mapping(struct address_space *mapping) in shmem_mapping()
466 struct address_space *mapping = inode->i_mapping; in shmem_charge() local
491 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry()
513 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap()
571 shmem_mapping_size_orders(struct address_space *mapping, pgoff_t index, loff_t write_end) in shmem_mapping_size_orders()
883 struct address_space *mapping, in shmem_add_to_page_cache()
933 struct address_space *mapping = folio->mapping; in shmem_delete_from_page_cache() local
952 static long shmem_free_swap(struct address_space *mapping, in shmem_free_swap()
973 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage()
1010 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage() local
[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.c267 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/fs/
H A Ddax.c442 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry()
472 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry()
515 struct address_space *mapping = READ_ONCE(folio->mapping); in dax_lock_folio() local
556 struct address_space *mapping = folio->mapping; in dax_unlock_folio() local
574 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry()
617 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry()
658 struct address_space *mapping, unsigned int order) in grab_mapping_entry()
761 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range()
822 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
828 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()
173 static int bfs_write_begin(struct file *file, struct address_space *mapping, in bfs_write_begin()
186 static sector_t bfs_bmap(struct address_space *mapping, sector_t block) in bfs_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
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 Detnaviv_mmu.c113 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()
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/fs/hpfs/
H A Dfile.c171 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()
206 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end()
224 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
418 static int affs_write_begin(struct file *file, struct address_space *mapping, in affs_write_begin()
433 static int affs_write_end(struct file *file, struct address_space *mapping, in affs_write_end()
451 static sector_t _affs_bmap(struct address_space *mapping, sector_t block) in _affs_bmap()
648 static int affs_write_begin_ofs(struct file *file, struct address_space *mapping, in affs_write_begin_ofs()
687 static int affs_write_end_ofs(struct file *file, struct address_space *mapping, in affs_write_end_ofs()
883 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
/linux/tools/testing/selftests/mm/
H A Dksm_tests.c172 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
319 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge()
353 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
393 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge()
458 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge()
522 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time()
590 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
631 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time()
678 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()
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()
1288 int ceph_process_folio_batch(struct address_space *mapping, in ceph_process_folio_batch()
[all …]
/linux/arch/arm/mm/
H A Ddma-mapping.c756 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/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c28 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
338 dma_addr_t mapping; in bnxt_xdp_xmit() local
/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()
56 static int adfs_write_begin(struct file *file, struct address_space *mapping, in adfs_write_begin()
71 static sector_t _adfs_bmap(struct address_space *mapping, sector_t block) in _adfs_bmap()
/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/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()
313 static int omfs_write_begin(struct file *file, struct address_space *mapping, in omfs_write_begin()
326 static sector_t omfs_bmap(struct address_space *mapping, sector_t block) in omfs_bmap()
/linux/fs/bcachefs/
H A Dfs-io-buffered.c40 struct address_space *mapping; member
332 int bch2_read_single_folio(struct folio *folio, struct address_space *mapping) in bch2_read_single_folio()
658 int bch2_writepages(struct address_space *mapping, struct writeback_control *wbc) in bch2_writepages()
677 int bch2_write_begin(struct file *file, struct address_space *mapping, in bch2_write_begin()
760 int bch2_write_end(struct file *file, struct address_space *mapping, in bch2_write_end()
818 struct address_space *mapping, in __bch2_buffered_write()
989 struct address_space *mapping = file->f_mapping; in bch2_buffered_write() local
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_mmap_options.c60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping()
91 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_file_memory_mapping()
130 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag()

12345678910>>...14