Lines Matching refs:ia64_ctx
36 struct ia64_ctx { struct
46 extern struct ia64_ctx ia64_ctx; argument
65 spin_lock_irqsave(&ia64_ctx.lock, flags); in delayed_tlb_flush()
70 spin_unlock_irqrestore(&ia64_ctx.lock, flags); in delayed_tlb_flush()
83 spin_lock_irqsave(&ia64_ctx.lock, flags); in get_mmu_context()
88 if (ia64_ctx.next >= ia64_ctx.limit) { in get_mmu_context()
89 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, in get_mmu_context()
90 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
91 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap, 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()
96 mm->context = context = ia64_ctx.next++; in get_mmu_context()
97 __set_bit(context, ia64_ctx.bitmap); in get_mmu_context()
99 spin_unlock_irqrestore(&ia64_ctx.lock, flags); in get_mmu_context()