Home
last modified time | relevance | path

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

/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c369 void pvrdma_dealloc_ucontext(struct ib_ucontext *ibcontext) in pvrdma_dealloc_ucontext() argument
371 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_dealloc_ucontext()
385 pvrdma_uar_free(to_vdev(ibcontext->device), &context->uar); in pvrdma_dealloc_ucontext()
395 int pvrdma_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in pvrdma_mmap() argument
397 struct pvrdma_ucontext *context = to_vucontext(ibcontext); in pvrdma_mmap()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h67 void usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
Dusnic_ib_verbs.c652 void usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in usnic_ib_dealloc_ucontext() argument
654 struct usnic_ib_ucontext *context = to_uucontext(ibcontext); in usnic_ib_dealloc_ucontext()
655 struct usnic_ib_dev *us_ibdev = to_usdev(ibcontext->device); in usnic_ib_dealloc_ucontext()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c345 static void hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext() argument
347 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
349 hns_roce_uar_free(to_hr_dev(ibcontext->device), &context->uar); in hns_roce_dealloc_ucontext()
405 static void hns_roce_disassociate_ucontext(struct ib_ucontext *ibcontext) in hns_roce_disassociate_ucontext() argument
/drivers/infiniband/hw/mlx5/
Dmain.c1973 static int mlx5_ib_query_ucontext(struct ib_ucontext *ibcontext, in mlx5_ib_query_ucontext() argument
1979 ret = set_ucontext_resp(ibcontext, &uctx_resp); in mlx5_ib_query_ucontext()
1996 static void mlx5_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_dealloc_ucontext() argument
1998 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()
1999 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_dealloc_ucontext()
2056 static void mlx5_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_disassociate_ucontext() argument
2299 static int mlx5_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in mlx5_ib_mmap() argument
2301 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
2302 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_mmap()
2343 return mlx5_ib_mmap_offset(dev, vma, ibcontext); in mlx5_ib_mmap()
/drivers/infiniband/hw/mlx4/
Dmain.c1142 static void mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext() argument
1144 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
1146 mlx4_uar_free(to_mdev(ibcontext->device)->dev, &context->uar); in mlx4_ib_dealloc_ucontext()
1149 static void mlx4_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_disassociate_ucontext() argument