Lines Matching refs:asids
58 * Initially, assign asids sequentially from MIN_ASID .. MAX_ASID.
60 * some asids may still be in use. There won't be many (percentage wise) still
63 * This defines a block of assignable asids.
66 * next block of assignable asids.
71 * the search for in-use asids only checks contexts with GRUs currently
72 * assigned, asids in some contexts will be missed. Prior to loading
92 /* Find the next chunk of unused asids */
228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid];
233 asid = asids->mt_asid;
236 if (asid == 0 || (asids->mt_ctxbitmap == 0 && asids->mt_asid_gen !=
239 asids->mt_asid = asid;
240 asids->mt_asid_gen = gru->gs_asid_gen;
247 BUG_ON(asids->mt_ctxbitmap & ctxbitmap);
248 asids->mt_ctxbitmap |= ctxbitmap;
264 struct gru_mm_tracker *asids;
267 asids = &gms->ms_asids[gru->gs_gid];
271 BUG_ON((asids->mt_ctxbitmap & ctxbitmap) != ctxbitmap);
272 asids->mt_ctxbitmap ^= ctxbitmap;