Searched refs:checked_lock (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | checklocks.h | 116 struct checked_lock *holding_first, *holding_last; 118 struct checked_lock* waiting; 124 struct checked_lock { struct 153 struct checked_lock* next_held_lock[THRDEBUG_MAX_THREADS]; argument 155 struct checked_lock* prev_held_lock[THRDEBUG_MAX_THREADS]; argument 225 void checklock_init(enum check_lock_type type, struct checked_lock** lock, 236 void checklock_destroy(enum check_lock_type type, struct checked_lock** lock, 247 void checklock_rdlock(enum check_lock_type type, struct checked_lock* lock, 258 void checklock_wrlock(enum check_lock_type type, struct checked_lock* lock, 269 void checklock_lock(enum check_lock_type type, struct checked_lock* lock, [all …]
|
| H A D | checklocks.c | 86 static void lock_error(struct checked_lock* lock, const char* func, 90 static void lock_error(struct checked_lock* lock, in lock_error() 118 acquire_locklock(struct checked_lock* lock, in acquire_locklock() 147 struct checked_lock* lock = *(struct checked_lock**)p; in lock_protect() 169 struct checked_lock* lock = *(struct checked_lock**)mangled; in lock_unprotect() 198 prot_check(struct checked_lock* lock, in prot_check() 215 prot_store(struct checked_lock* lock) in prot_store() 229 struct checked_lock* lock = *(struct checked_lock**)pp; in lock_get_mem() 231 s = sizeof(struct checked_lock); in lock_get_mem() 243 ordercheck_locklock(struct thr_check* thr, struct checked_lock* lock) in ordercheck_locklock() [all …]
|