Lines Matching refs:entry
48 void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int solicited) in ipath_cq_enter() argument
81 wc->uqueue[head].wr_id = entry->wr_id; in ipath_cq_enter()
82 wc->uqueue[head].status = entry->status; in ipath_cq_enter()
83 wc->uqueue[head].opcode = entry->opcode; in ipath_cq_enter()
84 wc->uqueue[head].vendor_err = entry->vendor_err; in ipath_cq_enter()
85 wc->uqueue[head].byte_len = entry->byte_len; in ipath_cq_enter()
86 wc->uqueue[head].ex.imm_data = (__u32 __force) entry->ex.imm_data; in ipath_cq_enter()
87 wc->uqueue[head].qp_num = entry->qp->qp_num; in ipath_cq_enter()
88 wc->uqueue[head].src_qp = entry->src_qp; in ipath_cq_enter()
89 wc->uqueue[head].wc_flags = entry->wc_flags; in ipath_cq_enter()
90 wc->uqueue[head].pkey_index = entry->pkey_index; in ipath_cq_enter()
91 wc->uqueue[head].slid = entry->slid; in ipath_cq_enter()
92 wc->uqueue[head].sl = entry->sl; in ipath_cq_enter()
93 wc->uqueue[head].dlid_path_bits = entry->dlid_path_bits; in ipath_cq_enter()
94 wc->uqueue[head].port_num = entry->port_num; in ipath_cq_enter()
98 wc->kqueue[head] = *entry; in ipath_cq_enter()
114 if (entry->status != IB_WC_SUCCESS) in ipath_cq_enter()
129 int ipath_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) in ipath_poll_cq() argument
149 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in ipath_poll_cq()
153 *entry = wc->kqueue[tail]; in ipath_poll_cq()