Lines Matching refs:asid
51 static void set_mm_context(struct mm_struct *mm, unsigned int asid)
67 mm->context.id = asid;
84 unsigned int asid;
96 asid = cpu_last_asid + cpu + 1;
99 set_mm_context(mm, asid);
108 static inline void set_mm_context(struct mm_struct *mm, unsigned int asid)
110 mm->context.id = asid;
118 unsigned int asid;
137 asid = ++cpu_last_asid;
138 if (asid == 0)
139 asid = cpu_last_asid = ASID_FIRST_VERSION;
145 if (unlikely((asid & ~ASID_MASK) == 0)) {
146 asid = cpu_last_asid + smp_processor_id() + 1;
155 set_mm_context(mm, asid);