Lines Matching refs:ucmd
346 struct hns_roce_ib_create_srq ucmd = {}; in alloc_srq_buf() local
350 ret = ib_copy_from_udata(&ucmd, udata, in alloc_srq_buf()
351 min(udata->inlen, sizeof(ucmd))); in alloc_srq_buf()
360 ret = alloc_srq_idx(hr_dev, srq, udata, ucmd.que_addr); in alloc_srq_buf()
364 ret = alloc_srq_wqe_buf(hr_dev, srq, udata, ucmd.buf_addr); in alloc_srq_buf()
392 struct hns_roce_ib_create_srq *ucmd) in get_srq_ucmd() argument
397 ret = ib_copy_from_udata(ucmd, udata, min(udata->inlen, sizeof(*ucmd))); in get_srq_ucmd()
429 struct hns_roce_ib_create_srq ucmd = {}; in alloc_srq_db() local
434 ret = get_srq_ucmd(srq, udata, &ucmd); in alloc_srq_db()
439 (ucmd.req_cap_flags & HNS_ROCE_SRQ_CAP_RECORD_DB)) { in alloc_srq_db()
442 ret = hns_roce_db_map_user(uctx, ucmd.db_addr, in alloc_srq_db()