Searched defs:BUCKET (Results 1 - 1 of 1) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
H A D | tdb.c | 139 #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) 162 #define BUCKET(hash) ((hash) % tdb->header.hash_size) macro 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); 2924 tdb->travlocks.hash = BUCKET(re [all...] |
Completed in 85 milliseconds