Lines Matching refs:tgh
78 struct gru_tlb_global_handle *tgh; in get_lock_tgh_handle() local
86 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle()
87 lock_tgh_handle(tgh); in get_lock_tgh_handle()
89 return tgh; in get_lock_tgh_handle()
92 static void get_unlock_tgh_handle(struct gru_tlb_global_handle *tgh) in get_unlock_tgh_handle() argument
94 unlock_tgh_handle(tgh); in get_unlock_tgh_handle()
163 struct gru_tlb_global_handle *tgh; in gru_flush_tlb_range() local
189 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range()
190 tgh_invalidate(tgh, start, ~0, asid, grupagesize, 0, in gru_flush_tlb_range()
192 get_unlock_tgh_handle(tgh); in gru_flush_tlb_range()
211 struct gru_tlb_global_handle *tgh; in gru_flush_all_tlb() local
214 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb()
215 tgh_invalidate(tgh, 0, ~0, 0, 1, 1, GRUMAXINVAL - 1, 0xffff); in gru_flush_all_tlb()
216 get_unlock_tgh_handle(tgh); in gru_flush_all_tlb()