Searched refs:locknum (Results 1 – 1 of 1) sorted by relevance
48 int locknum; in my_lock() local56 locknum = 0; in my_lock()60 locknum = 1; in my_lock()64 locknum = 2; in my_lock()72 if(locks[locknum]) { in my_lock()76 locks[locknum]++; in my_lock()87 int locknum; in my_unlock() local92 locknum = 0; in my_unlock()96 locknum = 1; in my_unlock()100 locknum = 2; in my_unlock()[all …]