Lines Matching refs:lpar_rc
761 unsigned long lpar_rc; in pSeries_lpar_hpte_insert() local
788 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
789 if (unlikely(lpar_rc == H_PTEG_FULL)) { in pSeries_lpar_hpte_insert()
799 if (unlikely(lpar_rc != H_SUCCESS)) { in pSeries_lpar_hpte_insert()
800 pr_err("Failed hash pte insert with error %ld\n", lpar_rc); in pSeries_lpar_hpte_insert()
817 unsigned long lpar_rc; in pSeries_lpar_hpte_remove() local
827 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
829 if (lpar_rc == H_SUCCESS) in pSeries_lpar_hpte_remove()
837 BUG_ON(lpar_rc != H_NOT_FOUND && lpar_rc != H_RESOURCE); in pSeries_lpar_hpte_remove()
855 long lpar_rc; in manual_hpte_clear_all() local
863 lpar_rc = plpar_pte_read_4_raw(0, i, (void *)ptes); in manual_hpte_clear_all()
864 if (lpar_rc != H_SUCCESS) { in manual_hpte_clear_all()
866 i, lpar_rc); in manual_hpte_clear_all()
929 unsigned long lpar_rc; in pSeries_lpar_hpte_updatepp() local
944 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
946 if (lpar_rc == H_NOT_FOUND) { in pSeries_lpar_hpte_updatepp()
953 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_updatepp()
960 long lpar_rc; in __pSeries_lpar_hpte_find() local
969 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in __pSeries_lpar_hpte_find()
970 if (lpar_rc != H_SUCCESS) { in __pSeries_lpar_hpte_find()
972 hpte_group, lpar_rc); in __pSeries_lpar_hpte_find()
1017 unsigned long lpar_rc, slot, vsid, flags; in pSeries_lpar_hpte_updateboltedpp() local
1032 lpar_rc = plpar_pte_protect(flags, slot, 0); in pSeries_lpar_hpte_updateboltedpp()
1034 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_updateboltedpp()
1042 unsigned long lpar_rc; in pSeries_lpar_hpte_invalidate() local
1049 lpar_rc = plpar_pte_remove(H_AVPN, slot, want_v, &dummy1, &dummy2); in pSeries_lpar_hpte_invalidate()
1050 if (lpar_rc == H_NOT_FOUND) in pSeries_lpar_hpte_invalidate()
1053 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_invalidate()