Lines Matching refs:ret
1092 int ret; in mthca_map_memfree() local
1095 ret = mthca_table_get(dev, dev->qp_table.qp_table, qp->qpn); in mthca_map_memfree()
1096 if (ret) in mthca_map_memfree()
1097 return ret; in mthca_map_memfree()
1099 ret = mthca_table_get(dev, dev->qp_table.eqp_table, qp->qpn); in mthca_map_memfree()
1100 if (ret) in mthca_map_memfree()
1103 ret = mthca_table_get(dev, dev->qp_table.rdb_table, in mthca_map_memfree()
1105 if (ret) in mthca_map_memfree()
1118 return ret; in mthca_map_memfree()
1167 int ret; in mthca_alloc_qp_common() local
1184 ret = mthca_map_memfree(dev, qp); in mthca_alloc_qp_common()
1185 if (ret) in mthca_alloc_qp_common()
1186 return ret; in mthca_alloc_qp_common()
1188 ret = mthca_alloc_wqe_buf(dev, pd, qp, udata); in mthca_alloc_qp_common()
1189 if (ret) { in mthca_alloc_qp_common()
1191 return ret; in mthca_alloc_qp_common()
1204 ret = mthca_alloc_memfree(dev, qp); in mthca_alloc_qp_common()
1205 if (ret) { in mthca_alloc_qp_common()
1208 return ret; in mthca_alloc_qp_common()