Home
last modified time | relevance | path

Searched refs:mmu_context_queue (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/include/asm-ppc64/
Dmmu_context.h43 extern struct mmu_context_queue_t mmu_context_queue;
74 spin_lock_irqsave(&mmu_context_queue.lock, flags); in init_new_context()
76 if ( (size = mmu_context_queue.size) <= 0 ) { in init_new_context()
77 spin_unlock_irqrestore(&mmu_context_queue.lock, flags); in init_new_context()
81 head = mmu_context_queue.head; in init_new_context()
82 mm->context = mmu_context_queue.elements[head]; in init_new_context()
85 mmu_context_queue.head = head; in init_new_context()
86 mmu_context_queue.size = size-1; in init_new_context()
88 spin_unlock_irqrestore(&mmu_context_queue.lock, flags); in init_new_context()
99 long index, size = mmu_context_queue.size; in destroy_context()
[all …]
/linux-2.4.37.9/arch/ppc64/mm/
Dinit.c70 struct mmu_context_queue_t mmu_context_queue; variable
454 mmu_context_queue.lock = SPIN_LOCK_UNLOCKED; in mm_init_ppc64()
455 mmu_context_queue.head = 0; in mm_init_ppc64()
456 mmu_context_queue.tail = NUM_USER_CONTEXT-1; in mm_init_ppc64()
457 mmu_context_queue.size = NUM_USER_CONTEXT; in mm_init_ppc64()
459 mmu_context_queue.elements[index] = index+FIRST_USER_CONTEXT; in mm_init_ppc64()