Lines Matching refs:ucontext
760 struct c4iw_ucontext *ucontext;
769 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context)
772 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx);
784 struct c4iw_ucontext *ucontext = NULL;
798 ucontext = to_c4iw_ucontext(ib_context);
828 if (ucontext) {
840 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
855 if (ucontext) {
867 spin_lock(&ucontext->mmap_lock);
868 uresp.key = ucontext->key;
869 ucontext->key += PAGE_SIZE;
870 uresp.gts_key = ucontext->key;
871 ucontext->key += PAGE_SIZE;
872 spin_unlock(&ucontext->mmap_lock);
880 insert_mmap(ucontext, mm);
885 insert_mmap(ucontext, mm2);
900 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);