Lines Matching refs:uresp
2118 struct c4iw_create_qp_resp uresp; in c4iw_create_qp() local
2241 memset(&uresp, 0, sizeof(uresp)); in c4iw_create_qp()
2249 uresp.flags = C4IW_QPF_ONCHIP; in c4iw_create_qp()
2252 uresp.flags |= C4IW_QPF_WRITE_W_IMM; in c4iw_create_qp()
2253 uresp.qid_mask = rhp->rdev.qpmask; in c4iw_create_qp()
2254 uresp.sqid = qhp->wq.sq.qid; in c4iw_create_qp()
2255 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()
2256 uresp.sq_memsize = qhp->wq.sq.memsize; in c4iw_create_qp()
2258 uresp.rqid = qhp->wq.rq.qid; in c4iw_create_qp()
2259 uresp.rq_size = qhp->wq.rq.size; in c4iw_create_qp()
2260 uresp.rq_memsize = qhp->wq.rq.memsize; in c4iw_create_qp()
2264 uresp.ma_sync_key = ucontext->key; in c4iw_create_qp()
2267 uresp.sq_key = ucontext->key; in c4iw_create_qp()
2270 uresp.rq_key = ucontext->key; in c4iw_create_qp()
2273 uresp.sq_db_gts_key = ucontext->key; in c4iw_create_qp()
2276 uresp.rq_db_gts_key = ucontext->key; in c4iw_create_qp()
2280 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in c4iw_create_qp()
2283 sq_key_mm->key = uresp.sq_key; in c4iw_create_qp()
2288 rq_key_mm->key = uresp.rq_key; in c4iw_create_qp()
2293 sq_db_key_mm->key = uresp.sq_db_gts_key; in c4iw_create_qp()
2298 rq_db_key_mm->key = uresp.rq_db_gts_key; in c4iw_create_qp()
2305 ma_sync_key_mm->key = uresp.ma_sync_key; in c4iw_create_qp()
2669 struct c4iw_create_srq_resp uresp; in c4iw_create_srq() local
2747 memset(&uresp, 0, sizeof(uresp)); in c4iw_create_srq()
2748 uresp.flags = srq->flags; in c4iw_create_srq()
2749 uresp.qid_mask = rhp->rdev.qpmask; in c4iw_create_srq()
2750 uresp.srqid = srq->wq.qid; in c4iw_create_srq()
2751 uresp.srq_size = srq->wq.size; in c4iw_create_srq()
2752 uresp.srq_memsize = srq->wq.memsize; in c4iw_create_srq()
2753 uresp.rqt_abs_idx = srq->wq.rqt_abs_idx; in c4iw_create_srq()
2755 uresp.srq_key = ucontext->key; in c4iw_create_srq()
2757 uresp.srq_db_gts_key = ucontext->key; in c4iw_create_srq()
2760 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in c4iw_create_srq()
2763 srq_key_mm->key = uresp.srq_key; in c4iw_create_srq()
2767 srq_db_key_mm->key = uresp.srq_db_gts_key; in c4iw_create_srq()