Lines Matching refs:tgh
65 struct gru_tlb_global_handle *tgh; in get_lock_tgh_handle() local
72 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle()
73 lock_tgh_handle(tgh); in get_lock_tgh_handle()
75 return tgh; in get_lock_tgh_handle()
78 static void get_unlock_tgh_handle(struct gru_tlb_global_handle *tgh) in get_unlock_tgh_handle() argument
80 unlock_tgh_handle(tgh); in get_unlock_tgh_handle()
148 struct gru_tlb_global_handle *tgh; in gru_flush_tlb_range() local
174 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range()
175 tgh_invalidate(tgh, start, ~0, asid, grupagesize, 0, in gru_flush_tlb_range()
177 get_unlock_tgh_handle(tgh); in gru_flush_tlb_range()
196 struct gru_tlb_global_handle *tgh; in gru_flush_all_tlb() local
199 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb()
200 tgh_invalidate(tgh, 0, ~0, 0, 1, 1, GRUMAXINVAL - 1, 0xffff); in gru_flush_all_tlb()
201 get_unlock_tgh_handle(tgh); in gru_flush_all_tlb()