tdb.c | 240 unsigned int (*hash_fn)(TDB_DATA *key); member in struct:tdb_context 745 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 753 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 759 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 765 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); 770 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); 775 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); 780 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); [all...] |