Home
last modified time | relevance | path

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

/external/openssl/crypto/asn1/
Dtasn_utl.c104 int *lck, ret; in asn1_do_lock() local
111 lck = offset2ptr(*pval, aux->ref_offset); in asn1_do_lock()
114 *lck = 1; in asn1_do_lock()
117 ret = CRYPTO_add(lck, op, aux->ref_lock); in asn1_do_lock()
119 fprintf(stderr, "%s: Reference Count: %d\n", it->sname, *lck); in asn1_do_lock()
Dasn1t.h183 #define ASN1_SEQUENCE_ref(tname, cb, lck) \ argument
184 …static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, c…
/external/openssl/ssl/
Dssl_sess.c148 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck);
710 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) in remove_session_lock() argument
717 if(lck) CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX); in remove_session_lock()
725 if(lck) CRYPTO_w_unlock(CRYPTO_LOCK_SSL_CTX); in remove_session_lock()
/external/openssl/include/openssl/
Dasn1t.h183 #define ASN1_SEQUENCE_ref(tname, cb, lck) \ argument
184 …static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, c…
/external/e2fsprogs/lib/ext2fs/
Dtdb.c501 struct tdb_lock_type *lck = NULL; in tdb_unlock() local
527 lck = &tdb->lockrecs[i]; in tdb_unlock()
532 if ((lck == NULL) || (lck->count == 0)) { in tdb_unlock()
537 if (lck->count > 1) { in tdb_unlock()
538 lck->count--; in tdb_unlock()
563 *lck = tdb->lockrecs[tdb->num_lockrecs-1]; in tdb_unlock()
/external/llvm/lib/ExecutionEngine/JIT/
DJITEmitter.cpp130 GlobalToIndirectSymMapTy& getGlobalToIndirectSymMap(const MutexGuard& lck) { in getGlobalToIndirectSymMap() argument
131 assert(lck.holds(TheJIT->lock)); in getGlobalToIndirectSymMap()