/linux/mm/ |
H A D | filemap.c | 127 static void page_cache_delete(struct address_space *mapping, in page_cache_delete() 148 static void filemap_unaccount_folio(struct address_space *mapping, in filemap_unaccount_folio() 219 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local 226 void filemap_free_folio(struct address_space *mapping, struct folio *folio) in filemap_free_folio() 250 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local 277 static void page_cache_delete_batch(struct address_space *mapping, in page_cache_delete_batch() 318 void delete_from_page_cache_batch(struct address_space *mapping, in delete_from_page_cache_batch() 344 int filemap_check_errors(struct address_space *mapping) in filemap_check_errors() 358 static int filemap_check_and_keep_errors(struct address_space *mapping) in filemap_check_and_keep_errors() 378 int filemap_fdatawrite_wbc(struct address_space *mapping, in filemap_fdatawrite_wbc() [all …]
|
H A D | truncate.c | 31 __clear_shadow_entry(struct address_space * mapping,pgoff_t index,void * entry) __clear_shadow_entry() argument 42 clear_shadow_entries(struct address_space * mapping,struct folio_batch * fbatch,pgoff_t * indices) clear_shadow_entries() argument 72 truncate_folio_batch_exceptionals(struct address_space * mapping,struct folio_batch * fbatch,pgoff_t * indices) truncate_folio_batch_exceptionals() argument 171 truncate_inode_folio(struct address_space * mapping,struct folio * folio) truncate_inode_folio() argument 236 generic_error_remove_folio(struct address_space * mapping,struct folio * folio) generic_error_remove_folio() argument 262 mapping_evict_folio(struct address_space * mapping,struct folio * folio) mapping_evict_folio() argument 303 truncate_inode_pages_range(struct address_space * mapping,loff_t lstart,loff_t lend) truncate_inode_pages_range() argument 420 truncate_inode_pages(struct address_space * mapping,loff_t lstart) truncate_inode_pages() argument 435 truncate_inode_pages_final(struct address_space * mapping) truncate_inode_pages_final() argument 471 mapping_try_invalidate(struct address_space * mapping,pgoff_t start,pgoff_t end,unsigned long * nr_failed) mapping_try_invalidate() argument 534 invalidate_mapping_pages(struct address_space * mapping,pgoff_t start,pgoff_t end) invalidate_mapping_pages() argument 548 invalidate_complete_folio2(struct address_space * mapping,struct folio * folio) invalidate_complete_folio2() argument 577 folio_launder(struct address_space * mapping,struct folio * folio) folio_launder() argument 597 invalidate_inode_pages2_range(struct address_space * mapping,pgoff_t start,pgoff_t end) invalidate_inode_pages2_range() argument 690 invalidate_inode_pages2(struct address_space * mapping) invalidate_inode_pages2() argument 713 struct address_space *mapping = inode->i_mapping; truncate_pagecache() local 834 struct address_space *mapping = inode->i_mapping; truncate_pagecache_range() local [all...] |
H A D | folio-compat.c | 68 add_to_page_cache_lru(struct page * page,struct address_space * mapping,pgoff_t index,gfp_t gfp) add_to_page_cache_lru() argument 76 pagecache_get_page(struct address_space * mapping,pgoff_t index,fgf_t fgp_flags,gfp_t gfp) pagecache_get_page() argument 88 grab_cache_page_write_begin(struct address_space * mapping,pgoff_t index) grab_cache_page_write_begin() argument
|
H A D | page-writeback.c | 2433 XA_STATE(xas, &mapping->i_pages, start); in folio_prepare_writeback() argument 2074 balance_dirty_pages_ratelimited_flags(struct address_space * mapping,unsigned int flags) balance_dirty_pages_ratelimited_flags() argument 2144 balance_dirty_pages_ratelimited(struct address_space * mapping) balance_dirty_pages_ratelimited() argument 2411 tag_pages_for_writeback(struct address_space * mapping,pgoff_t start,pgoff_t end) tag_pages_for_writeback() argument 2479 writeback_get_folio(struct address_space * mapping,struct writeback_control * wbc) writeback_get_folio() argument 2532 writeback_iter(struct address_space * mapping,struct writeback_control * wbc,struct folio * folio,int * error) writeback_iter() argument 2632 write_cache_pages(struct address_space * mapping,struct writeback_control * wbc,writepage_t writepage,void * data) write_cache_pages() argument 2651 writeback_use_writepage(struct address_space * mapping,struct writeback_control * wbc) writeback_use_writepage() argument 2672 do_writepages(struct address_space * mapping,struct writeback_control * wbc) do_writepages() argument 2716 noop_dirty_folio(struct address_space * mapping,struct folio * folio) noop_dirty_folio() argument 2732 folio_account_dirtied(struct folio * folio,struct address_space * mapping) folio_account_dirtied() argument 2789 __folio_mark_dirty(struct folio * folio,struct address_space * mapping,int warn) __folio_mark_dirty() argument 2823 filemap_dirty_folio(struct address_space * mapping,struct folio * folio) filemap_dirty_folio() argument 2857 struct address_space *mapping = folio->mapping; folio_redirty_for_writepage() local 2893 struct address_space *mapping = folio_mapping(folio); folio_mark_dirty() local 2952 struct address_space *mapping = folio_mapping(folio); __folio_cancel_dirty() local 2989 struct address_space *mapping = folio_mapping(folio); folio_clear_dirty_for_io() local 3074 struct address_space *mapping = folio_mapping(folio); __folio_end_writeback() local 3116 struct address_space *mapping = folio_mapping(folio); __folio_start_writeback() local [all...] |
/linux/drivers/media/usb/uvc/ |
H A D | uvc_ctrl.c | 384 static int uvc_mapping_get_menu_value(const struct uvc_control_mapping *mapping, in uvc_mapping_get_menu_value() 397 uvc_mapping_get_menu_name(const struct uvc_control_mapping *mapping, u32 idx) in uvc_mapping_get_menu_name() 408 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom() 426 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom() 433 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed() 453 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed() 871 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value() 906 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value() 949 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control() 981 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control() [all …]
|
/linux/include/linux/ |
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()
|
H A D | dax.h | 170 dax_layout_busy_page(struct address_space * mapping) dax_layout_busy_page() argument 175 dax_layout_busy_page_range(struct address_space * mapping,pgoff_t start,pgoff_t nr_pages) dax_layout_busy_page_range() argument 180 dax_writeback_mapping_range(struct address_space * mapping,struct dax_device * dax_dev,struct writeback_control * wbc) dax_writeback_mapping_range() argument 197 dax_lock_mapping_entry(struct address_space * mapping,unsigned long index,struct page ** page) dax_lock_mapping_entry() argument 203 dax_unlock_mapping_entry(struct address_space * mapping,unsigned long index,dax_entry_t cookie) dax_unlock_mapping_entry() argument 260 dax_mapping(struct address_space * mapping) dax_mapping() 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/jfs/ |
H A D | inode.c | 267 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/gfs2/ |
H A D | aops.c | 148 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages() 177 static int gfs2_write_jdata_batch(struct address_space *mapping, in gfs2_write_jdata_batch() 277 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata() 359 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages() 450 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local 543 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio() 559 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() 647 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
|
/linux/fs/ |
H A D | dax.c | 356 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry() 379 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry() 431 struct address_space *mapping = READ_ONCE(folio->mapping); in dax_lock_folio() local 472 struct address_space *mapping = folio->mapping; in dax_unlock_folio() local 490 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry() 533 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry() 574 struct address_space *mapping, unsigned int order) in grab_mapping_entry() 677 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range() 739 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 745 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() 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/fs/exfat/ |
H A D | inode.c | 391 struct address_space *mapping = rac->mapping; in exfat_readahead() local 405 static int exfat_writepages(struct address_space *mapping, in exfat_writepages() 414 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed() 425 static int exfat_write_begin(struct file *file, struct address_space *mapping, in exfat_write_begin() 442 static int exfat_write_end(struct file *file, struct address_space *mapping, in exfat_write_end() 470 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local 510 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/fs/hpfs/ |
H A D | file.c | 171 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 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 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() 882 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
|
/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/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_xdp.c | 27 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/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 200 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 347 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() 381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 421 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge() 486 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge() 550 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time() 618 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 659 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time() 706 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_page_dirty.c | 86 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_pagetable() local 124 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_scan_mkwrite() local 189 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_pre_unmap() local 213 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_unmap() local 256 struct address_space *mapping = vbo->tbo.bdev->dev_mapping; in vmw_bo_dirty_add() local
|
/linux/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.c | 123 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() argument 168 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() argument 175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() argument 180 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() argument 205 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range() argument [all...] |
/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 303 void __shmem_writeback(size_t size, struct address_space *mapping) in __shmem_writeback() 424 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite() local 590 struct address_space *mapping; in shmem_object_init() local
|
/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() 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/hugetlbfs/ |
H A D | inode.c | 243 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local 318 struct address_space *mapping, in hugetlbfs_write_begin() 325 static int hugetlbfs_write_end(struct file *file, struct address_space *mapping, in hugetlbfs_write_end() 399 struct address_space *mapping, in hugetlb_unmap_file_folio() 518 struct address_space *mapping, in remove_inode_single_folio() 578 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local 638 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local 654 struct address_space *mapping, in hugetlbfs_zero_partial_page() 679 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local 734 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()
|