Searched refs:mmu_context_queue (Results 1 – 2 of 2) sorted by relevance
43 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 …]
70 struct mmu_context_queue_t mmu_context_queue; variable454 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()