BUCKET 465 lib/tdb/common/lock.c return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); BUCKET 473 lib/tdb/common/lock.c return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); BUCKET 479 lib/tdb/common/lock.c return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); BUCKET 485 lib/tdb/common/lock.c return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); BUCKET 490 lib/tdb/common/lock.c return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); BUCKET 495 lib/tdb/common/lock.c return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); BUCKET 500 lib/tdb/common/lock.c return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); BUCKET 115 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) BUCKET 118 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), locktype); BUCKET 176 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); BUCKET 216 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); BUCKET 233 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK); BUCKET 353 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) BUCKET 365 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); BUCKET 387 lib/tdb/common/tdb.c if (tdb_unlock(tdb, BUCKET(rec.full_hash), F_WRLCK) != 0) BUCKET 447 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) BUCKET 565 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); BUCKET 579 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) BUCKET 606 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); BUCKET 58 lib/tdb/common/tdb_private.h #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) BUCKET 325 lib/tdb/common/traverse.c tdb->travlocks.hash = BUCKET(rec.full_hash); BUCKET 344 lib/tdb/common/traverse.c if (tdb_unlock(tdb, BUCKET(oldhash), tdb->travlocks.lock_rw) != 0)