Home
last modified time | relevance | path

Searched refs:slb_cache_index (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dslb.c597 int slb_cache_index; in slb_cache_update() local
608 slb_cache_index = local_paca->slb_cache_ptr; in slb_cache_update()
609 if (slb_cache_index < SLB_CACHE_ENTRIES) { in slb_cache_update()
614 local_paca->slb_cache[slb_cache_index++] = esid_data >> SID_SHIFT; in slb_cache_update()
706 int slb_cache_index = local_paca->slb_cache_ptr; in slb_insert_entry() local
715 if (!kernel || slb_cache_index == 3) { in slb_insert_entry()
718 for (i = 0; i < slb_cache_index; i++) in slb_insert_entry()
720 slb_cache_index = 0; in slb_insert_entry()
724 local_paca->slb_cache[slb_cache_index++] = esid_data >> SID_SHIFT; in slb_insert_entry()
725 local_paca->slb_cache_ptr = slb_cache_index; in slb_insert_entry()