/linux-master/drivers/remoteproc/ |
H A D | remoteproc_core.c | 26 #include <linux/dma-mapping.h> 624 struct rproc_mem_entry *mapping; local 643 mapping = kzalloc(sizeof(*mapping), GFP_KERNEL); 644 if (!mapping) 661 mapping->da = rsc->da; 662 mapping->len = rsc->len; 663 list_add_tail(&mapping->node, &rproc->mappings); 671 kfree(mapping); 688 struct rproc_mem_entry *mapping local [all...] |
/linux-master/fs/f2fs/ |
H A D | checkpoint.c | 43 struct address_space *mapping = META_MAPPING(sbi); local 46 page = f2fs_grab_cache_page(mapping, index, false); 60 struct address_space *mapping = META_MAPPING(sbi); local 77 page = f2fs_grab_cache_page(mapping, index, false); 96 if (unlikely(page->mapping != mapping)) { 389 static int f2fs_write_meta_pages(struct address_space *mapping, argument 392 struct f2fs_sb_info *sbi = F2FS_M_SB(mapping); 408 trace_f2fs_writepages(mapping->host, wbc, META); 417 trace_f2fs_writepages(mapping 424 struct address_space *mapping = META_MAPPING(sbi); local 493 f2fs_dirty_meta_folio(struct address_space *mapping, struct folio *folio) argument [all...] |
H A D | compress.c | 85 f2fs_bug_on(F2FS_M_SB(page->mapping), 97 page->mapping = inode->i_mapping; 597 page->mapping = NULL; 1068 struct address_space *mapping = cc->inode->i_mapping; local 1086 page = f2fs_pagecache_get_page(mapping, start_idx + i, 1119 page = find_lock_page(mapping, start_idx + i); 1270 mapping_set_error(cc->rpages[0]->mapping, -EIO); 1480 struct address_space *mapping = cc->inode->i_mapping; local 1481 struct f2fs_sb_info *sbi = F2FS_M_SB(mapping); 1508 if (cc->rpages[i]->mapping ! 1955 struct address_space *mapping = COMPRESS_MAPPING(sbi); local [all...] |
/linux-master/mm/ |
H A D | mmap.c | 108 struct address_space *mapping) 111 mapping_unmap_writable(mapping); 113 flush_dcache_mmap_lock(mapping); 114 vma_interval_tree_remove(vma, &mapping->i_mmap); 115 flush_dcache_mmap_unlock(mapping); 127 struct address_space *mapping = file->f_mapping; local 128 i_mmap_lock_write(mapping); 129 __remove_shared_vm_struct(vma, mapping); 130 i_mmap_unlock_write(mapping); 232 goto out; /* mapping intersect 107 __remove_shared_vm_struct(struct vm_area_struct *vma, struct address_space *mapping) argument 384 __vma_link_file(struct vm_area_struct *vma, struct address_space *mapping) argument 398 struct address_space *mapping; local 3730 vm_lock_mapping(struct mm_struct *mm, struct address_space *mapping) argument 3864 vm_unlock_mapping(struct address_space *mapping) argument [all...] |
H A D | migrate_device.c | 166 if (!page || !page->mapping || PageTransCompound(page)) { 339 * or with a pte (split pte mapping). 439 * migrate_vma_unmap() - replace page mapping with special migration pte entry 694 struct address_space *mapping; local 731 mapping = folio_mapping(folio); 735 if (mapping) { 757 r = migrate_folio_extra(mapping, page_folio(newpage), 760 r = migrate_folio(mapping, page_folio(newpage), 861 * This replaces the special migration pte entry with either a mapping to the
|
H A D | page_io.c | 82 struct address_space *mapping = swap_file->f_mapping; local 83 struct inode *inode = mapping->host; 396 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; local 400 ret = mapping->a_ops->swap_rw(&sio->iocb, &from); 540 struct address_space *mapping = sio->iocb.ki_filp->f_mapping; local 544 ret = mapping->a_ops->swap_rw(&sio->iocb, &from);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | trx.c | 364 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 368 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 370 "DMA mapping error\n"); 491 set_tx_desc_tx_buffer_address(pdesc, mapping); 529 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 532 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 534 "DMA mapping error\n"); 554 set_tx_desc_tx_buffer_address(pdesc, mapping);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | trx.c | 363 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 368 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 370 "DMA mapping error\n"); 492 set_tx_desc_tx_buffer_address(pdesc, mapping); 528 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 531 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 533 "DMA mapping error\n"); 552 set_tx_desc_tx_buffer_address(pdesc, mapping);
|
/linux-master/fs/squashfs/ |
H A D | file.c | 19 * larger), the code implements an index cache that caches the mapping from 206 * can cache one index -> datablock/blocklist-block mapping. We wish 343 * res contains the index of the mapping returned by fill_meta_index(), 384 struct inode *inode = page->mapping->host; 403 grab_cache_page_nowait(page->mapping, i); 422 struct inode *inode = page->mapping->host; 449 struct inode *inode = page->mapping->host; 499 struct inode *inode = page[0]->mapping->host; 534 struct inode *inode = ractl->mapping->host;
|
/linux-master/include/linux/ |
H A D | iomap.h | 52 * buffer heads for this mapping. 95 u64 addr; /* disk offset of mapping, bytes */ 96 loff_t offset; /* file offset of mapping, bytes */ 97 u64 length; /* length of mapping, bytes */ 98 u16 type; /* type of mapping */ 99 u16 flags; /* flags for mapping */ 122 * Check if the mapping's length is within the valid range for inline data. 132 * When a filesystem sets folio_ops in an iomap mapping it returns, get_folio 156 * detect changes between mapping time and whenever .iomap_valid() is 171 #define IOMAP_FAULT (1 << 3) /* mapping fo [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.h | 139 /* Change the VMID -> PASID mapping */ 149 /* get the pte flags to use for a BO VA mapping */ 151 struct amdgpu_bo_va_mapping *mapping, 354 #define amdgpu_gmc_get_vm_pte(adev, mapping, flags) (adev)->gmc.gmc_funcs->get_vm_pte((adev), (mapping), (flags))
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 274 struct inode *inode = page->mapping->host; 309 static int vboxsf_write_end(struct file *file, struct address_space *mapping, argument 313 struct inode *inode = mapping->host;
|
/linux-master/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 51 /* 1:1 mapping between pageref and page offset */ 111 page->mapping = vmf->vma->vm_file->f_mapping; 113 printk(KERN_ERR "no mapping available\n"); 115 BUG_ON(!page->mapping); 320 /* clear out the mapping that we setup */ 323 page->mapping = NULL;
|
/linux-master/fs/bcachefs/ |
H A D | fs-io.c | 247 struct address_space *mapping = inode->v.i_mapping; local 257 folio = filemap_lock_folio(mapping, index); 269 folio = __filemap_get_folio(mapping, index, 297 ret = bch2_read_single_folio(folio, mapping); 349 filemap_dirty_folio(mapping, folio); 382 struct address_space *mapping = inode->v.i_mapping; local 390 ret = filemap_write_and_wait_range(mapping, inode_u->bi_size, S64_MAX); 403 struct address_space *mapping = inode->v.i_mapping; local 466 ret = filemap_write_and_wait_range(mapping, 470 ret = filemap_write_and_wait_range(mapping, 555 struct address_space *mapping = inode->v.i_mapping; local [all...] |
/linux-master/fs/ext4/ |
H A D | ext4_jbd2.c | 209 struct address_space *mapping = sb->s_bdev->bd_mapping; local 219 if (errseq_check(&mapping->wb_err, READ_ONCE(sbi->s_bdev_wb_err))) { 221 err = errseq_check_and_advance(&mapping->wb_err, &sbi->s_bdev_wb_err);
|
/linux-master/include/trace/events/ |
H A D | erofs.h | 99 __entry->dev = folio->mapping->host->i_sb->s_dev; 100 __entry->nid = EROFS_I(folio->mapping->host)->nid; 101 __entry->dir = S_ISDIR(folio->mapping->host->i_mode);
|
/linux-master/drivers/gpu/drm/meson/ |
H A D | meson_rdma.c | 8 #include <linux/dma-mapping.h>
|
/linux-master/drivers/misc/ocxl/ |
H A D | ocxl_internal.h | 75 struct address_space *mapping; member in struct:ocxl_context
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_mm.c | 26 #include <linux/io-mapping.h> 85 * remap_io_mapping - remap an IO mapping to userspace 103 /* We rely on prevalidation of the io-mapping to skip track_pfn(). */ 120 * remap_io_sg - remap an IO mapping to userspace 141 /* We rely on prevalidation of the io-mapping to skip track_pfn(). */
|
/linux-master/arch/powerpc/platforms/8xx/ |
H A D | pic.c | 6 #include <linux/dma-mapping.h>
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu-sink.c | 12 #include <linux/dma-mapping.h>
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-fcp.c | 11 #include <linux/dma-mapping.h>
|
/linux-master/drivers/fpga/ |
H A D | zynqmp-fpga.c | 6 #include <linux/dma-mapping.h>
|
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-trng.c | 13 #include <linux/dma-mapping.h>
|
/linux-master/include/drm/ttm/ |
H A D | ttm_device.h | 44 * @dummy_read_page: Pointer to a dummy page used for mapping requests 165 * Driver callback on when mapping io memory (for bo_move_memcpy 167 * the mapping is not use anymore. io_mem_reserve & io_mem_free 291 struct device *dev, struct address_space *mapping,
|