| /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() 224 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local 231 static void filemap_free_folio(const struct address_space *mapping, in filemap_free_folio() 253 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local 280 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch() 321 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch() 347 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors() 361 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors() 371 static int filemap_writeback(struct address_space *mapping, loff_t start, in filemap_writeback() [all …]
|
| H A D | page-writeback.c | 2041 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags() 2111 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited() 2356 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback() 2378 static bool folio_prepare_writeback(struct address_space *mapping, in folio_prepare_writeback() 2418 static struct folio *writeback_get_folio(struct address_space *mapping, in writeback_get_folio() 2471 struct folio *writeback_iter(struct address_space *mapping, in writeback_iter() 2560 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages() 2601 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio() 2615 struct address_space *mapping) in folio_account_dirtied() 2670 void __folio_mark_dirty(struct folio *folio, struct address_space *mapping, in __folio_mark_dirty() [all …]
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_ctrl.c | 410 static bool uvc_ctrl_mapping_is_compound(struct uvc_control_mapping *mapping) in uvc_ctrl_mapping_is_compound() 415 static s32 uvc_mapping_get_s32(struct uvc_control_mapping *mapping, in uvc_mapping_get_s32() 425 static void uvc_mapping_set_s32(struct uvc_control_mapping *mapping, in uvc_mapping_set_s32() 445 static int uvc_mapping_get_menu_value(const struct uvc_control_mapping *mapping, in uvc_mapping_get_menu_value() 458 uvc_mapping_get_menu_name(const struct uvc_control_mapping *mapping, u32 idx) in uvc_mapping_get_menu_name() 469 static int uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, u8 query, in uvc_ctrl_get_zoom() 496 static int uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom() 513 static int uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed() 540 static int uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed() 646 static int uvc_get_rect(struct uvc_control_mapping *mapping, u8 query, in uvc_get_rect() [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/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/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/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/ceph/ |
| H A D | addr.c | 82 static bool ceph_dirty_folio(struct address_space *mapping, struct folio *folio) in ceph_dirty_folio() 893 struct address_space *mapping = inode->i_mapping; in writepages_finish() local 992 bool is_forced_umount(struct address_space *mapping) in is_forced_umount() 1013 unsigned int ceph_define_write_size(struct address_space *mapping) in ceph_define_write_size() 1041 void ceph_init_writeback_ctl(struct address_space *mapping, in ceph_init_writeback_ctl() 1078 int ceph_define_writeback_range(struct address_space *mapping, in ceph_define_writeback_range() 1148 int ceph_check_page_before_write(struct address_space *mapping, in ceph_check_page_before_write() 1212 void ceph_allocate_page_array(struct address_space *mapping, in ceph_allocate_page_array() 1259 static inline int move_dirty_folio_in_page_array(struct address_space *mapping, in move_dirty_folio_in_page_array() 1299 void ceph_process_folio_batch(struct address_space *mapping, in ceph_process_folio_batch() [all …]
|
| /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 …]
|
| H A D | flush.c | 199 void __flush_dcache_folio(struct address_space *mapping, struct folio *folio) in __flush_dcache_folio() 238 static void __flush_dcache_aliases(struct address_space *mapping, struct folio *folio) in __flush_dcache_aliases() 289 struct address_space *mapping; in __sync_icache_dcache() local 338 struct address_space *mapping; in flush_dcache_folio() local
|
| /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/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 | 223 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local 298 struct address_space *mapping, in hugetlbfs_write_begin() 306 struct address_space *mapping, in hugetlbfs_write_end() 380 struct address_space *mapping, in hugetlb_unmap_file_folio() 498 struct address_space *mapping, struct folio *folio, in remove_inode_single_folio() 555 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local 609 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local 625 struct address_space *mapping, in hugetlbfs_zero_partial_page() 650 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local 705 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()
|
| 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/fs/ntfs/ |
| H A D | aops.c | 127 static sector_t ntfs_bmap(struct address_space *mapping, sector_t block) in ntfs_bmap() 227 struct address_space *mapping = rac->mapping; in ntfs_readahead() local 244 static int ntfs_writepages(struct address_space *mapping, in ntfs_writepages()
|
| /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
|