Home | History | Annotate | Download | only in ext2fs

Lines Matching defs:hash_fn

243 	unsigned int (*hash_fn)(TDB_DATA *key);
749 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
757 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
763 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK);
769 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK);
774 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
779 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
784 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
2926 tdb->travlocks.off = tdb_find_lock_hash(tdb, oldkey, tdb->hash_fn(&oldkey), tdb->travlocks.lock_rw, &rec);
3197 hash = tdb->hash_fn(&key);
3235 hash = tdb->hash_fn(&key);
3267 u32 hash = tdb->hash_fn(&key);
3421 u32 hash = tdb->hash_fn(&key);
3473 hash = tdb->hash_fn(&key);
3605 hash = tdb->hash_fn(&key);
3816 tdb_hash_func hash_fn)
3841 tdb->hash_fn = hash_fn ? hash_fn : default_tdb_hash;