Searched refs:ia64_ctx (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/arch/ia64/include/asm/ |
D | mmu_context.h | 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() [all …]
|
D | tlbflush.h | 82 set_bit(mm->context, ia64_ctx.flushmap); in flush_tlb_mm()
|
/linux-6.6.21/arch/ia64/mm/ |
D | tlb.c | 42 struct ia64_ctx ia64_ctx = { variable 43 .lock = __SPIN_LOCK_UNLOCKED(ia64_ctx.lock), 62 ia64_ctx.bitmap = memblock_alloc((ia64_ctx.max_ctx + 1) >> 3, in mmu_context_init() 64 if (!ia64_ctx.bitmap) in mmu_context_init() 66 (ia64_ctx.max_ctx + 1) >> 3); in mmu_context_init() 67 ia64_ctx.flushmap = memblock_alloc((ia64_ctx.max_ctx + 1) >> 3, in mmu_context_init() 69 if (!ia64_ctx.flushmap) in mmu_context_init() 71 (ia64_ctx.max_ctx + 1) >> 3); in mmu_context_init() 83 for (i=0; i <= ia64_ctx.max_ctx / BITS_PER_LONG; i++) { in wrap_mmu_context() 84 flush_bit = xchg(&ia64_ctx.flushmap[i], 0); in wrap_mmu_context() [all …]
|
/linux-6.6.21/arch/ia64/kernel/ |
D | setup.c | 1052 while (max_ctx < ia64_ctx.max_ctx) { in cpu_init() 1053 unsigned int old = ia64_ctx.max_ctx; in cpu_init() 1054 if (cmpxchg(&ia64_ctx.max_ctx, old, max_ctx) == old) in cpu_init()
|