Home
last modified time | relevance | path

Searched refs:ibcontext (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c379 int pvrdma_dealloc_ucontext(struct ib_ucontext *ibcontext) in pvrdma_dealloc_ucontext() argument
381 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_dealloc_ucontext()
396 pvrdma_uar_free(to_vdev(ibcontext->device), &context->uar); in pvrdma_dealloc_ucontext()
409 int pvrdma_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in pvrdma_mmap() argument
411 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_mmap()
/Linux-v4.19/drivers/infiniband/core/
Drdma_core.c797 static void ufile_disassociate_ucontext(struct ib_ucontext *ibcontext) in ufile_disassociate_ucontext() argument
799 struct ib_device *ib_dev = ibcontext->device; in ufile_disassociate_ucontext()
803 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in ufile_disassociate_ucontext()
813 owning_process = get_pid_task(ibcontext->tgid, in ufile_disassociate_ucontext()
829 ib_dev->disassociate_ucontext(ibcontext); in ufile_disassociate_ucontext()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_main.c369 static int hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext() argument
371 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
373 hns_roce_uar_free(to_hr_dev(ibcontext->device), &context->uar); in hns_roce_dealloc_ucontext()
472 static void hns_roce_disassociate_ucontext(struct ib_ucontext *ibcontext) in hns_roce_disassociate_ucontext() argument
474 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_disassociate_ucontext()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h75 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
Dusnic_ib_verbs.c693 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in usnic_ib_dealloc_ucontext() argument
695 struct usnic_ib_ucontext *context = to_uucontext(ibcontext); in usnic_ib_dealloc_ucontext()
696 struct usnic_ib_dev *us_ibdev = to_usdev(ibcontext->device); in usnic_ib_dealloc_ucontext()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c1852 static int mlx5_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_dealloc_ucontext() argument
1854 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()
1855 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_dealloc_ucontext()
1971 static void mlx5_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_disassociate_ucontext() argument
1975 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_disassociate_ucontext()
2183 static int mlx5_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in mlx5_ib_mmap() argument
2185 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
2186 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_mmap()
2224 return dm_mmap(ibcontext, vma); in mlx5_ib_mmap()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmain.c1133 static int mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext() argument
1135 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
1137 mlx4_uar_free(to_mdev(ibcontext->device)->dev, &context->uar); in mlx4_ib_dealloc_ucontext()
1183 static void mlx4_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_disassociate_ucontext() argument
1187 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_disassociate_ucontext()
/Linux-v4.19/include/rdma/
Dib_verbs.h2478 void (*disassociate_ucontext)(struct ib_ucontext *ibcontext);