Home
last modified time | relevance | path

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

/linux-6.1.9/arch/ia64/include/asm/
Dmmu_context.h40 unsigned int max_ctx; /* max. context value supported by all CPUs */ member
90 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
92 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
93 if (ia64_ctx.next >= ia64_ctx.max_ctx) in get_mmu_context()
/linux-6.1.9/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()
/linux-6.1.9/arch/ia64/kernel/
Dsetup.c940 unsigned int max_ctx; in cpu_init() local
1046 max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; in cpu_init()
1050 max_ctx = (1U << 15) - 1; /* use architected minimum */ in cpu_init()
1052 while (max_ctx < ia64_ctx.max_ctx) { in cpu_init()
1053 unsigned int old = ia64_ctx.max_ctx; in cpu_init()
1054 if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old) in cpu_init()