Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dmmu_context_nohash.c58 static unsigned int next_context, nr_free_contexts; variable
166 nr_free_contexts = last_context - first_context; in steal_all_contexts()
214 if (nrf != nr_free_contexts) { in context_check_map()
216 nr_free_contexts, nrf); in context_check_map()
217 nr_free_contexts = nrf; in context_check_map()
271 if (nr_free_contexts == 0) { in switch_mmu_context()
286 nr_free_contexts--; in switch_mmu_context()
298 pr_hardcont(" | new id=%d,nrf=%d", id, nr_free_contexts); in switch_mmu_context()
375 nr_free_contexts++; in destroy_context()
489 nr_free_contexts = last_context - first_context + 1; in mmu_context_init()
/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()
/arch/microblaze/include/asm/
Dmmu_context_mm.h76 extern atomic_t nr_free_contexts;
89 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
115 atomic_inc(&nr_free_contexts); in destroy_context()
/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()
/arch/m68k/mm/
Dmcfmmu.c29 atomic_t nr_free_contexts; variable
197 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()