Lines Matching refs:gru_state
84 static int gru_wrap_asid(struct gru_state *gru) in gru_wrap_asid()
93 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit()
137 static int gru_assign_asid(struct gru_state *gru) in gru_assign_asid()
172 unsigned long gru_reserve_cb_resources(struct gru_state *gru, int cbr_au_count, in gru_reserve_cb_resources()
179 unsigned long gru_reserve_ds_resources(struct gru_state *gru, int dsr_au_count, in gru_reserve_ds_resources()
186 static void reserve_gru_resources(struct gru_state *gru, in reserve_gru_resources()
197 static void free_gru_resources(struct gru_state *gru, in free_gru_resources()
212 static int check_gru_resources(struct gru_state *gru, int cbr_au_count, in check_gru_resources()
224 static int gru_load_mm_tracker(struct gru_state *gru, in gru_load_mm_tracker()
260 static void gru_unload_mm_tracker(struct gru_state *gru, in gru_unload_mm_tracker()
426 struct gru_state *gru; in gru_free_gru_context()
544 struct gru_state *gru = gts->ts_gru; in gru_unload_context()
580 struct gru_state *gru = gts->ts_gru; in gru_load_context()
648 struct gru_state *gru = gts->ts_gru; in gru_update_cch()
699 static int gru_check_chiplet_assignment(struct gru_state *gru, in gru_check_chiplet_assignment()
721 struct gru_state *gru; in gru_check_context_placement()
782 struct gru_state *gru, *gru0; in gru_steal_context()
853 static int gru_assign_context_number(struct gru_state *gru) in gru_assign_context_number()
865 struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts) in gru_assign_gru_context()
867 struct gru_state *gru, *grux; in gru_assign_gru_context()