Lines Matching refs:stale_map
74 static unsigned long *stale_map[NR_CPUS]; variable
130 if (stale_map[i]) in steal_context_smp()
131 __set_bit(id, stale_map[i]); in steal_context_smp()
166 __clear_bit(id, stale_map[cpu]); in steal_all_contexts()
198 __clear_bit(id, stale_map[cpu]); in steal_context_up()
291 if (IS_ENABLED(CONFIG_SMP) && test_bit(id, stale_map[cpu])) { in switch_mmu_context()
297 if (stale_map[i]) in switch_mmu_context()
298 __clear_bit(id, stale_map[i]); in switch_mmu_context()
355 stale_map[cpu] = kzalloc(CTX_MAP_SIZE, GFP_KERNEL); in mmu_ctx_cpu_prepare()
365 kfree(stale_map[cpu]); in mmu_ctx_cpu_dead()
366 stale_map[cpu] = NULL; in mmu_ctx_cpu_dead()
398 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
399 if (!stale_map[boot_cpuid]) in mmu_context_init()