Searched refs:lock_error (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/usr.sbin/unbound/testcode/ |
| 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() function 137 lock_error(lock, func, file, line, "acquire locklock"); in acquire_locklock() 206 lock_error(lock, func, file, line, in prot_check() 350 lock_error(lock, func, file, line, "wrong lock type"); in checktype() 371 lock_error(e, func, file, line, "delete while locked."); in checklock_destroy() 373 lock_error(e, func, file, line, "delete while waited on."); in checklock_destroy() 461 if(!thr) lock_error(lock, func, file, line, "no thread info"); in checklock_lockit() 467 lock_error(lock, func, file, line, "thread already owns lock"); in checklock_lockit() 469 lock_error(lock, func, file, line, "thread already has wrlock"); in checklock_lockit() [all …]
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | lock.c | 461 static int lock_error; variable 485 lock_error = L_OK; /* init for set_writelock_proc */ 494 switch (lock_error) 521 lock_error); 536 if (lock_error != L_OK) 541 lock_error = write_lock ((struct lock *)p->data);
|