Lines Matching refs:ret_code
247 int ret_code; in irdma_qp_get_next_recv_wqe() local
252 IRDMA_ATOMIC_RING_MOVE_HEAD(qp->rq_ring, *wqe_idx, ret_code); in irdma_qp_get_next_recv_wqe()
253 if (ret_code) in irdma_qp_get_next_recv_wqe()
278 int ret_code; in irdma_uk_rdma_write() local
299 ret_code = irdma_fragcnt_to_quanta_sq(frag_cnt, &quanta); in irdma_uk_rdma_write()
300 if (ret_code) in irdma_uk_rdma_write()
301 return ret_code; in irdma_uk_rdma_write()
375 int ret_code; in irdma_uk_rdma_read() local
393 ret_code = irdma_fragcnt_to_quanta_sq(op_info->num_lo_sges, &quanta); in irdma_uk_rdma_read()
394 if (ret_code) in irdma_uk_rdma_read()
395 return ret_code; in irdma_uk_rdma_read()
464 int ret_code; in irdma_uk_send() local
482 ret_code = irdma_fragcnt_to_quanta_sq(frag_cnt, &quanta); in irdma_uk_send()
483 if (ret_code) in irdma_uk_send()
484 return ret_code; in irdma_uk_send()
1053 int ret_code; in irdma_uk_cq_poll_cmpl() local
1157 ret_code = -EFAULT; in irdma_uk_cq_poll_cmpl()
1172 ret_code = -ENOENT; in irdma_uk_cq_poll_cmpl()
1228 ret_code = -ENOENT; in irdma_uk_cq_poll_cmpl()
1261 ret_code = 0; in irdma_uk_cq_poll_cmpl()
1264 if (!ret_code && info->comp_status == IRDMA_COMPL_STATUS_FLUSHED) in irdma_uk_cq_poll_cmpl()
1290 return ret_code; in irdma_uk_cq_poll_cmpl()
1427 int ret_code = 0; in irdma_uk_qp_init() local
1481 return ret_code; in irdma_uk_qp_init()