Home
last modified time | relevance | path

Searched refs:context_id (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/include/asm/
Dmmu_context.h74 extern void __destroy_context(int context_id);
80 int context_id; in alloc_extended_context() local
84 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() local
97 context_id = get_user_context(&mm->context, ea); in need_extra_context()
98 if (!context_id) in need_extra_context()
[all …]
Dkvm_book3s.h122 int context_id[SID_CONTEXTS]; member
/arch/powerpc/mm/book3s64/
Dmmu_context.c207 void __destroy_context(int context_id) in __destroy_context() argument
209 ida_free(&mmu_context_ida, context_id); in __destroy_context()
215 int index, context_id; in destroy_contexts() local
218 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()
/arch/arm/mm/
Dcontext.c56 u64 context_id, asid; in a15_erratum_get_cpumask() local
59 context_id = mm->context.id.counter; in a15_erratum_get_cpumask()
70 if (context_id == asid) in a15_erratum_get_cpumask()
/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c352 __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()
Dbook3s_64_mmu_host.c384 __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()