Home
last modified time | relevance | path

Searched refs:recursive_lock (Results 1 – 25 of 52) sorted by relevance

123

/haiku/src/system/libroot/os/locks/
H A Drecursive_lock.cpp21 __recursive_lock_get_recursion(recursive_lock *lock) in __recursive_lock_get_recursion()
31 __recursive_lock_init(recursive_lock *lock, const char *name) in __recursive_lock_init()
38 __recursive_lock_init_etc(recursive_lock *lock, const char *name, uint32 flags) in __recursive_lock_init_etc()
47 __recursive_lock_destroy(recursive_lock *lock) in __recursive_lock_destroy()
57 __recursive_lock_lock(recursive_lock *lock) in __recursive_lock_lock()
72 __recursive_lock_unlock(recursive_lock *lock) in __recursive_lock_unlock()
/haiku/headers/private/shared/
H A Dlocks.h69 typedef struct recursive_lock { struct
73 } recursive_lock; argument
86 void __recursive_lock_init(recursive_lock *lock, const char *name);
87 void __recursive_lock_init_etc(recursive_lock *lock, const char *name,
89 void __recursive_lock_destroy(recursive_lock *lock);
90 status_t __recursive_lock_lock(recursive_lock *lock);
91 void __recursive_lock_unlock(recursive_lock *lock);
92 int32 __recursive_lock_get_recursion(recursive_lock *lock);
125 inline bool Lock(recursive_lock *lockable) in Lock()
130 inline void Unlock(recursive_lock *lockable) in Unlock()
[all …]
/haiku/headers/private/kernel/
H A Dlock.h36 typedef struct recursive_lock { struct
44 } recursive_lock; argument
125 extern void recursive_lock_init(recursive_lock *lock, const char *name);
127 extern void recursive_lock_init_etc(recursive_lock *lock, const char *name,
129 extern void recursive_lock_destroy(recursive_lock *lock);
130 extern status_t recursive_lock_lock(recursive_lock *lock);
131 extern status_t recursive_lock_trylock(recursive_lock *lock);
132 extern void recursive_lock_unlock(recursive_lock *lock);
133 extern status_t recursive_lock_switch_lock(recursive_lock* from,
134 recursive_lock* to);
[all …]
H A Dcondition_variable.h21 struct recursive_lock;
73 status_t Wait(recursive_lock* lock, uint32 flags = 0, bigtime_t timeout = 0);
H A Dkdevice_manager.h25 recursive_lock* device_manager_get_lock();
/haiku/headers/private/userlandfs/shared/
H A DRecursiveLock.h59 const_cast<recursive_lock*>(&fLock)); in CountLocks()
64 recursive_lock fLock;
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DVolume.h170 recursive_lock& AttributeIteratorLocker() { return fAttributeIteratorLocker; } in AttributeIteratorLocker()
190 recursive_lock fIteratorLocker;
191 recursive_lock fAttributeIteratorLocker;
193 recursive_lock fQueryLocker;
/haiku/src/system/kernel/locks/
H A Dlock.cpp55 recursive_lock_get_recursion(recursive_lock *lock) in recursive_lock_get_recursion()
65 recursive_lock_init(recursive_lock *lock, const char *name) in recursive_lock_init()
72 recursive_lock_init_etc(recursive_lock *lock, const char *name, uint32 flags) in recursive_lock_init_etc()
83 recursive_lock_destroy(recursive_lock *lock) in recursive_lock_destroy()
93 recursive_lock_lock(recursive_lock *lock) in recursive_lock_lock()
117 recursive_lock_trylock(recursive_lock *lock) in recursive_lock_trylock()
144 recursive_lock_unlock(recursive_lock *lock) in recursive_lock_unlock()
159 recursive_lock_switch_lock(recursive_lock* from, recursive_lock* to) in recursive_lock_switch_lock()
201 recursive_lock_switch_from_mutex(mutex* from, recursive_lock* to) in recursive_lock_switch_from_mutex()
231 recursive_lock_switch_from_read_lock(rw_lock* from, recursive_lock* to) in recursive_lock_switch_from_read_lock()
[all …]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.h58 recursive_lock& Lock() { return fLock; } in Lock()
81 recursive_lock fLock;
/haiku/src/add-ons/kernel/network/stack/
H A Ddevice_interfaces.h41 recursive_lock monitor_lock;
45 recursive_lock receive_lock;
H A Ddomains.h24 recursive_lock lock;
H A Dinterfaces.h145 recursive_lock& Lock() { return fLock; } in Lock()
171 recursive_lock fLock;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A D_mutex.h21 recursive_lock recursive;
/haiku/headers/private/kernel/util/
H A DAutoLock.h56 inline bool Lock(recursive_lock *lockable) in Lock()
61 inline void Unlock(recursive_lock *lockable) in Unlock()
67 typedef AutoLocker<recursive_lock, RecursiveLockLocking> RecursiveLocker;
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_platform.h14 #define pthread_mutex_t recursive_lock
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlock.cpp118 recursive_lock_get_recursion(recursive_lock *lock) in recursive_lock_get_recursion()
128 recursive_lock_init(recursive_lock *lock, const char *name) in recursive_lock_init()
137 recursive_lock_init_etc(recursive_lock *lock, const char *name, uint32 flags) in recursive_lock_init_etc()
146 recursive_lock_destroy(recursive_lock *lock) in recursive_lock_destroy()
156 recursive_lock_lock(recursive_lock *lock) in recursive_lock_lock()
173 recursive_lock_trylock(recursive_lock *lock) in recursive_lock_trylock()
193 recursive_lock_unlock(recursive_lock *lock) in recursive_lock_unlock()
/haiku/src/add-ons/kernel/generic/tty/
H A Dtty_private.h140 recursive_lock* lock;
148 extern struct recursive_lock gTTYRequestLock;
H A Dmodule.cpp21 struct recursive_lock gTTYRequestLock;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DJournal.h35 recursive_lock fLock;
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.h43 recursive_lock io_lock;
/haiku/src/system/kernel/messaging/
H A DMessagingService.h78 recursive_lock fLock;
/haiku/src/system/libroot/os/
H A DJamfile49 recursive_lock.cpp
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInode.h41 recursive_lock& SmallDataLock() { return fSmallDataLock; } in SmallDataLock()
170 mutable recursive_lock fSmallDataLock;
/haiku/headers/private/kernel/disk_device_manager/
H A DKDiskDeviceManager.h136 recursive_lock fLock;
/haiku/src/servers/app/drawing/
H A DAlphaMask.h77 recursive_lock fLock;

123