Lines Matching refs:tid
81 int (*nested_lock)(int tid, u32 lockset);
82 int (*writelock)(int tid);
85 void (*writeunlock)(int tid);
86 void (*nested_unlock)(int tid, u32 lockset);
87 int (*readlock)(int tid);
89 void (*readunlock)(int tid);
112 static int torture_lock_busted_write_lock(int tid __maybe_unused) in torture_lock_busted_write_lock()
129 static void torture_lock_busted_write_unlock(int tid __maybe_unused) in torture_lock_busted_write_unlock()
187 static int torture_spin_lock_write_lock(int tid __maybe_unused) in torture_spin_lock_write_lock()
214 static void torture_spin_lock_write_unlock(int tid __maybe_unused) in torture_spin_lock_write_unlock()
231 static int torture_spin_lock_write_lock_irq(int tid __maybe_unused) in torture_spin_lock_write_lock_irq()
241 static void torture_lock_spin_write_unlock_irq(int tid __maybe_unused) in torture_lock_spin_write_unlock_irq()
260 static int torture_raw_spin_lock_write_lock(int tid __maybe_unused) in torture_raw_spin_lock_write_lock()
267 static void torture_raw_spin_lock_write_unlock(int tid __maybe_unused) in torture_raw_spin_lock_write_unlock()
284 static int torture_raw_spin_lock_write_lock_irq(int tid __maybe_unused) in torture_raw_spin_lock_write_lock_irq()
294 static void torture_raw_spin_lock_write_unlock_irq(int tid __maybe_unused) in torture_raw_spin_lock_write_unlock_irq()
313 static int torture_rwlock_write_lock(int tid __maybe_unused) in torture_rwlock_write_lock()
335 static void torture_rwlock_write_unlock(int tid __maybe_unused) in torture_rwlock_write_unlock()
341 static int torture_rwlock_read_lock(int tid __maybe_unused) in torture_rwlock_read_lock()
363 static void torture_rwlock_read_unlock(int tid __maybe_unused) in torture_rwlock_read_unlock()
380 static int torture_rwlock_write_lock_irq(int tid __maybe_unused) in torture_rwlock_write_lock_irq()
390 static void torture_rwlock_write_unlock_irq(int tid __maybe_unused) in torture_rwlock_write_unlock_irq()
396 static int torture_rwlock_read_lock_irq(int tid __maybe_unused) in torture_rwlock_read_lock_irq()
406 static void torture_rwlock_read_unlock_irq(int tid __maybe_unused) in torture_rwlock_read_unlock_irq()
436 static int torture_mutex_nested_lock(int tid __maybe_unused, in torture_mutex_nested_lock()
447 static int torture_mutex_lock(int tid __maybe_unused) in torture_mutex_lock()
466 static void torture_mutex_unlock(int tid __maybe_unused) in torture_mutex_unlock()
472 static void torture_mutex_nested_unlock(int tid __maybe_unused, in torture_mutex_nested_unlock()
524 static int torture_ww_mutex_lock(int tid) in torture_ww_mutex_lock() argument
534 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_lock()
568 static void torture_ww_mutex_unlock(int tid) in torture_ww_mutex_unlock() argument
573 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_unlock()
608 static int torture_rtmutex_nested_lock(int tid __maybe_unused, in torture_rtmutex_nested_lock()
619 static int torture_rtmutex_lock(int tid __maybe_unused) in torture_rtmutex_lock()
645 static void torture_rtmutex_unlock(int tid __maybe_unused) in torture_rtmutex_unlock()
659 static void torture_rtmutex_nested_unlock(int tid __maybe_unused, in torture_rtmutex_nested_unlock()
685 static int torture_rwsem_down_write(int tid __maybe_unused) in torture_rwsem_down_write()
704 static void torture_rwsem_up_write(int tid __maybe_unused) in torture_rwsem_up_write()
710 static int torture_rwsem_down_read(int tid __maybe_unused) in torture_rwsem_down_read()
731 static void torture_rwsem_up_read(int tid __maybe_unused) in torture_rwsem_up_read()
761 static int torture_percpu_rwsem_down_write(int tid __maybe_unused) in torture_percpu_rwsem_down_write()
768 static void torture_percpu_rwsem_up_write(int tid __maybe_unused) in torture_percpu_rwsem_up_write()
774 static int torture_percpu_rwsem_down_read(int tid __maybe_unused) in torture_percpu_rwsem_down_read()
781 static void torture_percpu_rwsem_up_read(int tid __maybe_unused) in torture_percpu_rwsem_up_read()
807 int tid = lwsp - cxt.lwsa; in lock_torture_writer() local
834 cxt.cur_ops->nested_lock(tid, lockset_mask); in lock_torture_writer()
837 cxt.cur_ops->writelock(tid); in lock_torture_writer()
850 cxt.cur_ops->writeunlock(tid); in lock_torture_writer()
853 cxt.cur_ops->nested_unlock(tid, lockset_mask); in lock_torture_writer()
870 int tid = lrsp - cxt.lrsa; in lock_torture_reader() local
880 cxt.cur_ops->readlock(tid); in lock_torture_reader()
888 cxt.cur_ops->readunlock(tid); in lock_torture_reader()