Searched refs:mmap_offset (Results 1 – 11 of 11) sorted by relevance
63 rdi->mmap_offset = PAGE_SIZE; in rvt_mmap_init()174 if (rdi->mmap_offset == 0) in rvt_create_mmap_info()175 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rvt_create_mmap_info()176 ip->offset = rdi->mmap_offset; in rvt_create_mmap_info()177 rdi->mmap_offset += ALIGN(size, SHMLBA); in rvt_create_mmap_info()204 if (rdi->mmap_offset == 0) in rvt_update_mmap_info()205 rdi->mmap_offset = PAGE_SIZE; in rvt_update_mmap_info()206 ip->offset = rdi->mmap_offset; in rvt_update_mmap_info()207 rdi->mmap_offset += size; in rvt_update_mmap_info()
160 if (rxe->mmap_offset == 0) in rxe_create_mmap_info()161 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rxe_create_mmap_info()163 ip->info.offset = rxe->mmap_offset; in rxe_create_mmap_info()164 rxe->mmap_offset += ALIGN(size, SHMLBA); in rxe_create_mmap_info()
410 int mmap_offset; member
95 u64 mmap_offset; member
501 region_out->mmap_offset = mem_offset; in vhost_user_init_mem_region()
234 uint64_t *mmap_offset);
1595 uint64_t *mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf() argument1624 if (mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf()1625 *mmap_offset = amdgpu_bo_mmap_offset(bo); in amdgpu_amdkfd_gpuvm_import_dmabuf()
367 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */ member
458 u32 mmap_offset; member
1256 uint64_t offset = args->mmap_offset; in kfd_ioctl_alloc_memory_of_gpu()1310 args->mmap_offset = offset; in kfd_ioctl_alloc_memory_of_gpu()1316 args->mmap_offset = KFD_MMAP_TYPE_MMIO | KFD_MMAP_GPU_ID(args->gpu_id); in kfd_ioctl_alloc_memory_of_gpu()1317 args->mmap_offset <<= PAGE_SHIFT; in kfd_ioctl_alloc_memory_of_gpu()
299 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset() function324 offset = mmap_offset(obj); in msm_gem_mmap_offset()