Lines Matching defs:hash
161 mfp->mf_hash[i] = NULL; /* hash lists are empty */
448 if (hp == NULL) /* not in the hash list */
481 mf_ins_hash(mfp, hp); /* put in front of hash list */
527 mf_rem_hash(mfp, hp); /* get *hp out of the hash list */
751 int hash;
753 hash = MEMHASH(hp->bh_bnum);
754 hhp = mfp->mf_hash[hash];
759 mfp->mf_hash[hash] = hp;
780 * look in hash lists of memfile *mfp for block header with number 'nr'
1096 * If block 'mf_infile_count' is not in the hash list, it has been
1194 int hash;
1238 mf_rem_hash(mfp, hp); /* remove from old hash list */
1240 mf_ins_hash(mfp, hp); /* insert in new hash list */
1242 hash = MEMHASH(np->nt_old_bnum); /* insert in trans list */
1243 np->nt_next = mfp->mf_trans[hash];
1244 mfp->mf_trans[hash] = np;
1262 int hash;
1266 hash = MEMHASH(old_nr);
1267 for (np = mfp->mf_trans[hash]; np != NULL; np = np->nt_next)
1278 mfp->mf_trans[hash] = np->nt_next;