Lines Matching defs:hash
78 struct list_head hash;
84 /* The revoke table is just a simple hash table of revoke records. */
87 /* It is conceivable that we might want a larger hash table
104 /* Borrowed from buffer.c: this is a tried and tested block hash function */
105 static inline int hash(hfsplus_jbd_t *journal, unsigned long block)
128 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
130 list_add(&record->hash, hash_list);
142 /* Find a revoke record in the journal's hash table. */
150 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)];
154 while (&(record->hash) != hash_list) {
159 record = (struct hfsplus_jbd_revoke_record_s *) record->hash.next;
318 * the hash tables without an attached hfsplus_jbd_head.
348 HFSPLUS_BUFFER_TRACE(bh, "found on hash");
444 list_del(&record->hash);
492 * revoke hash, deleting the entries as we go.
524 list_del(&record->hash);
696 list_del(&record->hash);