Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/mm/nohash/
Dmmu_context.c72 static unsigned int next_context, nr_free_contexts; variable
172 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
260 if (nr_free_contexts == 0) { in switch_mmu_context()
273 nr_free_contexts--; in switch_mmu_context()
342 nr_free_contexts++; in destroy_context()
421 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()
/linux-6.12.1/arch/microblaze/include/asm/
Dmmu_context_mm.h70 extern atomic_t nr_free_contexts;
83 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
110 atomic_inc(&nr_free_contexts); in destroy_context()
/linux-6.12.1/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()
/linux-6.12.1/arch/m68k/include/asm/
Dmmu_context.h24 extern atomic_t nr_free_contexts;
34 while (arch_atomic_dec_and_test_lt(&nr_free_contexts)) { in get_mmu_context()
35 atomic_inc(&nr_free_contexts); in get_mmu_context()
63 atomic_inc(&nr_free_contexts); in destroy_context()
/linux-6.12.1/arch/m68k/mm/
Dmcfmmu.c29 atomic_t nr_free_contexts; variable
203 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()