Home
last modified time | relevance | path

Searched refs:lck (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl34.c71 struct flock64 lck = { in thread_fn_01() local
78 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()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-for-pthread-lock.h28 extern void lck_mtx_destroy(lck_mtx_t *lck, lck_grp_t *grp);
/external/e2fsprogs/lib/ext2fs/
Dtdb.c503 struct tdb_lock_type *lck = NULL; in tdb_unlock() local
529 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()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITEmitter.cpp126 GlobalToIndirectSymMapTy& getGlobalToIndirectSymMap(const MutexGuard& lck) { in getGlobalToIndirectSymMap() argument
127 assert(lck.holds(TheJIT->lock)); in getGlobalToIndirectSymMap()