Lines Matching defs:uhw
439 struct ib_udata *uhw)
450 if (uhw->inlen) {
451 if (uhw->inlen < sizeof(cmd))
454 err = ib_copy_from_udata(&cmd, uhw, sizeof(cmd));
583 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) {
591 if (uhw->outlen >= resp.response_length +
598 if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) {
622 if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) {
636 if (uhw->outlen) {
637 err = ib_copy_to_udata(uhw, &resp, resp.response_length);