Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Dmmu_context_nohash.c85 static unsigned int next_context, nr_free_contexts; variable
198 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT; in steal_all_contexts()
250 if (nrf != nr_free_contexts) { in context_check_map()
252 nr_free_contexts, nrf); in context_check_map()
253 nr_free_contexts = nrf; in context_check_map()
310 if (nr_free_contexts == 0) { in switch_mmu_context()
325 nr_free_contexts--; in switch_mmu_context()
337 pr_hardcont(" | new id=%d,nrf=%d", id, nr_free_contexts); in switch_mmu_context()
413 nr_free_contexts++; in destroy_context()
487 nr_free_contexts = LAST_CONTEXT - FIRST_CONTEXT + 1; in mmu_context_init()
/Linux-v4.19/arch/microblaze/include/asm/
Dmmu_context_mm.h77 extern atomic_t nr_free_contexts;
90 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
116 atomic_inc(&nr_free_contexts); in destroy_context()
/Linux-v4.19/arch/microblaze/mm/
Dmmu_context.c35 atomic_t nr_free_contexts; variable
49 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
/Linux-v4.19/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()
/Linux-v4.19/arch/m68k/mm/
Dmcfmmu.c30 atomic_t nr_free_contexts; variable
198 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in cf_mmu_context_init()