Home
last modified time | relevance | path

Searched refs:nr_free_contexts (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dmmu_context.c81 static unsigned int next_context, nr_free_contexts; variable
194 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
246 if (nrf != nr_free_contexts) { in context_check_map()
248 nr_free_contexts, nrf); in context_check_map()
249 nr_free_contexts = nrf; in context_check_map()
306 if (nr_free_contexts == 0) { in switch_mmu_context()
321 nr_free_contexts--; in switch_mmu_context()
333 pr_hardcont(" | new id=%d,nrf=%d", id, nr_free_contexts); in switch_mmu_context()
408 nr_free_contexts++; in destroy_context()
492 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dmmu_context_mm.h74 extern atomic_t nr_free_contexts;
87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
113 atomic_inc(&nr_free_contexts); in destroy_context()
/kernel/linux/linux-5.10/arch/microblaze/mm/
Dmmu_context.c30 atomic_t nr_free_contexts; variable
44 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmmu_context.h28 extern atomic_t nr_free_contexts;
38 while (atomic_dec_and_test_lt(&nr_free_contexts)) { in get_mmu_context()
39 atomic_inc(&nr_free_contexts); in get_mmu_context()
66 atomic_inc(&nr_free_contexts); in destroy_context()
/kernel/linux/linux-5.10/arch/m68k/mm/
Dmcfmmu.c29 atomic_t nr_free_contexts; variable
212 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()