Lines Matching refs:stale_map
73 static unsigned long *stale_map[NR_CPUS]; variable
129 if (stale_map[i]) in steal_context_smp()
130 __set_bit(id, stale_map[i]); in steal_context_smp()
165 __clear_bit(id, stale_map[cpu]); in steal_all_contexts()
197 __clear_bit(id, stale_map[cpu]); in steal_context_up()
293 if (IS_ENABLED(CONFIG_SMP) && test_bit(id, stale_map[cpu])) { in switch_mmu_context()
299 if (stale_map[i]) in switch_mmu_context()
300 __clear_bit(id, stale_map[i]); in switch_mmu_context()
363 stale_map[cpu] = kzalloc(CTX_MAP_SIZE, GFP_KERNEL); in mmu_ctx_cpu_prepare()
373 kfree(stale_map[cpu]); in mmu_ctx_cpu_dead()
374 stale_map[cpu] = NULL; in mmu_ctx_cpu_dead()
406 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
407 if (!stale_map[boot_cpuid]) in mmu_context_init()