Home
last modified time | relevance | path

Searched refs:num_locks (Results 1 – 25 of 466) sorted by last modified time

12345678910>>...19

/dports/www/davix/davix-0.7.6/deps/libneon/src/
H A Dne_openssl.c1233 static size_t num_locks; variable
1298 num_locks = CRYPTO_num_locks(); in ne__ssl_init()
1307 locks = malloc(num_locks * sizeof *locks); in ne__ssl_init()
1308 for (n = 0; n < num_locks; n++) { in ne__ssl_init()
1316 "for %" NE_FMT_SIZE_T " locks.\n", num_locks); in ne__ssl_init()
1341 for (n = 0; n < num_locks; n++) { in ne__ssl_exit()
/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/
H A Dmail.c4363 int i, num_locks = CRYPTO_num_locks();
4396 ssl_locks = g_new(GMutex *, num_locks);
4397 for (i = 0; i < num_locks; i++)
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/
H A Dcrypto.c835 const int num_locks = CRYPTO_num_locks(); in SetupOpenSSLThreadLocks() local
837 cf_openssl_locks = xmalloc(num_locks * sizeof(*cf_openssl_locks)); in SetupOpenSSLThreadLocks()
839 for (int i = 0; i < num_locks; i++) in SetupOpenSSLThreadLocks()
/dports/sysutils/e2fsprogs/e2fsprogs-1.46.5/lib/ext2fs/
H A Dtdb.c249 unsigned int num_locks; /* number of chain locks held */ member
472 tdb->num_locks++; in _tdb_lock()
562 tdb->num_locks--; in tdb_unlock()
646 if (tdb->num_locks != 0) { in _tdb_lockall()
1616 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1736 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1742 tdb->num_locks = 0; in tdb_transaction_cancel()
2030 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4094 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()
/dports/net/axa/axa-2.2.0/axalib/
H A Dtls.c64 static int num_locks; variable
403 num_locks = CRYPTO_num_locks(); in axa_tls_init()
404 if (num_locks != 0) { in axa_tls_init()
405 mutex_buf_tls = axa_malloc(num_locks in axa_tls_init()
407 for (i = 0; i < num_locks; i++) in axa_tls_init()
557 num_locks = CRYPTO_num_locks(); in axa_apikey_init()
558 if (num_locks != 0) { in axa_apikey_init()
559 mutex_buf_apikey = axa_malloc(num_locks in axa_apikey_init()
561 for (i = 0; i < num_locks; i++) in axa_apikey_init()
679 for (i = 0; i < num_locks; i++) { in axa_tls_cleanup()
[all …]
/dports/misc/e2fsprogs-libuuid/e2fsprogs-1.46.5/lib/ext2fs/
H A Dtdb.c249 unsigned int num_locks; /* number of chain locks held */ member
472 tdb->num_locks++; in _tdb_lock()
562 tdb->num_locks--; in tdb_unlock()
646 if (tdb->num_locks != 0) { in _tdb_lockall()
1616 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1736 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1742 tdb->num_locks = 0; in tdb_transaction_cancel()
2030 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4094 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()
/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/lib/ext2fs/
H A Dtdb.c249 unsigned int num_locks; /* number of chain locks held */ member
472 tdb->num_locks++; in _tdb_lock()
562 tdb->num_locks--; in tdb_unlock()
646 if (tdb->num_locks != 0) { in _tdb_lockall()
1616 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1736 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1742 tdb->num_locks = 0; in tdb_transaction_cancel()
2030 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4094 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()
/dports/devel/grpc134/grpc-1.34.1/src/core/tsi/
H A Dssl_transport_security.cc176 int num_locks = CRYPTO_num_locks(); in init_openssl() local
177 GPR_ASSERT(num_locks > 0); in init_openssl()
179 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
180 for (int i = 0; i < num_locks; i++) { in init_openssl()
/dports/devel/grpc/grpc-1.42.0/src/core/tsi/
H A Dssl_transport_security.cc173 int num_locks = CRYPTO_num_locks(); in init_openssl() local
174 GPR_ASSERT(num_locks > 0); in init_openssl()
176 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
177 for (int i = 0; i < num_locks; i++) { in init_openssl()
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/tsi/
H A Dssl_transport_security.cc175 int num_locks = CRYPTO_num_locks(); in init_openssl() local
176 GPR_ASSERT(num_locks > 0); in init_openssl()
178 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
179 for (int i = 0; i < num_locks; i++) { in init_openssl()
/dports/devel/grpc130/grpc-1.30.2/src/core/tsi/
H A Dssl_transport_security.cc170 int num_locks = CRYPTO_num_locks(); in init_openssl() local
171 GPR_ASSERT(num_locks > 0); in init_openssl()
173 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
174 for (int i = 0; i < num_locks; i++) { in init_openssl()
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/tsi/
H A Dssl_transport_security.cc175 int num_locks = CRYPTO_num_locks(); in init_openssl() local
176 GPR_ASSERT(num_locks > 0); in init_openssl()
178 gpr_malloc(static_cast<size_t>(num_locks) * sizeof(gpr_mu))); in init_openssl()
179 for (int i = 0; i < num_locks; i++) { in init_openssl()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/frontends/nine/
H A Dnine_memory_helper.c412 region->num_locks = 0; in allocate_region()
486 if (region->num_locks == 0) { in nine_flush_pending_releases()
514 if (region->num_locks != 0) { in nine_flush_pending_frees()
515 region->num_locks = 0; in nine_flush_pending_frees()
556 assert(region->num_locks == 0); in remove_allocation()
882 region->num_locks++; in nine_get_pointer()
884 if (region->num_locks == 1) in nine_get_pointer()
913 region->num_locks--; in nine_pointer_weakrelease()
914 if (region->num_locks == 0) { in nine_pointer_weakrelease()
930 region->num_locks--; in nine_pointer_strongrelease()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/db/
H A Dprefix_test.cc42 DEFINE_uint64(num_locks, 10001, "number of locks");
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h153 long num_locks = static_cast<long>(max_key_ >> log2_keys_per_lock_); in SharedState() local
155 num_locks++; in SharedState()
157 fprintf(stdout, "Creating %ld locks\n", num_locks * FLAGS_column_families); in SharedState()
161 key_locks_[i].resize(num_locks); in SharedState()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/db/
H A Dprefix_test.cc42 DEFINE_uint64(num_locks, 10001, "number of locks");
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h153 long num_locks = static_cast<long>(max_key_ >> log2_keys_per_lock_); in SharedState() local
155 num_locks++; in SharedState()
157 fprintf(stdout, "Creating %ld locks\n", num_locks * FLAGS_column_families); in SharedState()
161 key_locks_[i].resize(num_locks); in SharedState()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/cachetable/
H A Dcachetable.cc3239 void toku_pair_list_set_lock_size(uint32_t num_locks) { in toku_pair_list_set_lock_size() argument
3240 PAIR_LOCK_SIZE = num_locks; in toku_pair_list_set_lock_size()
H A Dcachetable.h582 void toku_pair_list_set_lock_size(uint32_t num_locks);
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/cachetable/
H A Dcachetable.cc3239 void toku_pair_list_set_lock_size(uint32_t num_locks) { in toku_pair_list_set_lock_size() argument
3240 PAIR_LOCK_SIZE = num_locks; in toku_pair_list_set_lock_size()
H A Dcachetable.h582 void toku_pair_list_set_lock_size(uint32_t num_locks);
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_simple_lock.cc104 const int64_t num_locks = 10000; in test_simple_lock() local
106 int64_t *keys = (int64_t *) toku_malloc(num_locks * sizeof(int64_t)); in test_simple_lock()
107 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
110 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
111 int64_t k = rand() % num_locks; in test_simple_lock()
118 r = mgr.set_max_lock_memory((num_locks + 1) * 500); in test_simple_lock()
126 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
132 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_simple_lock.cc104 const int64_t num_locks = 10000; in test_simple_lock() local
106 int64_t *keys = (int64_t *) toku_malloc(num_locks * sizeof(int64_t)); in test_simple_lock()
107 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
110 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
111 int64_t k = rand() % num_locks; in test_simple_lock()
118 r = mgr.set_max_lock_memory((num_locks + 1) * 500); in test_simple_lock()
126 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
132 for (int64_t i = 0; i < num_locks; i++) { in test_simple_lock()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dha_partition.cc9227 uint num_locks; in extra() local
9233 num_locks= 0; in extra()
9237 num_locks+= (*file)->lock_count(); in extra()
9240 m_num_locks= num_locks; in extra()
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dha_partition.cc9227 uint num_locks; in extra() local
9233 num_locks= 0; in extra()
9237 num_locks+= (*file)->lock_count(); in extra()
9240 m_num_locks= num_locks; in extra()

12345678910>>...19