Searched refs:vmlock (Results 1 – 2 of 2) sorted by relevance
4 static volatile int vmlock[2]; variable5 volatile int *const __vmlock_lockptr = vmlock;10 while ((tmp=vmlock[0])) in __vm_wait()11 __wait(vmlock, vmlock+1, tmp, 1); in __vm_wait()16 a_inc(vmlock); in __vm_lock()21 if (a_fetch_add(vmlock, -1)==1 && vmlock[1]) in __vm_unlock()22 __wake(vmlock, -1, 1); in __vm_unlock()
1496 "src/thread/vmlock.c",