Lines Matching refs:gru

141 static void get_clear_fault_map(struct gru_state *gru,  in get_clear_fault_map()  argument
148 tfm = get_tfm_for_cpu(gru, gru_cpu_fault_map_id()); in get_clear_fault_map()
309 static void gru_preload_tlb(struct gru_state *gru, in gru_preload_tlb() argument
338 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, in gru_preload_tlb()
355 static int gru_try_dropin(struct gru_state *gru, in gru_try_dropin() argument
428 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe); in gru_try_dropin()
439 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, vaddr, asid, in gru_try_dropin()
521 struct gru_state *gru; in gru_intr() local
530 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()
531 if (!gru) { in gru_intr()
536 get_clear_fault_map(gru, &imap, &dmap); in gru_intr()
539 smp_processor_id(), chiplet, gru->gs_gid, in gru_intr()
545 cmp = gru->gs_blade->bs_async_wq; in gru_intr()
549 gru->gs_gid, cbrnum, cmp ? cmp->done : -1); in gru_intr()
554 tfh = get_tfh_by_index(gru, cbrnum); in gru_intr()
564 gts = gru->gs_gts[ctxnum]; in gru_intr()
579 gru_try_dropin(gru, gts, tfh, NULL); in gru_intr()
745 struct gru_state *gru; in gru_unload_all_contexts() local
751 gru = GID_TO_GRU(gid); in gru_unload_all_contexts()
752 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()
754 gts = gru->gs_gts[ctxnum]; in gru_unload_all_contexts()
756 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()
759 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()
762 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()