Searched refs:holder (Results 1 - 13 of 13) sorted by relevance

/haiku/src/system/libroot/os/locks/
H A Drecursive_lock.cpp23 if (lock->holder == find_thread(NULL))
40 lock->holder = -1;
61 if (thread != lock->holder) {
63 lock->holder = thread;
74 if (find_thread(NULL) != lock->holder) {
75 debugger("recursive_lock unlocked by non-holder thread!\n");
80 lock->holder = -1;
H A Drw_lock.cpp56 if (lock->holder >= 0)
68 lock->holder = waiter->thread;
93 lock->holder = -1;
126 if (lock->holder == find_thread(NULL)) {
140 if (lock->holder == find_thread(NULL)) {
146 lock->holder = -1;
170 lock->holder = find_thread(NULL);
175 if (lock->holder == find_thread(NULL)) {
186 if (lock->holder != find_thread(NULL)) {
187 debugger("write locked but holder no
[all...]
/haiku/src/tools/fs_shell/
H A Dlock.cpp22 if (lock->holder == fssh_find_thread(NULL))
41 lock->holder = -1;
72 if (thread != lock->holder) {
77 lock->holder = thread;
89 if (thread != lock->holder) {
95 lock->holder = thread;
105 if (fssh_find_thread(NULL) != lock->holder)
106 fssh_panic("recursive_lock %p unlocked by non-holder thread!\n", lock);
109 lock->holder = -1;
122 lock->holder
[all...]
/haiku/src/system/kernel/locks/
H A Dlock.cpp68 lock->holder = -1;
99 lock->holder = thread;
126 lock->holder = thread;
139 panic("recursive_lock %p unlocked by non-holder thread!\n", lock);
143 lock->holder = -1;
164 from->holder = -1;
179 from->holder = thread;
185 to->holder = thread;
215 to->holder = thread;
240 to->holder
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlock.cpp54 as spinlock as that could be expensive in userland (due to spinlock holder
149 lock->holder = thread;
169 lock->holder = thread;
182 panic("recursive_lock %p unlocked by non-holder thread!\n", lock);
186 lock->holder = -1;
231 if (waiter == NULL || lock->holder > 0)
244 lock->holder = get_thread_id(waiter->thread);
279 lock->holder = -1;
293 lock->holder = -1;
313 != lock->holder) {
[all...]
/haiku/headers/private/kernel/
H A Dlock.h26 thread_id holder; member in struct:mutex
39 thread_id holder; member in struct:recursive_lock
53 thread_id holder; member in struct:rw_lock
76 { ASSERT(find_thread(NULL) == (r)->lock.holder); }
77 # define ASSERT_LOCKED_MUTEX(m) { ASSERT(find_thread(NULL) == (m)->holder); }
79 { ASSERT(find_thread(NULL) == (l)->holder); }
115 # define RECURSIVE_LOCK_HOLDER(recursiveLock) ((recursiveLock)->lock.holder)
117 # define RECURSIVE_LOCK_HOLDER(recursiveLock) ((recursiveLock)->holder)
290 lock->holder = thread;
/haiku/headers/private/fs_shell/
H A Dfssh_lock.h20 fssh_thread_id holder; member in struct:fssh_mutex
28 fssh_thread_id holder; member in struct:fssh_recursive_lock
35 fssh_thread_id holder; member in struct:fssh_rw_lock
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Drwlock.h70 if (rwl->lock.holder != find_thread(NULL))
/haiku/headers/private/shared/
H A Dlocks.h41 thread_id holder; member in struct:rw_lock
71 thread_id holder; member in struct:recursive_lock
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmutex.h111 return mutex->u.recursive.lock.holder == find_thread(NULL);
113 return mutex->u.recursive.holder == find_thread(NULL);
/haiku/src/servers/app/
H A DMultiLocker.cpp121 writeLockHolder = (find_thread(NULL) == fLock.holder);
342 "WriteUnlock() - write holder: %" B_PRId32, fWriterThread);
/haiku/src/system/kernel/vm/
H A DVMCache.cpp1460 kprintf(" lock.holder: %" B_PRId32 "\n", fLock.holder);
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DTCPEndpoint.cpp2592 kprintf(" lock: { %p, holder: %" B_PRId32 " }\n", &fLock, fLock.holder);

Completed in 185 milliseconds