Lines Matching refs:gms
227 struct gru_mm_struct *gms = gts->ts_gms; in gru_load_mm_tracker() local
228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker()
232 spin_lock(&gms->ms_asid_lock); in gru_load_mm_tracker()
249 if (!test_bit(gru->gs_gid, gms->ms_asidmap)) in gru_load_mm_tracker()
250 __set_bit(gru->gs_gid, gms->ms_asidmap); in gru_load_mm_tracker()
251 spin_unlock(&gms->ms_asid_lock); in gru_load_mm_tracker()
255 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker()
256 gms->ms_asidmap[0]); in gru_load_mm_tracker()
263 struct gru_mm_struct *gms = gts->ts_gms; in gru_unload_mm_tracker() local
267 asids = &gms->ms_asids[gru->gs_gid]; in gru_unload_mm_tracker()
269 spin_lock(&gms->ms_asid_lock); in gru_unload_mm_tracker()
274 gru->gs_gid, gts, gms, gts->ts_ctxnum, gms->ms_asidmap[0]); in gru_unload_mm_tracker()
276 spin_unlock(&gms->ms_asid_lock); in gru_unload_mm_tracker()
315 struct gru_mm_struct *gms; in gru_alloc_gts() local
342 gms = gru_register_mmu_notifier(); in gru_alloc_gts()
343 if (IS_ERR(gms)) in gru_alloc_gts()
345 gts->ts_gms = gms; in gru_alloc_gts()
353 return ERR_CAST(gms); in gru_alloc_gts()