Lines Matching refs:index
35 int index; in __init_new_context() local
43 err = ida_get_new_above(&mmu_context_ida, 1, &index); in __init_new_context()
51 if (index > MAX_USER_CONTEXT) { in __init_new_context()
53 ida_remove(&mmu_context_ida, index); in __init_new_context()
58 return index; in __init_new_context()
64 int index; in init_new_context() local
66 index = __init_new_context(); in init_new_context()
67 if (index < 0) in init_new_context()
68 return index; in init_new_context()
77 mm->context.id = index; in init_new_context()
81 __destroy_context(index); in init_new_context()