Searched refs:HASH (Results 1 – 4 of 4) sorted by relevance
35 #define HASH(index, lastbyte) (((lastbyte << 8) ^ index) % HASHSIZE) macro
503 int hashindex = HASH(s, c); in CheckHashtable()519 int hashindex = HASH(s, c); in AddToHashtable()
107 #define HASH(o) ((uint32)(((o)->family) ^ ((o)->type) ^ ((o)->protocol))) macro111 return HASH(&key); in HashKey()116 return HASH(value); in Hash()119 #undef HASH
232 #define HASH(d, b) ((((fs_off_t)d) << (sizeof(fs_off_t)*8 - 6)) | (b)) macro243 he->hash_val = HASH(dev, bnum); in new_hash_ent()300 hash = HASH(dev, bnum) & ht->mask; in hash_insert()334 he = ht->table[HASH(dev, bnum) & ht->mask]; in hash_lookup()355 hash = HASH(dev, bnum) & ht->mask; in hash_delete()