Searched refs:iHash (Results 1 – 1 of 1) sorted by relevance
105 int iHash; in sharefs_remove() local129 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_remove()134 for (p = NULL, s = sht->s_buckets[iHash].ssh_sh; in sharefs_remove()144 sht->s_buckets[iHash].ssh_sh = s->sh_next; in sharefs_remove()146 ASSERT(sht->s_buckets[iHash].ssh_count != 0); in sharefs_remove()147 atomic_dec_32(&sht->s_buckets[iHash].ssh_count); in sharefs_remove()183 int iHash; in sharefs_add() local212 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_add()227 for (p = NULL, s = sht->s_buckets[iHash].ssh_sh; in sharefs_add()241 sht->s_buckets[iHash].ssh_sh = sh; in sharefs_add()[all …]