Home
last modified time | relevance | path

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

/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c374 int pvrdma_dealloc_ucontext(struct ib_ucontext *ibcontext) in pvrdma_dealloc_ucontext() argument
376 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_dealloc_ucontext()
391 pvrdma_uar_free(to_vdev(ibcontext->device), &context->uar); in pvrdma_dealloc_ucontext()
404 int pvrdma_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in pvrdma_mmap() argument
406 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_mmap()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h75 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
Dusnic_ib_verbs.c672 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in usnic_ib_dealloc_ucontext() argument
674 struct usnic_ib_ucontext *context = to_uucontext(ibcontext); in usnic_ib_dealloc_ucontext()
675 struct usnic_ib_dev *us_ibdev = to_usdev(ibcontext->device); in usnic_ib_dealloc_ucontext()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c358 static int hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext() argument
360 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
362 hns_roce_uar_free(to_hr_dev(ibcontext->device), &context->uar); in hns_roce_dealloc_ucontext()
/drivers/infiniband/hw/mlx5/
Dmain.c1497 static int mlx5_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_dealloc_ucontext() argument
1499 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()
1500 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_dealloc_ucontext()
1611 static void mlx5_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_disassociate_ucontext() argument
1616 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_disassociate_ucontext()
1620 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in mlx5_ib_disassociate_ucontext()
1630 owning_process = get_pid_task(ibcontext->tgid, in mlx5_ib_disassociate_ucontext()
1749 static int mlx5_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in mlx5_ib_mmap() argument
1751 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
1752 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_mmap()
/drivers/infiniband/hw/mlx4/
Dmain.c1110 static int mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext() argument
1112 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
1114 mlx4_uar_free(to_mdev(ibcontext->device)->dev, &context->uar); in mlx4_ib_dealloc_ucontext()
1160 static void mlx4_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_disassociate_ucontext() argument
1165 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_disassociate_ucontext()
1169 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in mlx4_ib_disassociate_ucontext()
1183 owning_process = get_pid_task(ibcontext->tgid, in mlx4_ib_disassociate_ucontext()