Lines Matching refs:ngts
394 struct gru_thread_state *gts, *ngts;
404 ngts = gru_find_current_gts_nolock(vdata, tsid);
405 if (ngts) {
407 gts = ngts;
779 struct gru_thread_state *ngts = NULL;
808 ngts = gru->gs_gts[ctxnum];
815 if (ngts && is_gts_stealable(ngts, blade))
817 ngts = NULL;
820 if (ngts || (flag && gru == gru0 && ctxnum == ctxnum0))
831 if (ngts) {
833 ngts->ts_steal_jiffies = jiffies;
834 gru_unload_context(ngts, is_kernel_context(ngts) ? 0 : 1);
835 gts_stolen(ngts, blade);
842 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map),