Lines Matching defs:udata

20 			    struct ib_udata *udata)
25 if (udata->inlen || udata->outlen) {
26 rxe_dbg_dev(rxe, "malformed udata");
205 static int rxe_alloc_ucontext(struct ib_ucontext *ibuc, struct ib_udata *udata)
229 static int rxe_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata)
248 static int rxe_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata)
263 struct ib_udata *udata)
270 if (udata) {
272 if (udata->outlen >= sizeof(*uresp))
273 uresp = udata->outbuf;
368 struct ib_udata *udata)
376 if (udata) {
377 if (udata->outlen < sizeof(*uresp)) {
379 rxe_err_dev(rxe, "malformed udata");
382 uresp = udata->outbuf;
407 err = rxe_srq_from_init(rxe, srq, init, udata, uresp);
426 struct ib_udata *udata)
433 if (udata) {
434 if (udata->inlen < sizeof(cmd)) {
436 rxe_dbg_srq(srq, "malformed udata");
440 err = ib_copy_from_udata(&cmd, udata, sizeof(cmd));
443 rxe_dbg_srq(srq, "unable to read udata");
454 err = rxe_srq_from_attr(rxe, srq, attr, mask, &cmd, udata);
514 static int rxe_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata)
528 struct ib_udata *udata)
536 if (udata) {
537 if (udata->inlen) {
539 rxe_dbg_dev(rxe, "malformed udata, err = %d", err);
543 if (udata->outlen < sizeof(*uresp)) {
545 rxe_dbg_dev(rxe, "malformed udata, err = %d", err);
550 uresp = udata->outbuf;
573 err = rxe_qp_from_init(rxe, qp, pd, init, uresp, ibqp->pd, udata);
592 int mask, struct ib_udata *udata)
611 err = rxe_qp_from_attr(qp, attr, mask, udata);
640 static int rxe_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata)
1057 struct ib_udata *udata)
1065 if (udata) {
1066 if (udata->outlen < sizeof(*uresp)) {
1068 rxe_dbg_dev(rxe, "malformed udata, err = %d", err);
1071 uresp = udata->outbuf;
1092 err = rxe_cq_from_init(rxe, cq, attr->cqe, attr->comp_vector, udata,
1110 static int rxe_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata)
1117 if (udata) {
1118 if (udata->outlen < sizeof(*uresp)) {
1120 rxe_dbg_cq(cq, "malformed udata");
1123 uresp = udata->outbuf;
1132 err = rxe_cq_resize_queue(cq, cqe, uresp, udata);
1195 static int rxe_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata)
1254 struct ib_udata *udata)
1303 struct ib_udata *udata)
1381 static int rxe_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata)