Lines Matching defs:uhw
437 struct ib_udata *uhw)
448 if (uhw->inlen) {
449 if (uhw->inlen < sizeof(cmd))
452 err = ib_copy_from_udata(&cmd, uhw, sizeof(cmd));
581 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) {
589 if (uhw->outlen >= resp.response_length +
596 if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) {
620 if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) {
634 if (uhw->outlen) {
635 err = ib_copy_to_udata(uhw, &resp, resp.response_length);