Lines Matching refs:hashid
137 u_offset_t off, int hashid);
251 #define SHASHMTX(hashid) (&smd_hash[hashid].sh_mtx) argument
258 #define SMAP_HASHFUNC(vp, off, hashid) \ argument
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) in segmap_hashin() argument
1000 ASSERT(hashid >= 0 && hashid <= smd_hashmsk); in segmap_hashin()
1002 hmtx = SHASHMTX(hashid); in segmap_hashin()
1009 for (tmp = smd_hash[hashid].sh_hash_list; in segmap_hashin()
1035 hpp = &smd_hash[hashid].sh_hash_list; in segmap_hashin()
1039 smd_hash_len[hashid]++; in segmap_hashin()
1053 int hashid; in segmap_hashout() local
1061 SMAP_HASHFUNC(vp, off, hashid); /* macro assigns hashid */ in segmap_hashout()
1062 mtx = SHASHMTX(hashid); in segmap_hashout()
1065 hpp = &smd_hash[hashid].sh_hash_list; in segmap_hashout()
1080 smd_hash_len[hashid]--; in segmap_hashout()
1613 int color, hashid; in segmap_getmapflt() local
1647 SMAP_HASHFUNC(vp, off, hashid); /* macro assigns hashid */ in segmap_getmapflt()
1648 hashmtx = SHASHMTX(hashid); in segmap_getmapflt()
1652 for (smp = smd_hash[hashid].sh_hash_list; in segmap_getmapflt()
1784 if ((nsmp = segmap_hashin(smp, vp, baseoff, hashid)) != NULL) { in segmap_getmapflt()
2286 int hashid; in get_smap_kpm() local
2314 SMAP_HASHFUNC(vp, offset, hashid); /* macro assigns hashid */ in get_smap_kpm()
2315 hashmtx = SHASHMTX(hashid); in get_smap_kpm()
2318 smp = smd_hash[hashid].sh_hash_list; in get_smap_kpm()