Home
last modified time | relevance | path

Searched refs:agb (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c1743 dtrace_aggbuffer_t agb; in dtrace_aggkey_init() local
1760 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() local
2144 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 …]
/titanic_50/usr/src/uts/common/dtrace/
H A Ddtrace.c2297 dtrace_aggbuffer_t *agb; in dtrace_aggregate() local
2335 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 …]