Lines Matching refs:tid
139 int (*nested_lock)(int tid, u32 lockset);
140 int (*writelock)(int tid);
143 void (*writeunlock)(int tid);
144 void (*nested_unlock)(int tid, u32 lockset);
145 int (*readlock)(int tid);
147 void (*readunlock)(int tid);
170 static int torture_lock_busted_write_lock(int tid __maybe_unused) in torture_lock_busted_write_lock()
184 static void torture_lock_busted_write_unlock(int tid __maybe_unused) in torture_lock_busted_write_unlock()
242 static int torture_spin_lock_write_lock(int tid __maybe_unused) in torture_spin_lock_write_lock()
268 static void torture_spin_lock_write_unlock(int tid __maybe_unused) in torture_spin_lock_write_unlock()
285 static int torture_spin_lock_write_lock_irq(int tid __maybe_unused) in torture_spin_lock_write_lock_irq()
295 static void torture_lock_spin_write_unlock_irq(int tid __maybe_unused) in torture_lock_spin_write_unlock_irq()
314 static int torture_raw_spin_lock_write_lock(int tid __maybe_unused) in torture_raw_spin_lock_write_lock()
321 static void torture_raw_spin_lock_write_unlock(int tid __maybe_unused) in torture_raw_spin_lock_write_unlock()
338 static int torture_raw_spin_lock_write_lock_irq(int tid __maybe_unused) in torture_raw_spin_lock_write_lock_irq()
348 static void torture_raw_spin_lock_write_unlock_irq(int tid __maybe_unused) in torture_raw_spin_lock_write_unlock_irq()
367 static int torture_rwlock_write_lock(int tid __maybe_unused) in torture_rwlock_write_lock()
387 static void torture_rwlock_write_unlock(int tid __maybe_unused) in torture_rwlock_write_unlock()
393 static int torture_rwlock_read_lock(int tid __maybe_unused) in torture_rwlock_read_lock()
413 static void torture_rwlock_read_unlock(int tid __maybe_unused) in torture_rwlock_read_unlock()
430 static int torture_rwlock_write_lock_irq(int tid __maybe_unused) in torture_rwlock_write_lock_irq()
440 static void torture_rwlock_write_unlock_irq(int tid __maybe_unused) in torture_rwlock_write_unlock_irq()
446 static int torture_rwlock_read_lock_irq(int tid __maybe_unused) in torture_rwlock_read_lock_irq()
456 static void torture_rwlock_read_unlock_irq(int tid __maybe_unused) in torture_rwlock_read_unlock_irq()
486 static int torture_mutex_nested_lock(int tid __maybe_unused, in torture_mutex_nested_lock()
497 static int torture_mutex_lock(int tid __maybe_unused) in torture_mutex_lock()
513 static void torture_mutex_unlock(int tid __maybe_unused) in torture_mutex_unlock()
519 static void torture_mutex_nested_unlock(int tid __maybe_unused, in torture_mutex_nested_unlock()
571 static int torture_ww_mutex_lock(int tid) in torture_ww_mutex_lock() argument
581 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_lock()
615 static void torture_ww_mutex_unlock(int tid) in torture_ww_mutex_unlock() argument
620 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_unlock()
655 static int torture_rtmutex_nested_lock(int tid __maybe_unused, in torture_rtmutex_nested_lock()
666 static int torture_rtmutex_lock(int tid __maybe_unused) in torture_rtmutex_lock()
690 static void torture_rtmutex_unlock(int tid __maybe_unused) in torture_rtmutex_unlock()
704 static void torture_rtmutex_nested_unlock(int tid __maybe_unused, in torture_rtmutex_nested_unlock()
730 static int torture_rwsem_down_write(int tid __maybe_unused) in torture_rwsem_down_write()
746 static void torture_rwsem_up_write(int tid __maybe_unused) in torture_rwsem_up_write()
752 static int torture_rwsem_down_read(int tid __maybe_unused) in torture_rwsem_down_read()
770 static void torture_rwsem_up_read(int tid __maybe_unused) in torture_rwsem_up_read()
800 static int torture_percpu_rwsem_down_write(int tid __maybe_unused) in torture_percpu_rwsem_down_write()
807 static void torture_percpu_rwsem_up_write(int tid __maybe_unused) in torture_percpu_rwsem_up_write()
813 static int torture_percpu_rwsem_down_read(int tid __maybe_unused) in torture_percpu_rwsem_down_read()
820 static void torture_percpu_rwsem_up_read(int tid __maybe_unused) in torture_percpu_rwsem_up_read()
851 int tid = lwsp - cxt.lwsa; in lock_torture_writer() local
875 cxt.cur_ops->nested_lock(tid, lockset_mask); in lock_torture_writer()
880 cxt.cur_ops->writelock(tid); in lock_torture_writer()
898 cxt.cur_ops->writeunlock(tid); in lock_torture_writer()
901 cxt.cur_ops->nested_unlock(tid, lockset_mask); in lock_torture_writer()
918 int tid = lrsp - cxt.lrsa; in lock_torture_reader() local
928 cxt.cur_ops->readlock(tid); in lock_torture_reader()
936 cxt.cur_ops->readunlock(tid); in lock_torture_reader()