| /linux/include/linux/ |
| H A D | pagemap.h | 49 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 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 | 129 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() 223 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local 230 static void filemap_free_folio(const struct address_space *mapping, 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 D | interval_tree.c | 22 struct address_space *mapping) in mapping_rmap_tree_insert() 30 struct address_space *mapping) in mapping_rmap_tree_insert_after() 62 struct address_space *mapping) in mapping_rmap_tree_remove() 68 mapping_rmap_tree_iter_first(struct address_space *mapping, in mapping_rmap_tree_iter_first()
|
| H A D | readahead.c | 142 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init() 225 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local 329 struct address_space *mapping = ractl->mapping; in do_page_cache_ra() local 359 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local 484 struct address_space *mapping = ractl->mapping; in page_cache_ra_order() local 789 struct address_space *mapping = ractl->mapping; in readahead_expand() local
|
| H A D | page-writeback.c | 2030 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags() 2100 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited() 2345 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback() 2367 static bool folio_prepare_writeback(struct address_space *mapping, in folio_prepare_writeback() 2407 static struct folio *writeback_get_folio(struct address_space *mapping, in writeback_get_folio() 2460 struct folio *writeback_iter(struct address_space *mapping, in writeback_iter() 2549 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages() 2590 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio() 2604 struct address_space *mapping) in folio_account_dirtied() 2663 void __folio_mark_dirty(struct folio *folio, struct address_space *mapping, in __folio_mark_dirty() [all …]
|
| H A D | shmem.c | 278 bool shmem_mapping(const struct address_space *mapping) in shmem_mapping() argument 473 struct address_space *mapping = inode->i_mapping; in shmem_charge() local 498 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry() argument 521 static int shmem_confirm_swap(struct address_space *mapping, pgoff_ argument 893 shmem_add_to_page_cache(struct folio * folio,struct address_space * mapping,pgoff_t index,void * expected,gfp_t gfp) shmem_add_to_page_cache() argument 956 struct address_space *mapping = folio->mapping; shmem_delete_from_page_cache() local 975 shmem_free_swap(struct address_space * mapping,pgoff_t index,pgoff_t end,void * radswap) shmem_free_swap() argument 1008 shmem_partial_swap_usage(struct address_space * mapping,pgoff_t start,pgoff_t end) shmem_partial_swap_usage() argument 1045 struct address_space *mapping = inode->i_mapping; shmem_swap_usage() local 1071 shmem_unlock_mapping(struct address_space * mapping) shmem_unlock_mapping() argument 1123 struct address_space *mapping = inode->i_mapping; shmem_undo_range() local 1455 shmem_find_swap_entries(struct address_space * mapping,pgoff_t start,struct folio_batch * fbatch,pgoff_t * indices,unsigned int type) shmem_find_swap_entries() argument 1503 struct address_space *mapping = inode->i_mapping; shmem_unuse_swap_entries() local 1527 struct address_space *mapping = inode->i_mapping; shmem_unuse_inode() local 1610 struct address_space *mapping = folio->mapping; shmem_writeout() local 1881 shmem_suitable_orders(struct inode * inode,struct vm_fault * vmf,struct address_space * mapping,pgoff_t index,unsigned long orders) shmem_suitable_orders() argument 1918 shmem_suitable_orders(struct inode * inode,struct vm_fault * vmf,struct address_space * mapping,pgoff_t index,unsigned long orders) shmem_suitable_orders() argument 1943 struct address_space *mapping = inode->i_mapping; shmem_alloc_and_add_folio() local 2152 struct address_space *mapping = inode->i_mapping; shmem_set_folio_swapin_error() local 2179 struct address_space *mapping = inode->i_mapping; shmem_split_large_entry() local 2259 struct address_space *mapping = inode->i_mapping; shmem_swapin_folio() local 3146 struct address_space *mapping = inode->i_mapping; shmem_mfill_folio_alloc() local 3172 struct address_space *mapping = inode->i_mapping; shmem_mfill_filemap_add() local 3242 shmem_write_begin(const struct kiocb * iocb,struct address_space * mapping,loff_t pos,unsigned len,struct folio ** foliop,void ** fsdata) shmem_write_begin() argument 3280 shmem_write_end(const struct kiocb * iocb,struct address_space * mapping,loff_t pos,unsigned len,unsigned copied,struct folio * folio,void * fsdata) shmem_write_end() argument 3308 struct address_space *mapping = inode->i_mapping; shmem_file_read_iter() local 3496 struct address_space *mapping = inode->i_mapping; shmem_file_splice_read() local 3605 struct address_space *mapping = file->f_mapping; shmem_file_llseek() local 3645 struct address_space *mapping = file->f_mapping; shmem_fallocate() local 5155 shmem_error_remove_folio(struct address_space * mapping,struct folio * folio) shmem_error_remove_folio() argument 5763 shmem_unlock_mapping(struct address_space * mapping) shmem_unlock_mapping() argument 5957 shmem_read_folio_gfp(struct address_space * mapping,pgoff_t index,gfp_t gfp) shmem_read_folio_gfp() argument 5981 shmem_read_mapping_page_gfp(struct address_space * mapping,pgoff_t index,gfp_t gfp) shmem_read_mapping_page_gfp() argument [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/ |
| H A D | dax.c | 478 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry() 506 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry() 548 struct address_space *mapping = READ_ONCE(folio->mapping); in dax_lock_folio() local 589 struct address_space *mapping = folio->mapping; in dax_unlock_folio() local 607 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry() 650 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry() 691 struct address_space *mapping, unsigned int order) in grab_mapping_entry() 794 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range() 849 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 855 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/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 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/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_mmu.c | 115 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_remove_mapping() 126 void etnaviv_iommu_reap_mapping(struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_reap_mapping() 268 struct etnaviv_vram_mapping *mapping, u64 va) in etnaviv_iommu_map_gem() 320 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_unmap_gem() 398 struct etnaviv_vram_mapping *mapping, in etnaviv_iommu_get_suballoc_va() 449 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_put_suballoc_va()
|
| H A D | etnaviv_cmdbuf.c | 63 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/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() argument 320 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() argument 354 check_ksm_unmerge(int merge_type,int mapping,int prot,int timeout,size_t page_size) check_ksm_unmerge() argument 394 check_ksm_zero_page_merge(int merge_type,int mapping,int prot,long page_count,int timeout,bool use_zero_pages,size_t page_size) check_ksm_zero_page_merge() argument 459 check_ksm_numa_merge(int merge_type,int mapping,int prot,int timeout,bool merge_across_nodes,size_t page_size) check_ksm_numa_merge() argument 523 ksm_merge_hugepages_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_hugepages_time() argument 596 ksm_merge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_time() argument 637 ksm_unmerge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_unmerge_time() argument 684 ksm_cow_time(int merge_type,int mapping,int prot,int timeout,size_t page_size) ksm_cow_time() argument [all...] |
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 28 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 337 dma_addr_t mapping; in bnxt_xdp_xmit() local
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 754 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/ceph/ |
| H A D | addr.c | 82 static bool ceph_dirty_folio(struct address_space *mapping, struct folio *folio) in ceph_dirty_folio() 905 struct address_space *mapping = inode->i_mapping; in writepages_finish() local 1004 bool is_forced_umount(struct address_space *mapping) in is_forced_umount() 1025 unsigned int ceph_define_write_size(struct address_space *mapping) in ceph_define_write_size() 1053 void ceph_init_writeback_ctl(struct address_space *mapping, in ceph_init_writeback_ctl() 1090 int ceph_define_writeback_range(struct address_space *mapping, in ceph_define_writeback_range() 1160 int ceph_check_page_before_write(struct address_space *mapping, in ceph_check_page_before_write() 1224 void ceph_allocate_page_array(struct address_space *mapping, in ceph_allocate_page_array() 1271 static inline int move_dirty_folio_in_page_array(struct address_space *mapping, in move_dirty_folio_in_page_array() 1311 void ceph_process_folio_batch(struct address_space *mapping, in ceph_process_folio_batch() [all …]
|
| /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()
|
| H A D | check_mmap_options.c | 47 int mapping; member 113 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, in check_anonymous_memory_mapping() 148 static int check_file_memory_mapping(int mem_type, int mode, int mapping, in check_file_memory_mapping() 191 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping, int atag_check) in check_clear_prot_mte_flag()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_shmem.c | 34 void shmem_sg_free_table(struct sg_table *st, struct address_space *mapping, in shmem_sg_free_table() 67 struct address_space *mapping, in shmem_sg_alloc_table() 217 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_get_pages() local 307 void __shmem_writeback(size_t size, struct address_space *mapping) in __shmem_writeback() 557 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
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | util.h | 57 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/ntfs/ |
| H A D | aops.c | 133 static sector_t ntfs_bmap(struct address_space *mapping, sector_t block) in ntfs_bmap() 234 struct address_space *mapping = rac->mapping; in ntfs_readahead() local 252 static int ntfs_writepages(struct address_space *mapping, in ntfs_writepages()
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | util.h | 60 struct nxpwifi_dma_mapping *mapping) in nxpwifi_store_mapping() 68 struct nxpwifi_dma_mapping *mapping) in nxpwifi_get_mapping() 77 struct nxpwifi_dma_mapping mapping; in NXPWIFI_SKB_DMA_ADDR() local
|
| /linux/fs/netfs/ |
| H A D | fscache_io.c | 164 struct address_space *mapping; member 173 void __fscache_clear_page_bits(struct address_space *mapping, in __fscache_clear_page_bits() 210 struct address_space *mapping, in __fscache_write_to_cache()
|