/openbmc/linux/include/linux/ |
H A D | pagemap.h | 44 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait() 62 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait() 98 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err() 139 static inline bool mapping_empty(struct address_space *mapping) in mapping_empty() 165 static inline bool mapping_shrinkable(struct address_space *mapping) in mapping_shrinkable() 264 static inline int mapping_exiting(struct address_space *mapping) in mapping_exiting() 384 static inline int filemap_nr_thps(struct address_space *mapping) in filemap_nr_thps() 1173 struct address_space *mapping, int warn) in __set_page_dirty() 1278 struct address_space *mapping; member 1320 void page_cache_sync_readahead(struct address_space *mapping, in page_cache_sync_readahead() [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()
|
H A D | dax.h | 169 static inline struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 174 static inline struct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start,… in dax_layout_busy_page_range() 179 static inline int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range() 196 static inline dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, in dax_lock_mapping_entry() 202 static inline void dax_unlock_mapping_entry(struct address_space *mapping, in dax_unlock_mapping_entry() 259 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
|
/openbmc/linux/mm/ |
H A D | truncate.c | 31 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry() 112 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry() 269 static long mapping_evict_folio(struct address_space *mapping, in mapping_evict_folio() 297 struct address_space *mapping = folio_mapping(folio); in invalidate_inode_page() local 329 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range() 461 void truncate_inode_pages_final(struct address_space *mapping) in truncate_inode_pages_final() 497 unsigned long mapping_try_invalidate(struct address_space *mapping, in mapping_try_invalidate() 618 int invalidate_inode_pages2_range(struct address_space *mapping, in invalidate_inode_pages2_range() 705 int invalidate_inode_pages2(struct address_space *mapping) in invalidate_inode_pages2() 728 struct address_space *mapping = inode->i_mapping; in truncate_pagecache() local [all …]
|
H A D | filemap.c | 221 struct address_space *mapping = folio->mapping; in __filemap_remove_folio() local 252 struct address_space *mapping = folio->mapping; in filemap_remove_folio() local 454 int filemap_flush(struct address_space *mapping) in filemap_flush() 597 struct address_space *mapping = file->f_mapping; in file_fdatawait_range() local 732 struct address_space *mapping = file->f_mapping; in file_check_and_advance_wb_err() local 775 struct address_space *mapping = file->f_mapping; in file_write_and_wait_range() local 809 struct address_space *mapping = old->mapping; in replace_page_cache_folio() local 2451 struct address_space *mapping, size_t count, in filemap_update_page() 2507 struct address_space *mapping, pgoff_t index, in filemap_create_folio() 2567 struct address_space *mapping = filp->f_mapping; in filemap_get_pages() local [all …]
|
H A D | readahead.c | 139 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init() 208 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local 309 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local 418 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages() 433 static int try_context_readahead(struct address_space *mapping, in try_context_readahead() 489 struct address_space *mapping = ractl->mapping; in page_cache_ra_order() local 785 struct address_space *mapping = ractl->mapping; in readahead_expand() local
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_ctrl.c | 1080 struct uvc_control_mapping *mapping, in __uvc_ctrl_get() 1157 struct uvc_control_mapping *mapping; in uvc_ctrl_is_accessible() local 1238 struct uvc_control_mapping *mapping, in __uvc_query_v4l2_ctrl() 1344 struct uvc_control_mapping *mapping; in uvc_query_v4l2_ctrl() local 1394 struct uvc_control_mapping *mapping; in uvc_query_v4l2_menu() local 1464 struct uvc_control_mapping *mapping, in uvc_ctrl_fill_event() 1538 struct uvc_control_mapping *mapping; in uvc_ctrl_status_event() local 1627 struct uvc_control_mapping *mapping; in uvc_ctrl_send_events() local 1675 struct uvc_control_mapping *mapping; in uvc_ctrl_add_event() local 1871 struct uvc_control_mapping *mapping; in uvc_ctrl_get() local [all …]
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gem.c | 59 struct panfrost_gem_mapping *iter, *mapping = NULL; in panfrost_gem_mapping_get() local 75 panfrost_gem_teardown_mapping(struct panfrost_gem_mapping *mapping) in panfrost_gem_teardown_mapping() 88 struct panfrost_gem_mapping *mapping; in panfrost_gem_mapping_release() local 98 void panfrost_gem_mapping_put(struct panfrost_gem_mapping *mapping) in panfrost_gem_mapping_put() 108 struct panfrost_gem_mapping *mapping; in panfrost_gem_teardown_mappings_locked() local 122 struct panfrost_gem_mapping *mapping; in panfrost_gem_open() local 173 struct panfrost_gem_mapping *mapping = NULL, *iter; in panfrost_gem_close() local
|
/openbmc/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
|
/openbmc/linux/arch/parisc/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
|
/openbmc/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
|
/openbmc/linux/fs/afs/ |
H A D | write.c | 30 bool afs_dirty_folio(struct address_space *mapping, struct folio *folio) in afs_dirty_folio() 50 static int afs_flush_conflicting_write(struct address_space *mapping, in afs_flush_conflicting_write() 68 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin() 153 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end() 220 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages() 258 struct address_space *mapping, in afs_redirty_pages() 292 struct address_space *mapping = vnode->netfs.inode.i_mapping; in afs_pages_written_back() local 461 static void afs_extend_writeback(struct address_space *mapping, in afs_extend_writeback() 581 static ssize_t afs_write_back_from_locked_folio(struct address_space *mapping, in afs_write_back_from_locked_folio() 703 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region() [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 178 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages() 207 static int gfs2_write_jdata_batch(struct address_space *mapping, in gfs2_write_jdata_batch() 307 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata() 389 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages() 485 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local 578 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio() 594 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() 682 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
|
/openbmc/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
|
/openbmc/linux/fs/ |
H A D | dax.c | 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 574 struct address_space *mapping, unsigned int order) in grab_mapping_entry() 739 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page() 873 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_insert_entry() local 927 struct address_space *mapping, void *entry) in dax_writeback_one() 1025 int dax_writeback_mapping_range(struct address_space *mapping, in dax_writeback_mapping_range() 1205 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_pmd_load_hole() local 1704 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_iomap_pte_fault() local 1814 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in dax_iomap_pmd_fault() local [all …]
|
/openbmc/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() 207 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end() 225 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.c | 127 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_remove_mapping() 138 void etnaviv_iommu_reap_mapping(struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_reap_mapping() 280 struct etnaviv_vram_mapping *mapping, u64 va) in etnaviv_iommu_map_gem() 334 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_unmap_gem() 412 struct etnaviv_vram_mapping *mapping, in etnaviv_iommu_get_suballoc_va() 463 struct etnaviv_vram_mapping *mapping) in etnaviv_iommu_put_suballoc_va()
|
/openbmc/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() 434 static int affs_write_end(struct file *file, struct address_space *mapping, in affs_write_end() 452 static sector_t _affs_bmap(struct address_space *mapping, sector_t block) in _affs_bmap() 649 static int affs_write_begin_ofs(struct file *file, struct address_space *mapping, in affs_write_begin_ofs() 688 static int affs_write_end_ofs(struct file *file, struct address_space *mapping, in affs_write_end_ofs() 884 struct address_space *mapping = inode->i_mapping; in affs_truncate() local
|
/openbmc/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
|
/openbmc/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
|
/openbmc/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() 168 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() 175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() 180 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() 205 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range()
|
/openbmc/linux/fs/fscache/ |
H A D | io.c | 173 bool fscache_dirty_folio(struct address_space *mapping, struct folio *folio, in fscache_dirty_folio() 203 struct address_space *mapping; member 211 void __fscache_clear_page_bits(struct address_space *mapping, in __fscache_clear_page_bits() 249 struct address_space *mapping, in __fscache_write_to_cache()
|
/openbmc/linux/fs/exfat/ |
H A D | inode.c | 346 static int exfat_writepages(struct address_space *mapping, in exfat_writepages() 352 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed() 363 static int exfat_write_begin(struct file *file, struct address_space *mapping, in exfat_write_begin() 380 static int exfat_write_end(struct file *file, struct address_space *mapping, in exfat_write_end() 411 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local 441 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block) in exfat_aop_bmap()
|
/openbmc/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 589 struct address_space *mapping; in shmem_object_init() local
|
/openbmc/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()
|