/arch/powerpc/platforms/cell/ |
D | beat_htab.c | 45 static inline unsigned int beat_read_mask(unsigned hpte_group) in beat_read_mask() argument 50 beat_read_htab_entries(0, hpte_group + 0, hpte_v); in beat_read_mask() 59 beat_read_htab_entries(0, hpte_group + 4, hpte_v); in beat_read_mask() 68 hpte_group = ~hpte_group & (htab_hash_mask * HPTES_PER_GROUP); in beat_read_mask() 69 beat_read_htab_entries(0, hpte_group + 0, hpte_v); in beat_read_mask() 78 beat_read_htab_entries(0, hpte_group + 4, hpte_v); in beat_read_mask() 90 static long beat_lpar_hpte_insert(unsigned long hpte_group, in beat_lpar_hpte_insert() argument 104 hpte_group, va, pa, rflags, vflags, psize); in beat_lpar_hpte_insert() 117 lpar_rc = beat_read_mask(hpte_group); in beat_lpar_hpte_insert() 125 lpar_rc = beat_insert_htab_entry(0, hpte_group, lpar_rc << 48, in beat_lpar_hpte_insert() [all …]
|
/arch/powerpc/mm/ |
D | hugepage-hash64.c | 177 unsigned long hpte_group; in __hash_page_thp() local 192 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_thp() 195 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp() 201 hpte_group = ((~hash & htab_hash_mask) * in __hash_page_thp() 203 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, in __hash_page_thp() 208 hpte_group = ((hash & htab_hash_mask) * in __hash_page_thp() 211 ppc_md.hpte_remove(hpte_group); in __hash_page_thp()
|
D | hash_native_64.c | 194 static long native_hpte_insert(unsigned long hpte_group, unsigned long vpn, in native_hpte_insert() argument 198 struct hash_pte *hptep = htab_address + hpte_group; in native_hpte_insert() 205 hpte_group, vpn, pa, rflags, vflags, psize); in native_hpte_insert() 245 static long native_hpte_remove(unsigned long hpte_group) in native_hpte_remove() argument 252 DBG_LOW(" remove(group=%lx)\n", hpte_group); in native_hpte_remove() 258 hptep = htab_address + hpte_group + slot_offset; in native_hpte_remove()
|
D | hash_utils_64.c | 1358 unsigned long hpte_group; in hpte_insert_repeating() local 1362 hpte_group = ((hash & htab_hash_mask) * in hpte_insert_repeating() 1366 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, vflags, in hpte_insert_repeating() 1371 hpte_group = ((~hash & htab_hash_mask) * in hpte_insert_repeating() 1373 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, in hpte_insert_repeating() 1378 hpte_group = ((hash & htab_hash_mask) * in hpte_insert_repeating() 1381 ppc_md.hpte_remove(hpte_group); in hpte_insert_repeating()
|
/arch/powerpc/platforms/ps3/ |
D | htab.c | 47 static long ps3_hpte_insert(unsigned long hpte_group, unsigned long vpn, in ps3_hpte_insert() argument 71 result = lv1_insert_htab_entry(PS3_LPAR_VAS_ID_CURRENT, hpte_group, in ps3_hpte_insert() 80 __func__, ps3_result(result), vpn, pa, hpte_group, in ps3_hpte_insert() 105 static long ps3_hpte_remove(unsigned long hpte_group) in ps3_hpte_remove() argument
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 125 static long pSeries_lpar_hpte_insert(unsigned long hpte_group, in pSeries_lpar_hpte_insert() argument 138 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert() 161 lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot); in pSeries_lpar_hpte_insert() 189 static long pSeries_lpar_hpte_remove(unsigned long hpte_group) in pSeries_lpar_hpte_remove() argument 202 lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset, in pSeries_lpar_hpte_remove()
|
/arch/powerpc/include/asm/ |
D | plpar_wrappers.h | 131 unsigned long hpte_group, unsigned long hpte_v, in plpar_pte_enter() argument 137 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
|
D | machdep.h | 49 long (*hpte_insert)(unsigned long hpte_group, 56 long (*hpte_remove)(unsigned long hpte_group);
|