Lines Matching refs:idx
28 #define UNIQUE_ENTRYHI(idx) (KSEG0 + ((idx) << (PAGE_SHIFT + 1))) argument
165 int idx; in local_flush_tlb_range() local
170 idx = read_c0_index(); in local_flush_tlb_range()
173 write_c0_entryhi(UNIQUE_ENTRYHI(idx)); in local_flush_tlb_range()
174 if (idx < 0) in local_flush_tlb_range()
193 int oldpid, newpid, idx; in local_flush_tlb_page() local
199 idx = read_c0_index(); in local_flush_tlb_page()
202 if (idx < 0) in local_flush_tlb_page()
205 write_c0_entryhi(UNIQUE_ENTRYHI(idx)); in local_flush_tlb_page()
220 int oldpid, idx; in local_flush_tlb_one() local
228 idx = read_c0_index(); in local_flush_tlb_one()
229 if (idx >= 0) { in local_flush_tlb_one()
231 write_c0_entryhi(UNIQUE_ENTRYHI(idx)); in local_flush_tlb_one()
259 int idx, pid; in __update_tlb() local
275 idx = read_c0_index(); in __update_tlb()
279 if (idx < 0) { in __update_tlb()