Home
last modified time | relevance | path

Searched refs:max_ctx (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dmmu_context.h40 unsigned int max_ctx; /* max. context value supported by all CPUs */ member
95 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
97 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
98 if (ia64_ctx.next >= ia64_ctx.max_ctx) in get_mmu_context()
/kernel/linux/linux-5.10/arch/ia64/mm/
Dtlb.c45 .max_ctx = ~0U
62 ia64_ctx.bitmap = memblock_alloc((ia64_ctx.max_ctx + 1) >> 3, in mmu_context_init()
66 (ia64_ctx.max_ctx + 1) >> 3); in mmu_context_init()
67 ia64_ctx.flushmap = memblock_alloc((ia64_ctx.max_ctx + 1) >> 3, in mmu_context_init()
71 (ia64_ctx.max_ctx + 1) >> 3); in mmu_context_init()
83 for (i=0; i <= ia64_ctx.max_ctx / BITS_PER_LONG; i++) { in wrap_mmu_context()
90 ia64_ctx.max_ctx, 300); in wrap_mmu_context()
92 ia64_ctx.max_ctx, ia64_ctx.next); in wrap_mmu_context()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsetup.c944 unsigned int max_ctx; in cpu_init() local
1050 max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; in cpu_init()
1054 max_ctx = (1U << 15) - 1; /* use architected minimum */ in cpu_init()
1056 while (max_ctx < ia64_ctx.max_ctx) { in cpu_init()
1057 unsigned int old = ia64_ctx.max_ctx; in cpu_init()
1058 if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old) in cpu_init()