Searched refs:context_id (Results 1 – 6 of 6) sorted by relevance
68 extern void __destroy_context(int context_id);75 int context_id; in alloc_extended_context() local79 context_id = hash__alloc_context_id(); in alloc_extended_context()80 if (context_id < 0) in alloc_extended_context()81 return context_id; in alloc_extended_context()84 mm->context.extended_id[index] = context_id; in alloc_extended_context()85 return context_id; in alloc_extended_context()90 int context_id; in need_extra_context() local92 context_id = get_user_context(&mm->context, ea); in need_extra_context()93 if (!context_id) in need_extra_context()[all …]
123 int context_id[SID_CONTEXTS]; member
220 void __destroy_context(int context_id) in __destroy_context() argument222 ida_free(&mmu_context_ida, context_id); in __destroy_context()232 int index, context_id; in destroy_contexts() local235 context_id = ctx->extended_id[index]; in destroy_contexts()236 if (context_id) in destroy_contexts()237 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()
351 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr()367 vcpu3s->context_id[i] = err; in kvmppc_mmu_init_pr()387 if (!vcpu3s->context_id[j]) in kvmppc_mmu_init_pr()390 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init_pr()
386 __destroy_context(to_book3s(vcpu)->context_id[0]); in kvmppc_mmu_destroy_pr()397 vcpu3s->context_id[0] = err; in kvmppc_mmu_init_pr()399 vcpu3s->proto_vsid_max = ((u64)(vcpu3s->context_id[0] + 1) in kvmppc_mmu_init_pr()401 vcpu3s->proto_vsid_first = (u64)vcpu3s->context_id[0] << ESID_BITS; in kvmppc_mmu_init_pr()
Completed in 9 milliseconds