Searched refs:lck (Results 1 – 4 of 4) sorted by relevance
71 struct flock64 lck = { in thread_fn_01() local78 lck.l_type = F_WRLCK; in thread_fn_01()79 if (fcntl(fd, F_OFD_SETLKW, &lck) == -1) in thread_fn_01()85 lck.l_type = F_UNLCK; in thread_fn_01()86 if (fcntl(fd, F_OFD_SETLKW, &lck) == -1) in thread_fn_01()
28 extern void lck_mtx_destroy(lck_mtx_t *lck, lck_grp_t *grp);
503 struct tdb_lock_type *lck = NULL; in tdb_unlock() local529 lck = &tdb->lockrecs[i]; in tdb_unlock()534 if ((lck == NULL) || (lck->count == 0)) { in tdb_unlock()539 if (lck->count > 1) { in tdb_unlock()540 lck->count--; in tdb_unlock()565 *lck = tdb->lockrecs[tdb->num_lockrecs-1]; in tdb_unlock()
126 GlobalToIndirectSymMapTy& getGlobalToIndirectSymMap(const MutexGuard& lck) { in getGlobalToIndirectSymMap() argument127 assert(lck.holds(TheJIT->lock)); in getGlobalToIndirectSymMap()