Searched refs:hookprocs_lock (Results 1 – 1 of 1) sorted by relevance
81 static pthread_mutex_t hookprocs_lock; variable140 mtx_init(&hookprocs_lock); in hook_init()152 mtx_lock(&hookprocs_lock); in hook_fini()160 mtx_unlock(&hookprocs_lock); in hook_fini()162 mtx_destroy(&hookprocs_lock); in hook_fini()205 mtx_lock(&hookprocs_lock); in hook_add()208 mtx_unlock(&hookprocs_lock); in hook_add()217 PJDLOG_ASSERT(mtx_owned(&hookprocs_lock)); in hook_remove()239 PJDLOG_ASSERT(mtx_owned(&hookprocs_lock)); in hook_find()257 mtx_lock(&hookprocs_lock); in hook_check_one()[all …]