Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.1/mm/
Dtruncate.c32 static inline void __clear_shadow_entry(struct address_space *mapping, in __clear_shadow_entry()
43 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry()
60 static void truncate_folio_batch_exceptionals(struct address_space *mapping, in truncate_folio_batch_exceptionals()
113 static int invalidate_exceptional_entry(struct address_space *mapping, in invalidate_exceptional_entry()
127 static int invalidate_exceptional_entry2(struct address_space *mapping, in invalidate_exceptional_entry2()
190 int truncate_inode_folio(struct address_space *mapping, struct folio *folio) in truncate_inode_folio()
254 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
270 static long mapping_evict_folio(struct address_space *mapping, in mapping_evict_folio()
298 struct address_space *mapping = folio_mapping(folio); in invalidate_inode_page() local
330 void truncate_inode_pages_range(struct address_space *mapping, in truncate_inode_pages_range()
[all …]
Dfilemap.c124 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 …]
Dreadahead.c140 file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) in file_ra_state_init()
209 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded() local
310 struct address_space *mapping = ractl->mapping; in force_page_cache_ra() local
419 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
434 static int try_context_readahead(struct address_space *mapping, in try_context_readahead()
503 struct address_space *mapping = ractl->mapping; in page_cache_ra_order() local
794 struct address_space *mapping = ractl->mapping; in readahead_expand() local
Dmigrate.c359 static int folio_expected_refs(struct address_space *mapping, in folio_expected_refs()
381 int folio_migrate_mapping(struct address_space *mapping, in folio_migrate_mapping()
496 int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping()
628 int migrate_folio_extra(struct address_space *mapping, struct folio *dst, in migrate_folio_extra()
659 int migrate_folio(struct address_space *mapping, struct folio *dst, in migrate_folio()
705 static int __buffer_migrate_folio(struct address_space *mapping, in __buffer_migrate_folio()
797 int buffer_migrate_folio(struct address_space *mapping, in buffer_migrate_folio()
818 int buffer_migrate_folio_norefs(struct address_space *mapping, in buffer_migrate_folio_norefs()
825 int filemap_migrate_folio(struct address_space *mapping, in filemap_migrate_folio()
848 static int writeout(struct address_space *mapping, struct folio *folio) in writeout()
[all …]
Dpage-writeback.c1880 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags()
1950 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited()
2229 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback()
2282 int write_cache_pages(struct address_space *mapping, in write_cache_pages()
2424 struct address_space *mapping = data; in __writepage() local
2440 int generic_writepages(struct address_space *mapping, in generic_writepages()
2458 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages()
2508 struct address_space *mapping = folio->mapping; in folio_write_one() local
2538 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio()
2554 struct address_space *mapping) in folio_account_dirtied()
[all …]
/Linux-v6.1/include/linux/
Dpagemap.h41 static inline int filemap_fdatawait(struct address_space *mapping) in filemap_fdatawait()
58 static inline int filemap_write_and_wait(struct address_space *mapping) in filemap_write_and_wait()
77 static inline void filemap_set_wb_err(struct address_space *mapping, int err) in filemap_set_wb_err()
94 static inline int filemap_check_wb_err(struct address_space *mapping, in filemap_check_wb_err()
107 static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) in filemap_sample_wb_err()
135 static inline bool mapping_empty(struct address_space *mapping) in mapping_empty()
161 static inline bool mapping_shrinkable(struct address_space *mapping) in mapping_shrinkable()
218 static inline void mapping_set_error(struct address_space *mapping, int error) in mapping_set_error()
237 static inline void mapping_set_unevictable(struct address_space *mapping) in mapping_set_unevictable()
242 static inline void mapping_clear_unevictable(struct address_space *mapping) in mapping_clear_unevictable()
[all …]
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()
86 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
101 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
141 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini()
148 io_mapping_map_wc(struct io_mapping *mapping, in io_mapping_map_wc()
162 io_mapping_map_atomic_wc(struct io_mapping *mapping, in io_mapping_map_atomic_wc()
179 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
Ddax.h169 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()
257 static inline bool dax_mapping(struct address_space *mapping) in dax_mapping()
/Linux-v6.1/drivers/media/usb/uvc/
Duvc_ctrl.c380 static s32 uvc_ctrl_get_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_get_zoom()
398 static void uvc_ctrl_set_zoom(struct uvc_control_mapping *mapping, in uvc_ctrl_set_zoom()
405 static s32 uvc_ctrl_get_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_get_rel_speed()
425 static void uvc_ctrl_set_rel_speed(struct uvc_control_mapping *mapping, in uvc_ctrl_set_rel_speed()
777 static s32 uvc_get_le_value(struct uvc_control_mapping *mapping, in uvc_get_le_value()
812 static void uvc_set_le_value(struct uvc_control_mapping *mapping, in uvc_set_le_value()
855 struct uvc_control_mapping **mapping, struct uvc_control **control, in __uvc_find_control()
887 u32 v4l2_id, struct uvc_control_mapping **mapping) in uvc_find_control()
969 static s32 __uvc_ctrl_get_value(struct uvc_control_mapping *mapping, in __uvc_ctrl_get_value()
1027 struct uvc_control_mapping *mapping, in __uvc_ctrl_get()
[all …]
/Linux-v6.1/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c59 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
/Linux-v6.1/fs/jfs/
Dinode.c272 static int jfs_writepages(struct address_space *mapping, in jfs_writepages()
288 static void jfs_write_failed(struct address_space *mapping, loff_t to) in jfs_write_failed()
298 static int jfs_write_begin(struct file *file, struct address_space *mapping, in jfs_write_begin()
311 static int jfs_write_end(struct file *file, struct address_space *mapping, in jfs_write_end()
323 static sector_t jfs_bmap(struct address_space *mapping, sector_t block) in jfs_bmap()
331 struct address_space *mapping = file->f_mapping; in jfs_direct_IO() local
/Linux-v6.1/fs/afs/
Dwrite.c25 bool afs_dirty_folio(struct address_space *mapping, struct folio *folio) in afs_dirty_folio()
44 int afs_write_begin(struct file *file, struct address_space *mapping, in afs_write_begin()
121 int afs_write_end(struct file *file, struct address_space *mapping, in afs_write_end()
188 static void afs_kill_pages(struct address_space *mapping, in afs_kill_pages()
226 struct address_space *mapping, in afs_redirty_pages()
260 struct address_space *mapping = vnode->netfs.inode.i_mapping; in afs_pages_written_back() local
427 static void afs_extend_writeback(struct address_space *mapping, in afs_extend_writeback()
547 static ssize_t afs_write_back_from_locked_folio(struct address_space *mapping, in afs_write_back_from_locked_folio()
697 static int afs_writepages_region(struct address_space *mapping, in afs_writepages_region()
789 int afs_writepages(struct address_space *mapping, in afs_writepages()
/Linux-v6.1/fs/
Ddax.c337 static inline bool dax_mapping_is_cow(struct address_space *mapping) in dax_mapping_is_cow()
364 static void dax_associate_entry(void *entry, struct address_space *mapping, in dax_associate_entry()
387 static void dax_disassociate_entry(void *entry, struct address_space *mapping, in dax_disassociate_entry()
439 struct address_space *mapping = READ_ONCE(page->mapping); in dax_lock_page() local
480 struct address_space *mapping = page->mapping; in dax_unlock_page() local
498 dax_entry_t dax_lock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_lock_mapping_entry()
541 void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index, in dax_unlock_mapping_entry()
582 struct address_space *mapping, unsigned int order) in grab_mapping_entry()
685 struct page *dax_layout_busy_page_range(struct address_space *mapping, in dax_layout_busy_page_range()
747 struct page *dax_layout_busy_page(struct address_space *mapping) in dax_layout_busy_page()
[all …]
/Linux-v6.1/fs/gfs2/
Daops.c178 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages()
208 static int gfs2_write_jdata_pagevec(struct address_space *mapping, in gfs2_write_jdata_pagevec()
303 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata()
384 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages()
482 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local
577 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio()
593 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap()
681 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
/Linux-v6.1/drivers/gpu/drm/tegra/
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-v6.1/tools/testing/selftests/vm/
Dksm_tests.c132 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
255 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge()
286 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
326 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge()
391 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge()
455 static int ksm_merge_hugepages_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_hugepages_time()
522 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
563 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
/Linux-v6.1/fs/hpfs/
Dfile.c176 static int hpfs_writepages(struct address_space *mapping, in hpfs_writepages()
182 static void hpfs_write_failed(struct address_space *mapping, loff_t to) in hpfs_write_failed()
196 static int hpfs_write_begin(struct file *file, struct address_space *mapping, in hpfs_write_begin()
212 static int hpfs_write_end(struct file *file, struct address_space *mapping, in hpfs_write_end()
230 static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) in _hpfs_bmap()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c27 dma_addr_t mapping, u32 len, in bnxt_xmit_bd()
103 dma_addr_t mapping, u32 len, u16 rx_prod, in __bnxt_xmit_xdp()
116 dma_addr_t mapping, u32 len, in __bnxt_xmit_xdp_redirect()
186 dma_addr_t mapping; in bnxt_xdp_buff_init() local
231 dma_addr_t mapping; in bnxt_rx_xdp() local
340 dma_addr_t mapping; in bnxt_xdp_xmit() local
/Linux-v6.1/arch/arm/mm/
Ddma-mapping.c760 static inline dma_addr_t __alloc_iova(struct dma_iommu_mapping *mapping, in __alloc_iova()
818 static inline void __free_iova(struct dma_iommu_mapping *mapping, in __free_iova()
972 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_create_mapping() local
1010 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __iommu_remove_mapping() local
1204 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in __map_sg_chunk() local
1386 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_page() local
1421 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_page() local
1450 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_map_resource() local
1484 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_unmap_resource() local
1499 struct dma_iommu_mapping *mapping = to_dma_iommu_mapping(dev); in arm_iommu_sync_single_for_cpu() local
[all …]
/Linux-v6.1/tools/testing/selftests/arm64/mte/
Dmte_common_util.c123 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()
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c85 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_scan_pagetable() local
123 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_scan_mkwrite() local
189 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_pre_unmap() local
213 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_unmap() local
256 struct address_space *mapping = vbo->base.bdev->dev_mapping; in vmw_bo_dirty_add() local
/Linux-v6.1/fs/exfat/
Dinode.c353 static int exfat_writepages(struct address_space *mapping, in exfat_writepages()
359 static void exfat_write_failed(struct address_space *mapping, loff_t to) in exfat_write_failed()
370 static int exfat_write_begin(struct file *file, struct address_space *mapping, in exfat_write_begin()
387 static int exfat_write_end(struct file *file, struct address_space *mapping, in exfat_write_end()
418 struct address_space *mapping = iocb->ki_filp->f_mapping; in exfat_direct_IO() local
448 static sector_t exfat_aop_bmap(struct address_space *mapping, sector_t block) in exfat_aop_bmap()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_shmem.c32 void shmem_sg_free_table(struct sg_table *st, struct address_space *mapping, in shmem_sg_free_table()
60 struct address_space *mapping, in shmem_sg_alloc_table()
195 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_get_pages() local
290 void __shmem_writeback(size_t size, struct address_space *mapping) in __shmem_writeback()
411 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite() local
562 struct address_space *mapping; in shmem_object_init() local
/Linux-v6.1/fs/fscache/
Dio.c173 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()
/Linux-v6.1/fs/affs/
Dfile.c383 static void affs_write_failed(struct address_space *mapping, loff_t to) in affs_write_failed()
397 struct address_space *mapping = file->f_mapping; in affs_direct_IO() local
416 static int affs_write_begin(struct file *file, struct address_space *mapping, in affs_write_begin()
432 static int affs_write_end(struct file *file, struct address_space *mapping, in affs_write_end()
450 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()
687 static int affs_write_end_ofs(struct file *file, struct address_space *mapping, in affs_write_end_ofs()
881 struct address_space *mapping = inode->i_mapping; in affs_truncate() local

12345678910>>...20