Lines Matching refs:ucmd

395 	struct mthca_create_srq ucmd;  in mthca_create_srq()  local
405 if (ib_copy_from_udata(&ucmd, udata, sizeof(ucmd))) in mthca_create_srq()
409 context->db_tab, ucmd.db_index, in mthca_create_srq()
410 ucmd.db_page); in mthca_create_srq()
415 srq->mr.ibmr.lkey = ucmd.lkey; in mthca_create_srq()
416 srq->db_index = ucmd.db_index; in mthca_create_srq()
424 context->db_tab, ucmd.db_index); in mthca_create_srq()
460 struct mthca_create_qp ucmd; in mthca_create_qp() local
474 if (ib_copy_from_udata(&ucmd, udata, sizeof(ucmd))) in mthca_create_qp()
479 ucmd.sq_db_index, in mthca_create_qp()
480 ucmd.sq_db_page); in mthca_create_qp()
486 ucmd.rq_db_index, in mthca_create_qp()
487 ucmd.rq_db_page); in mthca_create_qp()
491 ucmd.sq_db_index); in mthca_create_qp()
495 qp->mr.ibmr.lkey = ucmd.lkey; in mthca_create_qp()
496 qp->sq.db_index = ucmd.sq_db_index; in mthca_create_qp()
497 qp->rq.db_index = ucmd.rq_db_index; in mthca_create_qp()
508 ucmd.sq_db_index); in mthca_create_qp()
510 ucmd.rq_db_index); in mthca_create_qp()
582 struct mthca_create_cq ucmd; in mthca_create_cq() local
596 if (ib_copy_from_udata(&ucmd, udata, sizeof(ucmd))) in mthca_create_cq()
600 context->db_tab, ucmd.set_db_index, in mthca_create_cq()
601 ucmd.set_db_page); in mthca_create_cq()
606 context->db_tab, ucmd.arm_db_index, in mthca_create_cq()
607 ucmd.arm_db_page); in mthca_create_cq()
615 cq->buf.mr.ibmr.lkey = ucmd.lkey; in mthca_create_cq()
616 cq->set_ci_db_index = ucmd.set_db_index; in mthca_create_cq()
617 cq->arm_db_index = ucmd.arm_db_index; in mthca_create_cq()
624 udata ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq()
642 context->db_tab, ucmd.arm_db_index); in mthca_create_cq()
647 context->db_tab, ucmd.set_db_index); in mthca_create_cq()
701 struct mthca_resize_cq ucmd; in mthca_resize_cq() local
722 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) { in mthca_resize_cq()
726 lkey = ucmd.lkey; in mthca_resize_cq()
835 struct mthca_reg_mr ucmd; in mthca_reg_user_mr() local
841 if (udata->inlen < sizeof ucmd) { in mthca_reg_user_mr()
848 ucmd.mr_attrs = 0; in mthca_reg_user_mr()
849 } else if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) in mthca_reg_user_mr()