Home
last modified time | relevance | path

Searched refs:mmap_offset (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A Dmmap.c62 rdi->mmap_offset = PAGE_SIZE; in rvt_mmap_init()
173 if (rdi->mmap_offset == 0) in rvt_create_mmap_info()
174 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rvt_create_mmap_info()
175 ip->offset = rdi->mmap_offset; in rvt_create_mmap_info()
176 rdi->mmap_offset += ALIGN(size, SHMLBA); in rvt_create_mmap_info()
203 if (rdi->mmap_offset == 0) in rvt_update_mmap_info()
204 rdi->mmap_offset = PAGE_SIZE; in rvt_update_mmap_info()
205 ip->offset = rdi->mmap_offset; in rvt_update_mmap_info()
206 rdi->mmap_offset += size; in rvt_update_mmap_info()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c132 if (rxe->mmap_offset == 0) in rxe_create_mmap_info()
133 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rxe_create_mmap_info()
135 ip->info.offset = rxe->mmap_offset; in rxe_create_mmap_info()
136 rxe->mmap_offset += ALIGN(size, SHMLBA); in rxe_create_mmap_info()
H A Drxe_verbs.h378 u64 mmap_offset; member
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dvhost_user.h99 u64 mmap_offset; member
H A Dvirtio_uml.c559 region_out->mmap_offset = mem_offset; in vhost_user_init_mem_region()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1277 uint64_t offset = args->mmap_offset; in kfd_ioctl_alloc_memory_of_gpu()
1341 args->mmap_offset = offset; in kfd_ioctl_alloc_memory_of_gpu()
1347 args->mmap_offset = KFD_MMAP_TYPE_MMIO in kfd_ioctl_alloc_memory_of_gpu()
2000 unsigned long mmap_offset; in kfd_mmap() local
2007 mmap_offset = vma->vm_pgoff << PAGE_SHIFT; in kfd_mmap()
2008 gpu_id = KFD_MMAP_GET_GPU_ID(mmap_offset); in kfd_mmap()
2012 switch (mmap_offset & KFD_MMAP_TYPE_MASK) { in kfd_mmap()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dkfd_ioctl.h355 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dkfd_ioctl.h355 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dkfd_ioctl.h371 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */ member
/OK3568_Linux_fs/kernel/include/rdma/
H A Drdma_vt.h416 u32 mmap_offset; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.h269 uint64_t *mmap_offset);
H A Damdgpu_amdkfd_gpuvm.c1654 uint64_t *mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf() argument
1683 if (mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf()
1684 *mmap_offset = amdgpu_bo_mmap_offset(bo); in amdgpu_amdkfd_gpuvm_import_dmabuf()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dmain.c3682 u64 mmap_offset; in UVERBS_HANDLER() local
3694 mmap_offset = mlx5_entry_to_mmap_offset(entry); in UVERBS_HANDLER()
3700 &mmap_offset, sizeof(mmap_offset)); in UVERBS_HANDLER()
3796 u64 mmap_offset; in UVERBS_HANDLER() local
3821 mmap_offset = mlx5_entry_to_mmap_offset(entry); in UVERBS_HANDLER()
3827 &mmap_offset, sizeof(mmap_offset)); in UVERBS_HANDLER()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_gem.c288 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset() function
313 offset = mmap_offset(obj); in msm_gem_mmap_offset()