Lines Matching refs:hpte_group
714 static long pSeries_lpar_hpte_insert(unsigned long hpte_group, in pSeries_lpar_hpte_insert() argument
727 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert()
746 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert()
772 static long pSeries_lpar_hpte_remove(unsigned long hpte_group) in pSeries_lpar_hpte_remove() argument
785 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
912 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
921 for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) { in __pSeries_lpar_hpte_find()
923 lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes); in __pSeries_lpar_hpte_find()
926 hpte_group, lpar_rc); in __pSeries_lpar_hpte_find()
945 unsigned long hpte_group; in pSeries_lpar_hpte_find() local
954 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
955 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
958 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find()
959 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
963 return hpte_group + slot; in pSeries_lpar_hpte_find()