Lines Matching defs:index
94 int index;
134 index = realloc_context_ids(&mm->context);
135 if (index < 0) {
140 return index;
144 return index;
157 int index, max_id;
160 index = alloc_context_id(mmu_base_pid, max_id);
161 if (index < 0)
162 return index;
168 process_tb[index].prtb0 = cpu_to_be64(rts_field | __pa(mm->pgd) | RADIX_PGD_INDEX_SIZE);
180 return index;
185 int index;
188 index = radix__init_new_context(mm);
190 index = hash__init_new_context(mm);
192 if (index < 0)
193 return index;
195 mm->context.id = index;
216 int index, context_id;
218 for (index = 0; index < ARRAY_SIZE(ctx->extended_id); index++) {
219 context_id = ctx->extended_id[index];