Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rdmavt/
A Dmmap.c20 rdi->mmap_offset = PAGE_SIZE; in rvt_mmap_init()
131 if (rdi->mmap_offset == 0) in rvt_create_mmap_info()
132 rdi->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); in rvt_create_mmap_info()
133 ip->offset = rdi->mmap_offset; in rvt_create_mmap_info()
134 rdi->mmap_offset += ALIGN(size, SHMLBA); in rvt_create_mmap_info()
161 if (rdi->mmap_offset == 0) in rvt_update_mmap_info()
162 rdi->mmap_offset = PAGE_SIZE; in rvt_update_mmap_info()
163 ip->offset = rdi->mmap_offset; in rvt_update_mmap_info()
164 rdi->mmap_offset += size; in rvt_update_mmap_info()
/linux/drivers/infiniband/sw/rxe/
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()
A Drxe_verbs.h412 u64 mmap_offset; member
/linux/arch/um/drivers/
A Dvhost_user.h99 u64 mmap_offset; member
A Dvirtio_uml.c595 region_out->mmap_offset = mem_offset; in vhost_user_init_mem_region()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_chardev.c1263 uint64_t offset = args->mmap_offset; in kfd_ioctl_alloc_memory_of_gpu()
1344 args->mmap_offset = offset; in kfd_ioctl_alloc_memory_of_gpu()
1350 args->mmap_offset = KFD_MMAP_TYPE_MMIO in kfd_ioctl_alloc_memory_of_gpu()
2097 unsigned long mmap_offset; in kfd_mmap() local
2104 mmap_offset = vma->vm_pgoff << PAGE_SHIFT; in kfd_mmap()
2105 gpu_id = KFD_MMAP_GET_GPU_ID(mmap_offset); in kfd_mmap()
2109 switch (mmap_offset & KFD_MMAP_TYPE_MASK) { in kfd_mmap()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_object_types.h64 u64 (*mmap_offset)(struct drm_i915_gem_object *obj); member
A Di915_gem_mman.c628 GEM_BUG_ON(obj->ops->mmap_offset || obj->ops->mmap_ops); in mmap_offset_attach()
682 if (obj->ops->mmap_offset) { in __assign_mmap_offset()
686 *offset = obj->ops->mmap_offset(obj); in __assign_mmap_offset()
A Di915_gem_ttm.c892 .mmap_offset = i915_ttm_mmap_offset,
/linux/include/rdma/
A Drdma_vt.h416 u32 mmap_offset; member
/linux/include/uapi/linux/
A Dkfd_ioctl.h375 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */ member
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd.h292 uint64_t *mmap_offset);
A Damdgpu_amdkfd_gpuvm.c1911 uint64_t *mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf() argument
1947 if (mmap_offset) in amdgpu_amdkfd_gpuvm_import_dmabuf()
1948 *mmap_offset = amdgpu_bo_mmap_offset(bo); in amdgpu_amdkfd_gpuvm_import_dmabuf()
/linux/drivers/infiniband/hw/mlx5/
A Dmain.c3417 u64 mmap_offset; in UVERBS_HANDLER() local
3429 mmap_offset = mlx5_entry_to_mmap_offset(entry); in UVERBS_HANDLER()
3435 &mmap_offset, sizeof(mmap_offset)); in UVERBS_HANDLER()
3531 u64 mmap_offset; in UVERBS_HANDLER() local
3556 mmap_offset = mlx5_entry_to_mmap_offset(entry); in UVERBS_HANDLER()
3562 &mmap_offset, sizeof(mmap_offset)); in UVERBS_HANDLER()
/linux/drivers/gpu/drm/msm/
A Dmsm_gem.c270 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset() function
293 offset = mmap_offset(obj); in msm_gem_mmap_offset()
/linux/drivers/gpu/drm/i915/gem/selftests/
A Di915_gem_mman.c859 if (obj->ops->mmap_offset) in can_mmap()
/linux/drivers/infiniband/hw/irdma/
A Dverbs.c167 enum irdma_mmap_flag mmap_flag, u64 *mmap_offset) in irdma_user_mmap_entry_insert() argument
184 *mmap_offset = rdma_user_mmap_get_offset(&entry->rdma_entry); in irdma_user_mmap_entry_insert()

Completed in 55 milliseconds