Home
last modified time | relevance | path

Searched refs:Spinlock_Lock (Results 1 – 15 of 15) sorted by relevance

/sys/kern/
Dsched.c58 Spinlock_Lock(&schedLock); in Sched_Current()
79 Spinlock_Lock(&schedLock); in Sched_SetRunnable()
106 Spinlock_Lock(&schedLock); in Sched_SetWaiting()
139 Spinlock_Lock(&proc->parent->lock); // Guards child list in Sched_SetZombie()
152 Spinlock_Lock(&schedLock); in Sched_SetZombie()
156 Spinlock_Lock(&proc->lock); in Sched_SetZombie()
194 Spinlock_Lock(&schedLock); in Sched_Scheduler()
Dsemaphore.c33 Spinlock_Lock(&semaListLock); in Semaphore_Init()
41 Spinlock_Lock(&semaListLock); in Semaphore_Destroy()
54 Spinlock_Lock(&sema->lock); in Semaphore_Acquire()
76 Spinlock_Lock(&sema->lock); in Semaphore_Release()
91 Spinlock_Lock(&sema->lock); in Semaphore_TryAcquire()
106 Spinlock_Lock(&semaListLock); in Debug_Semaphores()
Dwaitchannel.c34 Spinlock_Lock(&chanListLock); in WaitChannel_Init()
44 Spinlock_Lock(&chanListLock); in WaitChannel_Destroy()
59 Spinlock_Lock(&wchan->lock); in WaitChannel_Lock()
95 Spinlock_Lock(&wchan->lock); in WaitChannel_Wake()
121 Spinlock_Lock(&wchan->lock); in WaitChannel_WakeAll()
Dprocess.c87 Spinlock_Lock(&parent->lock); in Process_Create()
97 Spinlock_Lock(&procLock); in Process_Create()
127 Spinlock_Lock(&procLock); in Process_Destroy()
150 Spinlock_Lock(&procLock); in Process_Lookup()
227 Spinlock_Lock(&proc->lock); in Process_Wait()
236 Spinlock_Lock(&proc->lock); in Process_Wait()
Dspinlock.c55 Spinlock_Lock(&lockListLock); in Spinlock_Init()
63 Spinlock_Lock(&lockListLock); in Spinlock_Destroy()
75 Spinlock_Lock(Spinlock *lock) __NO_LOCK_ANALYSIS in Spinlock_Lock() function
136 Spinlock_Lock(&lockListLock); in Debug_Spinlocks()
Dktimer.c51 Spinlock_Lock(&timerLock); in KTimer_Create()
79 Spinlock_Lock(&timerLock); in KTimer_Cancel()
98 Spinlock_Lock(&timerLock); in KTimer_Process()
Dpalloc.c152 Spinlock_Lock(&pallocLock); in PAlloc_AddRegion()
193 Spinlock_Lock(&pallocLock); in PAlloc_AllocPage()
252 Spinlock_Lock(&pallocLock); in PAlloc_Retain()
269 Spinlock_Lock(&pallocLock); in PAlloc_Release()
Dthread.c116 Spinlock_Lock(&proc->lock); in Thread_Create()
169 Spinlock_Lock(&proc->lock); in Thread_UThreadCreate()
184 Spinlock_Lock(&proc->lock); in Thread_UThreadCreate()
204 Spinlock_Lock(&proc->lock); in Thread_Destroy()
234 Spinlock_Lock(&proc->lock); in Thread_Lookup()
Dktime.c165 Spinlock_Lock(&ktimeLock); in KTime_SetTime()
185 Spinlock_Lock(&ktimeLock); in KTime_GetEpoch()
199 Spinlock_Lock(&ktimeLock); in KTime_GetEpochNS()
Dbufcache.c182 Spinlock_Lock(&cacheLock); in BufCache_Alloc()
207 Spinlock_Lock(&cacheLock); in BufCache_Release()
235 Spinlock_Lock(&cacheLock); in BufCache_Read()
Dslab.c109 Spinlock_Lock(&slab->lock); in Slab_Alloc()
137 Spinlock_Lock(&slab->lock); in Slab_Free()
/sys/dev/
Dconsole.c50 Spinlock_Lock(&consoles.keyLock); in Console_Getc()
77 Spinlock_Lock(&consoles.keyLock); in Console_EnqueueKey()
133 Spinlock_Lock(&consoleLock); in Console_Putc()
143 Spinlock_Lock(&consoleLock); in Console_Puts()
De1000.c324 Spinlock_Lock(&dev->lock); in E1000_Dequeue()
/sys/include/
Dspinlock.h38 void Spinlock_Lock(Spinlock *lock) __LOCK_EX(*lock);
/sys/dev/x86/
Dide.c100 Spinlock_Lock(&primary.lock); in IDE_Init()
329 Spinlock_Lock(&ide->lock); in IDE_Flush()
358 Spinlock_Lock(&ide->lock); in IDE_ReadOne()
432 Spinlock_Lock(&ide->lock); in IDE_WriteOne()