Searched refs:ibcontext (Results 1 – 3 of 3) sorted by relevance
1300 static int mlx5_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_dealloc_ucontext() argument1302 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()1303 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_dealloc_ucontext()1406 static void mlx5_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mlx5_ib_disassociate_ucontext() argument1411 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_disassociate_ucontext()1415 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in mlx5_ib_disassociate_ucontext()1425 owning_process = get_pid_task(ibcontext->tgid, in mlx5_ib_disassociate_ucontext()1541 static int mlx5_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in mlx5_ib_mmap() argument1543 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()1544 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_mmap()
1090 static int mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext() argument1092 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()1094 mlx4_uar_free(to_mdev(ibcontext->device)->dev, &context->uar); in mlx4_ib_dealloc_ucontext()
2062 void (*disassociate_ucontext)(struct ib_ucontext *ibcontext);