Searched refs:agb (Results 1 – 2 of 2) sorted by relevance
1743 dtrace_aggbuffer_t agb; in dtrace_aggkey_init() local1760 if (mdb_vread(&agb, sizeof (agb), addr) == -1) { in dtrace_aggkey_init()1767 data->dtakd_hashsize = agb.dtagb_hashsize; in dtrace_aggkey_init()1768 hsize = agb.dtagb_hashsize * sizeof (dtrace_aggkey_t *); in dtrace_aggkey_init()1772 (uintptr_t)agb.dtagb_hash) == -1) { in dtrace_aggkey_init()1774 (uintptr_t)agb.dtagb_hash); in dtrace_aggkey_init()2126 dtrace_aggbuffer_t agb; in dtrace_aggstat() local2144 if (mdb_vread(&agb, sizeof (agb), aaddr) == -1) { in dtrace_aggstat()2149 hsize = (actual = agb.dtagb_hashsize) * sizeof (size_t); in dtrace_aggstat()2157 for (prime = agb.dtagb_hashsize - 1; prime > 7; prime--) { in dtrace_aggstat()[all …]
2297 dtrace_aggbuffer_t *agb; in dtrace_aggregate() local2335 agb = (dtrace_aggbuffer_t *)(tomax + buf->dtb_size - in dtrace_aggregate()2347 if ((uintptr_t)agb - hashsize * sizeof (dtrace_aggkey_t *) < in dtrace_aggregate()2364 agb->dtagb_hashsize = hashsize; in dtrace_aggregate()2365 agb->dtagb_hash = (dtrace_aggkey_t **)((uintptr_t)agb - in dtrace_aggregate()2366 agb->dtagb_hashsize * sizeof (dtrace_aggkey_t *)); in dtrace_aggregate()2367 agb->dtagb_free = (uintptr_t)agb->dtagb_hash; in dtrace_aggregate()2369 for (i = 0; i < agb->dtagb_hashsize; i++) in dtrace_aggregate()2370 agb->dtagb_hash[i] = NULL; in dtrace_aggregate()2410 ndx = hashval % agb->dtagb_hashsize; in dtrace_aggregate()[all …]