Lines Matching refs:lpar_rc

139 	unsigned long lpar_rc;  in pSeries_lpar_hpte_insert()  local
166 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
167 if (unlikely(lpar_rc == H_PTEG_FULL)) { in pSeries_lpar_hpte_insert()
177 if (unlikely(lpar_rc != H_SUCCESS)) { in pSeries_lpar_hpte_insert()
178 pr_err("Failed hash pte insert with error %ld\n", lpar_rc); in pSeries_lpar_hpte_insert()
195 unsigned long lpar_rc; in pSeries_lpar_hpte_remove() local
205 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
207 if (lpar_rc == H_SUCCESS) in pSeries_lpar_hpte_remove()
215 BUG_ON(lpar_rc != H_NOT_FOUND && lpar_rc != H_RESOURCE); in pSeries_lpar_hpte_remove()
232 long lpar_rc; in manual_hpte_clear_all() local
240 lpar_rc = plpar_pte_read_4_raw(0, i, (void *)ptes); in manual_hpte_clear_all()
241 if (lpar_rc != H_SUCCESS) { in manual_hpte_clear_all()
243 i, lpar_rc); in manual_hpte_clear_all()
304 unsigned long lpar_rc; in pSeries_lpar_hpte_updatepp() local
318 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
320 if (lpar_rc == H_NOT_FOUND) { in pSeries_lpar_hpte_updatepp()
327 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_updatepp()
334 long lpar_rc; in __pSeries_lpar_hpte_find() local
343 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in __pSeries_lpar_hpte_find()
344 if (lpar_rc != H_SUCCESS) { in __pSeries_lpar_hpte_find()
346 hpte_group, lpar_rc); in __pSeries_lpar_hpte_find()
383 unsigned long lpar_rc, slot, vsid, flags; in pSeries_lpar_hpte_updateboltedpp() local
396 lpar_rc = plpar_pte_protect(flags, slot, 0); in pSeries_lpar_hpte_updateboltedpp()
398 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_updateboltedpp()
406 unsigned long lpar_rc; in pSeries_lpar_hpte_invalidate() local
413 lpar_rc = plpar_pte_remove(H_AVPN, slot, want_v, &dummy1, &dummy2); in pSeries_lpar_hpte_invalidate()
414 if (lpar_rc == H_NOT_FOUND) in pSeries_lpar_hpte_invalidate()
417 BUG_ON(lpar_rc != H_SUCCESS); in pSeries_lpar_hpte_invalidate()