Lines Matching refs:thread
303 void *thread = current_thread();
306 if (cp->lockowner == thread) {
307 /* this thread is already holding an exclusive lock, so bump the count */
312 cp->lockowner = thread;
326 void *thread = current_thread();
328 if (cp->lockowner == thread) {
329 /* this thread is already holding an exclusive lock, so bump the count */
333 cp->lockowner = thread;
344 void *thread = current_thread();
346 if (cp->lockowner == thread) {
347 /* this thread is holding an exclusive lock, so decrement the count */