Searched refs:ch_hashlen (Results 1 – 3 of 3) sorted by relevance
164 chp->ch_hashlen = fmd.d_str_buckets; in fmd_case_hash_create()165 chp->ch_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, FMD_SLEEP); in fmd_case_hash_create()166 chp->ch_code_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, in fmd_case_hash_create()182 fmd_free(chp->ch_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy()183 fmd_free(chp->ch_code_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy()203 for (i = 0; i < chp->ch_hashlen; i++) { in fmd_case_hash_apply()224 uint_t h = fmd_strhash(cip->ci_code) % chp->ch_hashlen; in fmd_case_code_hash_insert()236 uint_t h = fmd_strhash(cip->ci_code) % chp->ch_hashlen; in fmd_case_code_hash_delete()946 for (i = 0; i < chp->ch_hashlen; i++) in fmd_case_convict()1156 h = fmd_strhash(uuid) % chp->ch_hashlen; in fmd_case_hash_lookup()[all …]
113 uint_t ch_hashlen; /* size of hash bucket array */ member
815 return (hash_walk_init(wsp, (uintptr_t)ch.ch_hash, ch.ch_hashlen, in case_walk_init()