Lines Matching refs:wc
1592 static int copy_wc_to_user(void __user *dest, struct ib_wc *wc) in copy_wc_to_user() argument
1596 tmp.wr_id = wc->wr_id; in copy_wc_to_user()
1597 tmp.status = wc->status; in copy_wc_to_user()
1598 tmp.opcode = wc->opcode; in copy_wc_to_user()
1599 tmp.vendor_err = wc->vendor_err; in copy_wc_to_user()
1600 tmp.byte_len = wc->byte_len; in copy_wc_to_user()
1601 tmp.ex.imm_data = (__u32 __force) wc->ex.imm_data; in copy_wc_to_user()
1602 tmp.qp_num = wc->qp->qp_num; in copy_wc_to_user()
1603 tmp.src_qp = wc->src_qp; in copy_wc_to_user()
1604 tmp.wc_flags = wc->wc_flags; in copy_wc_to_user()
1605 tmp.pkey_index = wc->pkey_index; in copy_wc_to_user()
1606 tmp.slid = wc->slid; in copy_wc_to_user()
1607 tmp.sl = wc->sl; in copy_wc_to_user()
1608 tmp.dlid_path_bits = wc->dlid_path_bits; in copy_wc_to_user()
1609 tmp.port_num = wc->port_num; in copy_wc_to_user()
1628 struct ib_wc wc; in ib_uverbs_poll_cq() local
1644 ret = ib_poll_cq(cq, 1, &wc); in ib_uverbs_poll_cq()
1650 ret = copy_wc_to_user(data_ptr, &wc); in ib_uverbs_poll_cq()