Searched defs:hash_fn (Results 1 - 1 of 1) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
H A D | 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); 2919 tdb->travlocks.off = tdb_find_lock_hash(tdb, oldkey, tdb->hash_fn(&oldkey), tdb->travlocks.lock_rw, &rec); 3190 hash = tdb->hash_fn( 3806 tdb_open_ex(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, const struct tdb_logging_context *log_ctx, tdb_hash_func hash_fn) argument [all...] |
Completed in 255 milliseconds