Lines Matching defs:hashid
137 u_offset_t off, int hashid);
251 #define SHASHMTX(hashid) (&smd_hash[hashid].sh_mtx)
258 #define SMAP_HASHFUNC(vp, off, hashid) \
260 hashid = ((((uintptr_t)(vp) >> 6) + ((uintptr_t)(vp) >> 3) + \
989 segmap_hashin(struct smap *smp, struct vnode *vp, u_offset_t off, int hashid)
1000 ASSERT(hashid >= 0 && hashid <= smd_hashmsk);
1002 hmtx = SHASHMTX(hashid);
1009 for (tmp = smd_hash[hashid].sh_hash_list;
1035 hpp = &smd_hash[hashid].sh_hash_list;
1039 smd_hash_len[hashid]++;
1053 int hashid;
1061 SMAP_HASHFUNC(vp, off, hashid); /* macro assigns hashid */
1062 mtx = SHASHMTX(hashid);
1065 hpp = &smd_hash[hashid].sh_hash_list;
1080 smd_hash_len[hashid]--;
1613 int color, hashid;
1647 SMAP_HASHFUNC(vp, off, hashid); /* macro assigns hashid */
1648 hashmtx = SHASHMTX(hashid);
1652 for (smp = smd_hash[hashid].sh_hash_list;
1784 if ((nsmp = segmap_hashin(smp, vp, baseoff, hashid)) != NULL) {
2286 int hashid;
2314 SMAP_HASHFUNC(vp, offset, hashid); /* macro assigns hashid */
2315 hashmtx = SHASHMTX(hashid);
2318 smp = smd_hash[hashid].sh_hash_list;