Lines Matching refs:hash
54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1
58 * previous entry in hash chain and *mgm holds AMGM entry.
61 * entry in hash chain and *mgm holds end of hash chain.
65 u16 *hash, int *prev, int *index)
79 err = mthca_MGID_HASH(dev, mailbox, hash);
86 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
88 *index = *hash;
99 if (*index != *hash) {
125 u16 hash;
138 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index);
219 u16 hash;
231 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index);