tdb.c | 242 unsigned int (*hash_fn)(TDB_DATA *key); member in struct:tdb_context 747 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 755 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 761 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 767 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 772 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 777 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); 782 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); [all...] |