Searched refs:ibcontext (Results 1 – 6 of 6) sorted by relevance
374 int pvrdma_dealloc_ucontext(struct ib_ucontext *ibcontext) in pvrdma_dealloc_ucontext() argument376 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() argument406 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_mmap()
75 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
672 int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in usnic_ib_dealloc_ucontext() argument674 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()
358 static int hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext() argument360 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()
1497 static int mlx5_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_dealloc_ucontext() argument1499 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() argument1616 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() argument1751 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()
1110 static int mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext() argument1112 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() argument1165 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()