Lines Matching refs:wc
1471 static int copy_wc_to_user(void __user *dest, struct ib_wc *wc) in copy_wc_to_user() argument
1475 tmp.wr_id = wc->wr_id; in copy_wc_to_user()
1476 tmp.status = wc->status; in copy_wc_to_user()
1477 tmp.opcode = wc->opcode; in copy_wc_to_user()
1478 tmp.vendor_err = wc->vendor_err; in copy_wc_to_user()
1479 tmp.byte_len = wc->byte_len; in copy_wc_to_user()
1480 tmp.ex.imm_data = (__u32 __force) wc->ex.imm_data; in copy_wc_to_user()
1481 tmp.qp_num = wc->qp->qp_num; in copy_wc_to_user()
1482 tmp.src_qp = wc->src_qp; in copy_wc_to_user()
1483 tmp.wc_flags = wc->wc_flags; in copy_wc_to_user()
1484 tmp.pkey_index = wc->pkey_index; in copy_wc_to_user()
1485 tmp.slid = wc->slid; in copy_wc_to_user()
1486 tmp.sl = wc->sl; in copy_wc_to_user()
1487 tmp.dlid_path_bits = wc->dlid_path_bits; in copy_wc_to_user()
1488 tmp.port_num = wc->port_num; in copy_wc_to_user()
1506 struct ib_wc wc; in ib_uverbs_poll_cq() local
1522 ret = ib_poll_cq(cq, 1, &wc); in ib_uverbs_poll_cq()
1528 ret = copy_wc_to_user(data_ptr, &wc); in ib_uverbs_poll_cq()