Lines Matching refs:tdb_hash
319 static u32 tdb_hash(TDB_DATA *key)
1025 hash = tdb_hash(&key);
1072 if (!(rec_ptr = tdb_find(tdb, key, tdb_hash(&key), &rec)))
1448 hash = tdb_hash(&key);
1529 if (!(rec_ptr = tdb_find(tdb, key, tdb_hash(&key), &rec)))
1564 hash = tdb_hash(&key);
1935 hash = tdb_hash(&keys[i]);
1970 return tdb_lock(tdb, BUCKET(tdb_hash(&key)), F_WRLCK);
1975 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_WRLCK);
1981 return tdb_lock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);
1988 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);