Searched refs:DTRACE_ERRHASHSZ (Results 1 – 3 of 3) sorted by relevance
1226 #define DTRACE_ERRHASHSZ 256 /* must be > number of err msgs */ macro
1190 hash = mdb_alloc(DTRACE_ERRHASHSZ * sizeof (uintptr_t), in dtrace_errhash_init()1193 for (i = 0; i < DTRACE_ERRHASHSZ; i++) in dtrace_errhash_init()1196 qsort(hash, DTRACE_ERRHASHSZ, sizeof (uintptr_t), dtrace_errhash_cmp); in dtrace_errhash_init()1212 if (ndx >= DTRACE_ERRHASHSZ) in dtrace_errhash_step()
299 static dtrace_errhash_t dtrace_errhash[DTRACE_ERRHASHSZ];7590 int hval = dtrace_hash_str((char *)str) % DTRACE_ERRHASHSZ; in dtrace_errdebug()7597 while (occupied++ < DTRACE_ERRHASHSZ) { in dtrace_errdebug()7604 hval = (hval + 1) % DTRACE_ERRHASHSZ; in dtrace_errdebug()