Lines Matching refs:uctx
748 struct c4iw_dev_ucontext *uctx) in c4iw_release_dev_ucontext() argument
753 mutex_lock(&uctx->lock); in c4iw_release_dev_ucontext()
754 list_for_each_safe(pos, nxt, &uctx->qpids) { in c4iw_release_dev_ucontext()
767 list_for_each_safe(pos, nxt, &uctx->cqids) { in c4iw_release_dev_ucontext()
772 mutex_unlock(&uctx->lock); in c4iw_release_dev_ucontext()
776 struct c4iw_dev_ucontext *uctx) in c4iw_init_dev_ucontext() argument
778 INIT_LIST_HEAD(&uctx->qpids); in c4iw_init_dev_ucontext()
779 INIT_LIST_HEAD(&uctx->cqids); in c4iw_init_dev_ucontext()
780 mutex_init(&uctx->lock); in c4iw_init_dev_ucontext()
789 c4iw_init_dev_ucontext(rdev, &rdev->uctx); in c4iw_rdev_open()
925 c4iw_release_dev_ucontext(rdev, &rdev->uctx); in c4iw_rdev_close()