Lines Matching defs:udata
52 #define INIT_UDATA(udata, ibuf, obuf, ilen, olen) \
54 (udata)->inbuf = (void __user *) (ibuf); \
55 (udata)->outbuf = (void __user *) (obuf); \
56 (udata)->inlen = (ilen); \
57 (udata)->outlen = (olen); \
279 struct ib_udata udata;
298 INIT_UDATA(&udata, buf + sizeof cmd,
302 ucontext = ibdev->alloc_ucontext(ibdev, &udata);
487 struct ib_udata udata;
498 INIT_UDATA(&udata, buf + sizeof cmd,
510 file->ucontext, &udata);
596 struct ib_udata udata;
608 INIT_UDATA(&udata, buf + sizeof cmd,
637 cmd.access_flags, &udata, 0);
764 struct ib_udata udata;
776 INIT_UDATA(&udata, buf + sizeof cmd,
806 file->ucontext, &udata);
865 struct ib_udata udata;
872 INIT_UDATA(&udata, buf + sizeof cmd,
880 ret = cq->device->resize_cq(cq, cmd.cqe, &udata);
1040 struct ib_udata udata;
1057 INIT_UDATA(&udata, buf + sizeof cmd,
1104 qp = pd->device->create_qp(pd, &attr, &udata);
1294 struct ib_udata udata;
1302 INIT_UDATA(&udata, buf + sizeof cmd, NULL, in_len - sizeof cmd,
1361 ret = qp->device->modify_qp(qp, attr, cmd.attr_mask, &udata);
1986 struct ib_udata udata;
1999 INIT_UDATA(&udata, buf + sizeof cmd,
2025 srq = pd->device->create_srq(pd, &attr, &udata);
2089 struct ib_udata udata;
2105 INIT_UDATA(&udata, buf + sizeof cmd,
2145 srq = pd->device->create_xrc_srq(pd, xrc_cq, xrcd, &attr, &udata);
2219 struct ib_udata udata;
2227 INIT_UDATA(&udata, buf + sizeof cmd, NULL, in_len - sizeof cmd,
2237 ret = srq->device->modify_srq(srq, &attr, cmd.attr_mask, &udata);
2432 struct ib_udata udata;
2447 INIT_UDATA(&udata, buf + sizeof cmd,
2491 file->ucontext, &udata);