Lines Matching refs:ia64_ctx
34 struct ia64_ctx { struct
44 extern struct ia64_ctx ia64_ctx; argument
68 spin_lock_irqsave(&ia64_ctx.lock, flags); in delayed_tlb_flush()
73 spin_unlock_irqrestore(&ia64_ctx.lock, flags); in delayed_tlb_flush()
86 spin_lock_irqsave(&ia64_ctx.lock, flags); in get_mmu_context()
91 if (ia64_ctx.next >= ia64_ctx.limit) { in get_mmu_context()
92 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, in get_mmu_context()
93 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context()
94 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap, 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()
99 mm->context = context = ia64_ctx.next++; in get_mmu_context()
100 __set_bit(context, ia64_ctx.bitmap); in get_mmu_context()
102 spin_unlock_irqrestore(&ia64_ctx.lock, flags); in get_mmu_context()