Lines Matching refs:hashsize
2589 uintptr_t hashsize = (buf->dtb_size >> 3) / sizeof (uintptr_t); in dtrace_aggregate() local
2591 if ((uintptr_t)agb - hashsize * sizeof (dtrace_aggkey_t *) < in dtrace_aggregate()
2592 (uintptr_t)tomax || hashsize == 0) { in dtrace_aggregate()
2605 if (hashsize > (DTRACE_AGGHASHSIZE_SLEW << 3)) in dtrace_aggregate()
2606 hashsize -= DTRACE_AGGHASHSIZE_SLEW; in dtrace_aggregate()
2608 agb->dtagb_hashsize = hashsize; in dtrace_aggregate()
13950 size_t hashsize, maxper, min_size, chunksize = dstate->dtds_chunksize; in dtrace_dstate_init() local
13975 hashsize = size / (dstate->dtds_chunksize + sizeof (dtrace_dynhash_t)); in dtrace_dstate_init()
13977 if (hashsize != 1 && (hashsize & 1)) in dtrace_dstate_init()
13978 hashsize--; in dtrace_dstate_init()
13980 dstate->dtds_hashsize = hashsize; in dtrace_dstate_init()
13990 for (size_t i = 0; i < hashsize; i++) in dtrace_dstate_init()
14001 ((uintptr_t)base + hashsize * sizeof (dtrace_dynhash_t)); in dtrace_dstate_init()