Home
last modified time | relevance | path

Searched refs:num_locks (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtdb.c243 unsigned int num_locks; /* number of chain locks held */ member
465 tdb->num_locks++; in _tdb_lock()
555 tdb->num_locks--; in tdb_unlock()
639 if (tdb->num_locks != 0) { in _tdb_lockall()
1603 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1723 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1729 tdb->num_locks = 0; in tdb_transaction_cancel()
2017 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4074 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc164 int num_locks = CRYPTO_num_locks(); in init_openssl() local
165 GPR_ASSERT(num_locks > 0); in init_openssl()
167 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
168 for (int i = 0; i < num_locks; i++) { in init_openssl()