Lines Matching refs:umu
3618 umu_add(umusers_t *umu, const umem_bufctl_audit_t *bcp,
3628 if (umu->umu_nelems >= umu->umu_size) {
3629 int s = umu->umu_size ? umu->umu_size * 2 : 1024;
3637 bcopy(umu->umu_hash, umo, umowner_size * umu->umu_size);
3638 bcopy(umu->umu_stacks, new_stacks, trace_size * umu->umu_size);
3639 umu->umu_hash = umo;
3640 umu->umu_stacks = new_stacks;
3641 umu->umu_size = s;
3643 umoend = umu->umu_hash + umu->umu_size;
3644 for (umo = umu->umu_hash; umo < umoend; umo++) {
3646 umo->umo_stack = &umu->umu_stacks[
3647 umem_stack_depth * (umo - umu->umu_hash)];
3650 umoend = umu->umu_hash + umu->umu_nelems;
3651 for (umo = umu->umu_hash; umo < umoend; umo++) {
3652 bucket = umo->umo_signature & (umu->umu_size - 1);
3653 umo->umo_next = umu->umu_hash[bucket].umo_head;
3654 umu->umu_hash[bucket].umo_head = umo;
3665 bucket = signature & (umu->umu_size - 1);
3667 for (umo = umu->umu_hash[bucket].umo_head; umo; umo = umo->umo_next) {
3691 umo = &umu->umu_hash[umu->umu_nelems++];
3692 umo->umo_next = umu->umu_hash[bucket].umo_head;
3693 umu->umu_hash[bucket].umo_head = umo;
3711 umause1(uintptr_t addr, const umem_bufctl_audit_t *bcp, umusers_t *umu)
3713 const umem_cache_t *cp = umu->umu_cache;
3715 umu_add(umu, bcp, cp->cache_bufsize, cp->cache_bufsize);
3724 umause2(uintptr_t addr, const umem_bufctl_audit_t *bcp, umusers_t *umu)
3727 const umem_cache_t *cp = umu->umu_cache;
3735 umu_add(umu, bcp, cp->cache_bufsize, cp->cache_bufsize);
3773 umusers_t umu;
3779 bzero(&umu, sizeof (umu));
3833 umu.umu_cache = &c;
3834 (void) mdb_pwalk("bufctl", callback, &umu, cp);
3843 qsort(umu.umu_hash, umu.umu_nelems, sizeof (umowner_t), umownercmp);
3844 umoend = umu.umu_hash + umu.umu_nelems;
3846 for (umo = umu.umu_hash; umo < umoend; umo++) {