Searched refs:context_id (Results 1 – 6 of 6) sorted by relevance
74 extern void __destroy_context(int context_id);80 int context_id; in alloc_extended_context() local84 context_id = hash__alloc_context_id(); in alloc_extended_context()85 if (context_id < 0) in alloc_extended_context()86 return context_id; in alloc_extended_context()89 mm->context.extended_id[index] = context_id; in alloc_extended_context()90 return context_id; in alloc_extended_context()95 int context_id; in need_extra_context() local97 context_id = get_user_context(&mm->context, ea); in need_extra_context()98 if (!context_id) in need_extra_context()[all …]
122 int context_id[SID_CONTEXTS]; member
207 void __destroy_context(int context_id) in __destroy_context() argument209 ida_free(&mmu_context_ida, context_id); in __destroy_context()215 int index, context_id; in destroy_contexts() local218 context_id = ctx->extended_id[index]; in destroy_contexts()219 if (context_id) in destroy_contexts()220 ida_free(&mmu_context_ida, context_id); in destroy_contexts()
56 u64 context_id, asid; in a15_erratum_get_cpumask() local59 context_id = mm->context.id.counter; in a15_erratum_get_cpumask()70 if (context_id == asid) in a15_erratum_get_cpumask()
352 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr()371 vcpu3s->context_id[i] = err; in kvmppc_mmu_init()391 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init()394 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init()
384 __destroy_context(to_book3s(vcpu)->context_id[0]); in kvmppc_mmu_destroy_pr()395 vcpu3s->context_id[0] = err; in kvmppc_mmu_init()397 vcpu3s->proto_vsid_max = ((u64)(vcpu3s->context_id[0] + 1) in kvmppc_mmu_init()399 vcpu3s->proto_vsid_first = (u64)vcpu3s->context_id[0] << ESID_BITS; in kvmppc_mmu_init()