Lines Matching defs:lock
86 #define lock_protect(lock, area, size) /* nop */ argument
87 #define lock_unprotect(lock, area) /* nop */ argument
88 #define lock_get_mem(lock) (0) /* nothing */ argument
101 #define lock_basic_init(lock) LOCKRET(pthread_mutex_init(lock, NULL)) argument
102 #define lock_basic_destroy(lock) LOCKRET(pthread_mutex_destroy(lock)) argument
103 #define lock_basic_lock(lock) LOCKRET(pthread_mutex_lock(lock)) argument
104 #define lock_basic_unlock(lock) LOCKRET(pthread_mutex_unlock(lock)) argument
109 #define lock_rw_init(lock) LOCKRET(pthread_mutex_init(lock, NULL)) argument
110 #define lock_rw_destroy(lock) LOCKRET(pthread_mutex_destroy(lock)) argument
111 #define lock_rw_rdlock(lock) LOCKRET(pthread_mutex_lock(lock)) argument
112 #define lock_rw_wrlock(lock) LOCKRET(pthread_mutex_lock(lock)) argument
113 #define lock_rw_unlock(lock) LOCKRET(pthread_mutex_unlock(lock)) argument
118 #define lock_rw_init(lock) LOCKRET(pthread_rwlock_init(lock, NULL)) argument
119 #define lock_rw_destroy(lock) LOCKRET(pthread_rwlock_destroy(lock)) argument
120 #define lock_rw_rdlock(lock) LOCKRET(pthread_rwlock_rdlock(lock)) argument
121 #define lock_rw_wrlock(lock) LOCKRET(pthread_rwlock_wrlock(lock)) argument
122 #define lock_rw_unlock(lock) LOCKRET(pthread_rwlock_unlock(lock)) argument
129 #define lock_quick_init(lock) LOCKRET(pthread_mutex_init(lock, NULL)) argument
130 #define lock_quick_destroy(lock) LOCKRET(pthread_mutex_destroy(lock)) argument
131 #define lock_quick_lock(lock) LOCKRET(pthread_mutex_lock(lock)) argument
132 #define lock_quick_unlock(lock) LOCKRET(pthread_mutex_unlock(lock)) argument
144 #define lock_quick_init(lock) LOCKRET(pthread_spin_init(lock, PTHREAD_PROCESS_PRIVATE)) argument
145 #define lock_quick_destroy(lock) LOCKRET(pthread_spin_destroy(lock)) argument
146 #define lock_quick_lock(lock) LOCKRET(pthread_spin_lock(lock)) argument
147 #define lock_quick_unlock(lock) LOCKRET(pthread_spin_unlock(lock)) argument
189 #define lock_rw_init(lock) LOCKRET(rwlock_init(lock, USYNC_THREAD, NULL)) argument
190 #define lock_rw_destroy(lock) LOCKRET(rwlock_destroy(lock)) argument
191 #define lock_rw_rdlock(lock) LOCKRET(rw_rdlock(lock)) argument
192 #define lock_rw_wrlock(lock) LOCKRET(rw_wrlock(lock)) argument
193 #define lock_rw_unlock(lock) LOCKRET(rw_unlock(lock)) argument
197 #define lock_basic_init(lock) LOCKRET(mutex_init(lock, USYNC_THREAD, NULL)) argument
198 #define lock_basic_destroy(lock) LOCKRET(mutex_destroy(lock)) argument
199 #define lock_basic_lock(lock) LOCKRET(mutex_lock(lock)) argument
200 #define lock_basic_unlock(lock) LOCKRET(mutex_unlock(lock)) argument
204 #define lock_quick_init(lock) LOCKRET(mutex_init(lock, USYNC_THREAD, NULL)) argument
205 #define lock_quick_destroy(lock) LOCKRET(mutex_destroy(lock)) argument
206 #define lock_quick_lock(lock) LOCKRET(mutex_lock(lock)) argument
207 #define lock_quick_unlock(lock) LOCKRET(mutex_unlock(lock)) argument
227 #define lock_rw_init(lock) lock_basic_init(lock) argument
228 #define lock_rw_destroy(lock) lock_basic_destroy(lock) argument
229 #define lock_rw_rdlock(lock) lock_basic_lock(lock) argument
230 #define lock_rw_wrlock(lock) lock_basic_lock(lock) argument
231 #define lock_rw_unlock(lock) lock_basic_unlock(lock) argument
242 #define lock_quick_init(lock) lock_basic_init(lock) argument
243 #define lock_quick_destroy(lock) lock_basic_destroy(lock) argument
244 #define lock_quick_lock(lock) lock_basic_lock(lock) argument
245 #define lock_quick_unlock(lock) lock_basic_unlock(lock) argument
263 #define lock_rw_init(lock) /* nop */ argument
264 #define lock_rw_destroy(lock) /* nop */ argument
265 #define lock_rw_rdlock(lock) /* nop */ argument
266 #define lock_rw_wrlock(lock) /* nop */ argument
267 #define lock_rw_unlock(lock) /* nop */ argument
271 #define lock_basic_init(lock) /* nop */ argument
272 #define lock_basic_destroy(lock) /* nop */ argument
273 #define lock_basic_lock(lock) /* nop */ argument
274 #define lock_basic_unlock(lock) /* nop */ argument
278 #define lock_quick_init(lock) /* nop */ argument
279 #define lock_quick_destroy(lock) /* nop */ argument
280 #define lock_quick_lock(lock) /* nop */ argument
281 #define lock_quick_unlock(lock) /* nop */ argument