Lines Matching refs:ia64_ctx
42 struct ia64_ctx ia64_ctx = {
43 .lock = __SPIN_LOCK_UNLOCKED(ia64_ctx.lock),
55 * Initializes the ia64_ctx.bitmap array based on max_ctx+1.
56 * Called after cpu_init() has setup ia64_ctx.max_ctx based on
62 ia64_ctx.bitmap = alloc_bootmem((ia64_ctx.max_ctx+1)>>3);
63 ia64_ctx.flushmap = alloc_bootmem((ia64_ctx.max_ctx+1)>>3);
67 * Acquire the ia64_ctx.lock before calling this function!
75 for (i=0; i <= ia64_ctx.max_ctx / BITS_PER_LONG; i++) {
76 flush_bit = xchg(&ia64_ctx.flushmap[i], 0);
77 ia64_ctx.bitmap[i] ^= flush_bit;
81 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap,
82 ia64_ctx.max_ctx, 300);
83 ia64_ctx.limit = find_next_bit(ia64_ctx.bitmap,
84 ia64_ctx.max_ctx, ia64_ctx.next);