Lines Matching refs:tgh
65 struct gru_tlb_global_handle *tgh; in get_lock_tgh_handle() local
73 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle()
74 lock_tgh_handle(tgh); in get_lock_tgh_handle()
76 return tgh; in get_lock_tgh_handle()
79 static void get_unlock_tgh_handle(struct gru_tlb_global_handle *tgh) in get_unlock_tgh_handle() argument
81 unlock_tgh_handle(tgh); in get_unlock_tgh_handle()
150 struct gru_tlb_global_handle *tgh; in gru_flush_tlb_range() local
176 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range()
177 tgh_invalidate(tgh, start, ~0, asid, grupagesize, 0, in gru_flush_tlb_range()
179 get_unlock_tgh_handle(tgh); in gru_flush_tlb_range()
198 struct gru_tlb_global_handle *tgh; in gru_flush_all_tlb() local
201 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb()
202 tgh_invalidate(tgh, 0, ~0, 0, 1, 1, GRUMAXINVAL - 1, 0xffff); in gru_flush_all_tlb()
203 get_unlock_tgh_handle(tgh); in gru_flush_all_tlb()