Searched refs:ia64_ctx (Results 1 – 3 of 3) sorted by relevance
29 struct ia64_ctx ia64_ctx = { variable42 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 …]
29 struct ia64_ctx { struct36 extern struct ia64_ctx ia64_ctx; argument71 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()
738 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()