Home
last modified time | relevance | path

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

/arch/ia64/include/asm/
Dmmu_context.h38 unsigned int max_ctx; /* max. context value supported by all CPUs */ member
93 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
95 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
96 if (ia64_ctx.next >= ia64_ctx.max_ctx) in get_mmu_context()
/arch/ia64/mm/
Dtlb.c45 .max_ctx = ~0U
62 ia64_ctx.bitmap = alloc_bootmem((ia64_ctx.max_ctx+1)>>3); in mmu_context_init()
63 ia64_ctx.flushmap = alloc_bootmem((ia64_ctx.max_ctx+1)>>3); in mmu_context_init()
75 for (i=0; i <= ia64_ctx.max_ctx / BITS_PER_LONG; i++) { in wrap_mmu_context()
82 ia64_ctx.max_ctx, 300); in wrap_mmu_context()
84 ia64_ctx.max_ctx, ia64_ctx.next); in wrap_mmu_context()
/arch/ia64/kernel/
Dsetup.c925 unsigned int max_ctx; in cpu_init() local
1031 max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; in cpu_init()
1035 max_ctx = (1U << 15) - 1; /* use architected minimum */ in cpu_init()
1037 while (max_ctx < ia64_ctx.max_ctx) { in cpu_init()
1038 unsigned int old = ia64_ctx.max_ctx; in cpu_init()
1039 if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old) in cpu_init()