Lines Matching defs: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)
80 err = mthca_MGID_HASH(dev, mailbox, hash, &status);
90 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash);
92 *index = *hash;
106 if (*index != *hash) {
132 u16 hash;
146 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index);
239 u16 hash;
252 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index);