Searched refs:lck (Results 1 – 2 of 2) sorted by relevance
28 extern void lck_mtx_destroy(lck_mtx_t *lck, lck_grp_t *grp);
499 struct tdb_lock_type *lck = NULL; in tdb_unlock() local525 lck = &tdb->lockrecs[i]; in tdb_unlock()530 if ((lck == NULL) || (lck->count == 0)) { in tdb_unlock()535 if (lck->count > 1) { in tdb_unlock()536 lck->count--; in tdb_unlock()561 *lck = tdb->lockrecs[tdb->num_lockrecs-1]; in tdb_unlock()