Lines Matching refs:asids
70 * Initially, assign asids sequentially from MIN_ASID .. MAX_ASID.
72 * some asids may still be in use. There won't be many (percentage wise) still
75 * This defines a block of assignable asids.
78 * next block of assignable asids.
83 * the search for in-use asids only checks contexts with GRUs currently
84 * assigned, asids in some contexts will be missed. Prior to loading
104 /* Find the next chunk of unused asids */
240 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid];
245 asid = asids->mt_asid;
248 if (asid == 0 || (asids->mt_ctxbitmap == 0 && asids->mt_asid_gen !=
251 asids->mt_asid = asid;
252 asids->mt_asid_gen = gru->gs_asid_gen;
259 BUG_ON(asids->mt_ctxbitmap & ctxbitmap);
260 asids->mt_ctxbitmap |= ctxbitmap;
276 struct gru_mm_tracker *asids;
279 asids = &gms->ms_asids[gru->gs_gid];
283 BUG_ON((asids->mt_ctxbitmap & ctxbitmap) != ctxbitmap);
284 asids->mt_ctxbitmap ^= ctxbitmap;