Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ia64/mm/
Dtlb.c29 struct ia64_ctx ia64_ctx = { variable
42 unsigned long tsk_context, max_ctx = ia64_ctx.max_ctx; in wrap_mmu_context()
46 if (ia64_ctx.next > max_ctx) in wrap_mmu_context()
47 ia64_ctx.next = 300; /* skip daemons */ in wrap_mmu_context()
48 ia64_ctx.limit = max_ctx + 1; in wrap_mmu_context()
60 if (tsk_context == ia64_ctx.next) { in wrap_mmu_context()
61 if (++ia64_ctx.next >= ia64_ctx.limit) { in wrap_mmu_context()
63 if (ia64_ctx.next > max_ctx) in wrap_mmu_context()
64 ia64_ctx.next = 300; in wrap_mmu_context()
65 ia64_ctx.limit = max_ctx + 1; in wrap_mmu_context()
[all …]
/linux-2.4.37.9/include/asm-ia64/
Dmmu_context.h29 struct ia64_ctx { struct
36 extern struct ia64_ctx ia64_ctx; argument
71 spin_lock_irqsave(&ia64_ctx.lock, flags); in get_mmu_context()
76 if (ia64_ctx.next >= ia64_ctx.limit) in get_mmu_context()
78 mm->context = context = ia64_ctx.next++; in get_mmu_context()
81 spin_unlock_irqrestore(&ia64_ctx.lock, flags); in get_mmu_context()
/linux-2.4.37.9/arch/ia64/kernel/
Dsetup.c738 while (max_ctx < ia64_ctx.max_ctx) { in cpu_init()
739 unsigned int old = ia64_ctx.max_ctx; in cpu_init()
740 if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old) in cpu_init()