Searched refs:hash_size (Results 1 – 2 of 2) sorted by relevance
71 #define TDB_DATA_START(hash_size) (TDB_HASH_TOP(hash_size-1)) argument105 #define BUCKET(hash) ((hash) % tdb->header.hash_size)238 if (list < -1 || list >= (int)tdb->header.hash_size) { in tdb_lock()272 if (list < -1 || list >= (int)tdb->header.hash_size) { in tdb_unlock()571 if (left > TDB_DATA_START(tdb->header.hash_size)) {898 newdb->hash_size = hash_size;1194 if (tlock->hash == tdb->header.hash_size) {1565 if (hash_size == 0)1566 hash_size = DEFAULT_HASH_SIZE;1578 if (tdb_new_database(tdb, hash_size) != 0) {[all …]
71 uint32_t hash_size; /* number of hash entries */ member115 TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
Completed in 6 milliseconds