Lines Matching refs:h_ret
192 ehca_err(&shca->ib_device, "h_ret=%li pd=%p mr_access_flags=%x",
304 ehca_err(pd->device, "h_ret=%li pd=%p phys_buf_array=%p "
600 u64 h_ret;
617 h_ret = hipz_h_query_mr(shca->ipz_hca_handle, e_mr, &hipzout);
618 if (h_ret != H_SUCCESS) {
619 ehca_err(mr->device, "hipz_mr_query failed, h_ret=%lli mr=%p "
621 h_ret, mr, shca->ipz_hca_handle.handle,
623 ret = ehca2ib_return_code(h_ret);
647 u64 h_ret;
667 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_mr);
668 if (h_ret != H_SUCCESS) {
669 ehca_err(mr->device, "hipz_free_mr failed, h_ret=%lli shca=%p "
671 h_ret, shca, e_mr, shca->ipz_hca_handle.handle,
673 ret = ehca2ib_return_code(h_ret);
694 u64 h_ret;
707 h_ret = hipz_h_alloc_resource_mw(shca->ipz_hca_handle, e_mw,
709 if (h_ret != H_SUCCESS) {
710 ehca_err(pd->device, "hipz_mw_allocate failed, h_ret=%lli "
712 h_ret, shca, shca->ipz_hca_handle.handle, e_mw);
713 ib_mw = ERR_PTR(ehca2ib_return_code(h_ret));
725 ehca_err(pd->device, "h_ret=%li pd=%p", PTR_ERR(ib_mw), pd);
745 u64 h_ret;
750 h_ret = hipz_h_free_resource_mw(shca->ipz_hca_handle, e_mw);
751 if (h_ret != H_SUCCESS) {
752 ehca_err(mw->device, "hipz_free_mw failed, h_ret=%lli shca=%p "
754 h_ret, shca, mw, mw->rkey, shca->ipz_hca_handle.handle,
756 return ehca2ib_return_code(h_ret);
984 u64 h_ret;
996 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_fmr);
997 if (h_ret != H_SUCCESS) {
998 ehca_err(fmr->device, "hipz_free_mr failed, h_ret=%lli e_fmr=%p "
1000 h_ret, e_fmr, shca->ipz_hca_handle.handle,
1002 ret = ehca2ib_return_code(h_ret);
1033 u64 h_ret;
1042 h_ret = hipz_h_alloc_resource_mr(shca->ipz_hca_handle, e_mr,
1045 if (h_ret != H_SUCCESS) {
1046 ehca_err(&shca->ib_device, "hipz_alloc_mr failed, h_ret=%lli "
1047 "hca_hndl=%llx", h_ret, shca->ipz_hca_handle.handle);
1048 ret = ehca2ib_return_code(h_ret);
1076 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_mr);
1077 if (h_ret != H_SUCCESS) {
1078 ehca_err(&shca->ib_device, "h_ret=%lli shca=%p e_mr=%p "
1081 h_ret, shca, e_mr, iova_start, size, acl, e_pd,
1104 u64 h_ret;
1149 h_ret = hipz_h_register_rpage_mr(
1159 if (h_ret != H_SUCCESS) {
1161 "hipz_reg_rpage_mr failed, h_ret=%lli "
1163 " lkey=%x", h_ret, e_mr, i,
1167 ret = ehca2ib_return_code(h_ret);
1171 } else if (h_ret != H_PAGE_REGISTERED) {
1173 "h_ret=%lli e_mr=%p i=%x lkey=%x hca_hndl=%llx "
1174 "mr_hndl=%llx", h_ret, e_mr, i,
1178 ret = ehca2ib_return_code(h_ret);
1208 u64 h_ret;
1240 h_ret = hipz_h_reregister_pmr(shca->ipz_hca_handle, e_mr,
1243 if (h_ret != H_SUCCESS) {
1250 "(Rereg1), h_ret=%lli e_mr=%p", h_ret, e_mr);
1299 u64 h_ret;
1337 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_mr);
1338 if (h_ret != H_SUCCESS) {
1340 "h_ret=%lli e_mr=%p hca_hndl=%llx mr_hndl=%llx "
1342 h_ret, e_mr, shca->ipz_hca_handle.handle,
1345 ret = ehca2ib_return_code(h_ret);
1387 u64 h_ret;
1401 h_ret = hipz_h_reregister_pmr(shca->ipz_hca_handle, e_fmr, 0,
1403 if (h_ret == H_SUCCESS) {
1416 "(Rereg1), h_ret=%lli e_fmr=%p hca_hndl=%llx "
1418 h_ret, e_fmr, shca->ipz_hca_handle.handle,
1425 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_fmr);
1426 if (h_ret != H_SUCCESS) {
1428 "h_ret=%lli e_fmr=%p hca_hndl=%llx mr_hndl=%llx "
1430 h_ret, e_fmr, shca->ipz_hca_handle.handle,
1433 ret = ehca2ib_return_code(h_ret);
1481 u64 h_ret;
1488 h_ret = hipz_h_register_smr(shca->ipz_hca_handle, e_newmr, e_origmr,
1491 if (h_ret != H_SUCCESS) {
1492 ehca_err(&shca->ib_device, "hipz_reg_smr failed, h_ret=%lli "
1495 h_ret, shca, e_origmr, e_newmr, iova_start, acl, e_pd,
1499 ret = ehca2ib_return_code(h_ret);
1538 u64 h_ret = 0;
1559 h_ret = hipz_h_register_rpage_mr(shca->ipz_hca_handle, mr,
1563 if ((h_ret != H_SUCCESS) && (h_ret != H_PAGE_REGISTERED)) {
1565 return h_ret;
1568 return h_ret;
1695 u64 h_ret;
1703 h_ret = hipz_h_register_smr(shca->ipz_hca_handle, e_newmr, e_origmr,
1706 if (h_ret != H_SUCCESS) {
1707 ehca_err(&shca->ib_device, "hipz_reg_smr failed, h_ret=%lli "
1709 h_ret, e_origmr, shca->ipz_hca_handle.handle,
1712 return ehca2ib_return_code(h_ret);
2493 "h_ret=%lli e_mr=%p top=%x lkey=%x "