Searched refs:str_hash (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/include/
H A D_string_table.h87 typedef struct str_hash Str_hash;
89 struct str_hash { struct
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_strtab.c73 sp->str_hash = malloc(nbuckets * sizeof (dt_strhash_t *));
75 if (sp->str_hash == NULL)
78 bzero(sp->str_hash, nbuckets * sizeof (dt_strhash_t *));
105 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) {
114 if (sp->str_hash != NULL)
115 free(sp->str_hash);
218 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) {
250 hp->str_next = sp->str_hash[h];
261 sp->str_hash[h] = hp;
H A Ddt_strtab.h47 dt_strhash_t **str_hash; /* array of hash buckets */ member in struct:dt_strtab
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dstrtab.h47 strhash_t **str_hash; /* array of hash buckets */ member in struct:strtab
H A Dstrtab.c53 sp->str_hash = xcalloc(STRTAB_HASHSZ * sizeof (strhash_t *));
73 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) {
82 free(sp->str_hash);
170 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) {
185 hp->str_next = sp->str_hash[h];
187 sp->str_hash[h] = hp;
237 for (hp = sp->str_hash[i]; hp != NULL; hp = hp->str_next) {

Completed in 51 milliseconds