/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/thirdparty/ |
D | mali_kbase_mmap.c | 254 const unsigned long len, const unsigned long pgoff, in kbase_context_get_unmapped_area() argument 298 …if ((PFN_DOWN(BASE_MEM_COOKIE_BASE) <= pgoff) && (PFN_DOWN(BASE_MEM_FIRST_FREE_ADDRESS) > pgoff)) { in kbase_context_get_unmapped_area() 299 int cookie = pgoff - PFN_DOWN(BASE_MEM_COOKIE_BASE); in kbase_context_get_unmapped_area() 334 return current->mm->get_unmapped_area(kctx->filp, addr, len, pgoff, flags); in kbase_context_get_unmapped_area()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/thirdparty/ |
D | mali_kbase_mmap.c | 239 const unsigned long pgoff, const unsigned long flags) in kbase_context_get_unmapped_area() argument 302 if ((PFN_DOWN(BASE_MEM_COOKIE_BASE) <= pgoff) && in kbase_context_get_unmapped_area() 303 (PFN_DOWN(BASE_MEM_FIRST_FREE_ADDRESS) > pgoff)) { in kbase_context_get_unmapped_area() 304 int cookie = pgoff - PFN_DOWN(BASE_MEM_COOKIE_BASE); in kbase_context_get_unmapped_area() 346 kctx->filp, addr, len, pgoff, flags); in kbase_context_get_unmapped_area()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_file.c | 965 static unsigned long drm_addr_inflate(unsigned long addr, unsigned long len, unsigned long pgoff, u… in drm_addr_inflate() argument 972 offset = (pgoff << PAGE_SHIFT) & (huge_size - 1); in drm_addr_inflate() 1031 …m_get_unmapped_area(struct file *file, unsigned long uaddr, unsigned long len, unsigned long pgoff, in drm_get_unmapped_area() argument 1051 node = drm_vma_offset_lookup_locked(mgr, pgoff, 1); in drm_get_unmapped_area() 1053 pgoff -= node->vm_node.start; in drm_get_unmapped_area() 1057 addr = current->mm->get_unmapped_area(file, uaddr, len, pgoff, flags); in drm_get_unmapped_area() 1083 inflated_addr = drm_addr_inflate(addr, len, pgoff, flags, HPAGE_PMD_SIZE); in drm_get_unmapped_area() 1086 inflated_addr = drm_addr_inflate(inflated_addr, len, pgoff, flags, HPAGE_PUD_SIZE); in drm_get_unmapped_area() 1091 …m_get_unmapped_area(struct file *file, unsigned long uaddr, unsigned long len, unsigned long pgoff, in drm_get_unmapped_area() argument 1094 return current->mm->get_unmapped_area(file, uaddr, len, pgoff, flags); in drm_get_unmapped_area()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
D | drv_mmz_userdev.c | 429 const unsigned long pgoff = 0; in ioctl_mmb_user_remap_get_virt_addr() local 455 addr = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in ioctl_mmb_user_remap_get_virt_addr() 457 addr = do_mmap(file, addr, len, prot, flags, pgoff, &round_up_len, NULL); in ioctl_mmb_user_remap_get_virt_addr() 459 addr = do_mmap_pgoff(file, addr, len, prot, flags, pgoff, &round_up_len, NULL); in ioctl_mmb_user_remap_get_virt_addr() 461 addr = do_mmap_pgoff(file, addr, len, prot, flags, pgoff, &round_up_len); in ioctl_mmb_user_remap_get_virt_addr() 470 len, prot, flags, pgoff, addr); in ioctl_mmb_user_remap_get_virt_addr()
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
D | drm_file.h | 402 …m_get_unmapped_area(struct file *file, unsigned long uaddr, unsigned long len, unsigned long pgoff,
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
D | dma-buf.c | 1331 int dma_buf_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma, unsigned long pgoff) in dma_buf_mmap() argument 1346 if (pgoff + vma_pages(vma) < pgoff) { in dma_buf_mmap() 1351 if ((pgoff + vma_pages(vma)) > (dmabuf->size >> PAGE_SHIFT)) { in dma_buf_mmap() 1359 vma->vm_pgoff = pgoff; in dma_buf_mmap()
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/ |
D | cma_heap.c | 165 if (vmf->pgoff > buffer->pagecount) { in cma_heap_vm_fault() 169 vmf->page = buffer->pages[vmf->pgoff]; in cma_heap_vm_fault()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
D | mmz_userdev.c | 338 unsigned long addr, len, prot, flags, pgoff; in ioctl_mmb_user_remap() local 390 pgoff = p->phys_addr; in ioctl_mmb_user_remap() 391 addr = vm_mmap(file, addr, len, prot, flags, pgoff); in ioctl_mmb_user_remap() 397 len, prot, flags, pgoff, addr); in ioctl_mmb_user_remap()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
D | mm.h | 545 pgoff_t pgoff; /* Logical page offset based on vma */ member 2559 …int __vma_adjust(struct vm_area_struct *vma, unsigned long start, unsigned long end, pgoff_t pgoff, 2561 …e int vma_adjust(struct vm_area_struct *vma, unsigned long start, unsigned long end, pgoff_t pgoff, in vma_adjust() argument 2564 return __vma_adjust(vma, start, end, pgoff, insert, NULL); in vma_adjust() 2575 …ea_struct *copy_vma(struct vm_area_struct **, unsigned long addr, unsigned long len, pgoff_t pgoff, 2614 unsigned long pgoff, struct list_head *uf); 2616 … unsigned long flags, unsigned long pgoff, unsigned long *populate, struct list_head *uf);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
D | mali_kbase.h | 165 const unsigned long len, const unsigned long pgoff,
|
D | mali_kbase_core_linux.c | 2146 const unsigned long pgoff, in kbase_get_unmapped_area() argument 2157 return kbase_context_get_unmapped_area(kctx, addr, len, pgoff, flags); in kbase_get_unmapped_area()
|
D | mali_kbase_mem_linux.c | 2477 fault_pgoff = map_start_pgoff + (vmf->pgoff - vma->vm_pgoff);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
D | mali_kbase.h | 165 const unsigned long pgoff, const unsigned long flags);
|
D | mali_kbase_core_linux.c | 2169 const unsigned long pgoff, const unsigned long flags) in kbase_get_unmapped_area() argument 2178 return kbase_context_get_unmapped_area(kctx, addr, len, pgoff, flags); in kbase_get_unmapped_area()
|
D | mali_kbase_mem_linux.c | 2445 fault_pgoff = map_start_pgoff + (vmf->pgoff - vma->vm_pgoff);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
D | mali_kbase_core_linux.c | 2158 const unsigned long pgoff, const unsigned long flags) in kbase_get_unmapped_area() argument 2203 if ((PFN_DOWN(BASE_MEM_COOKIE_BASE) <= pgoff) && in kbase_get_unmapped_area() 2204 (PFN_DOWN(BASE_MEM_FIRST_FREE_ADDRESS) > pgoff)) { in kbase_get_unmapped_area() 2205 int cookie = pgoff - PFN_DOWN(BASE_MEM_COOKIE_BASE); in kbase_get_unmapped_area() 2220 return current->mm->get_unmapped_area(filp, addr, len, pgoff, in kbase_get_unmapped_area()
|
D | mali_kbase_mem_linux.c | 1672 rel_pgoff = vmf->pgoff - map->region->start_pfn;
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
D | mali_kbase_core_linux.c | 2052 const unsigned long pgoff, const unsigned long flags) in kbase_get_unmapped_area() argument 2095 …if ((PFN_DOWN(BASE_MEM_COOKIE_BASE) <= pgoff) && (PFN_DOWN(BASE_MEM_FIRST_FREE_ADDRESS) > pgoff)) { in kbase_get_unmapped_area() 2096 int cookie = pgoff - PFN_DOWN(BASE_MEM_COOKIE_BASE); in kbase_get_unmapped_area() 2109 return current->mm->get_unmapped_area(filp, addr, len, pgoff, flags); in kbase_get_unmapped_area()
|
D | mali_kbase_mem_linux.c | 1676 rel_pgoff = vmf->pgoff - map->region->start_pfn;
|
/device/soc/rockchip/common/sdk_linux/ipc/ |
D | shm.c | 638 unsigned long pgoff, unsigned long flags) in shm_get_unmapped_area() argument 642 return sfd->file->f_op->get_unmapped_area(sfd->file, addr, len, pgoff, flags); in shm_get_unmapped_area()
|
/device/soc/allwinner/t507/patches/kernel/linux-5.10/ |
D | kernel.patch | 614 + if (vmf->pgoff > buffer->pagecount) 617 + vmf->page = buffer->pages[vmf->pgoff];
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 5646 + if (vmf->pgoff > buffer->pagecount) 5649 + vmf->page = buffer->pages[vmf->pgoff];
|