Home
last modified time | relevance | path

Searched refs:ks_nreqs (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dkcpc.c188 set->ks_data = kmem_zalloc(set->ks_nreqs * sizeof (uint64_t), KM_SLEEP); in kcpc_bind_cpu()
191 kmem_free(set->ks_data, set->ks_nreqs * sizeof (uint64_t)); in kcpc_bind_cpu()
257 kmem_free(set->ks_data, set->ks_nreqs * sizeof (uint64_t)); in kcpc_bind_cpu()
305 set->ks_data = kmem_alloc(set->ks_nreqs * sizeof (uint64_t), KM_SLEEP); in kcpc_bind_thread()
308 kmem_free(set->ks_data, set->ks_nreqs * sizeof (uint64_t)); in kcpc_bind_thread()
365 for (i = 0; i < set->ks_nreqs; i++) { in kcpc_configure_reqs()
418 for (i = 0; i < set->ks_nreqs; i++) in kcpc_free_configs()
488 set->ks_nreqs * sizeof (uint64_t)) == -1) in kcpc_sample()
618 if (index < 0 || index >= set->ks_nreqs) in kcpc_preset()
621 for (i = 0; i < set->ks_nreqs; i++) in kcpc_preset()
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/cpc/
H A Dcpc.c84 reqs = mdb_alloc(set.ks_nreqs * sizeof (*reqs), UM_GC); in cpc()
85 data = mdb_alloc(set.ks_nreqs * sizeof (*data), UM_GC); in cpc()
87 if (mdb_vread(reqs, set.ks_nreqs * sizeof (*reqs), in cpc()
93 if (mdb_vread(data, set.ks_nreqs * sizeof (*data), in cpc()
106 set.ks_nreqs, set.ks_flags); in cpc()
108 for (i = 0; i < set.ks_nreqs; i++) { in cpc()
/titanic_44/usr/src/uts/common/dtrace/
H A Ddcpc.c392 for (i = 0; i < oset->ks_nreqs; i++) { in dcpc_populate_set()
403 set->ks_nreqs++; in dcpc_populate_set()
481 for (i = 0; i < set->ks_nreqs; i++) { in dcpc_program_cpu_event()
502 kmem_free(oset->ks_data, oset->ks_nreqs * sizeof (uint64_t)); in dcpc_program_cpu_event()
516 kmem_free(set->ks_data, set->ks_nreqs * sizeof (uint64_t)); in dcpc_program_cpu_event()
546 kmem_free(set->ks_data, set->ks_nreqs * sizeof (uint64_t)); in dcpc_disable_cpu()
/titanic_44/usr/src/uts/common/io/
H A Dcpc.c653 set->ks_nreqs = nreqs; in kcpc_copyin_set()
790 if (set->ks_nreqs > cpc_ncounters) in kcpc_verify_set()
796 for (i = 0; i < set->ks_nreqs; i++) { in kcpc_verify_set()
821 if (rp->kr_index < 0 || rp->kr_index >= set->ks_nreqs) in kcpc_verify_set()
/titanic_44/usr/src/uts/common/sys/
H A Dkcpc.h59 int ks_nreqs; /* Number of reqs */ member