Lines Matching defs:agp

377 	dt_aggregate_t *agp = &dtp->dt_aggregate;
378 dt_ahash_t *hash = &agp->dtat_hash;
438 dt_aggregate_t *agp = &dtp->dt_aggregate;
440 dt_ahash_t *hash = &agp->dtat_hash;
441 dtrace_bufdesc_t b = agp->dtat_buf, *buf = &b;
444 int flags = agp->dtat_flags;
632 int max_cpus = agp->dtat_maxcpu;
713 dt_aggregate_t *agp = &dtp->dt_aggregate;
729 if (agp->dtat_buf.dtbd_size == 0)
732 for (i = 0; i < agp->dtat_ncpus; i++) {
733 if (rval = dt_aggregate_snap_cpu(dtp, agp->dtat_cpus[i]))
1095 dt_aggregate_t *agp = &dtp->dt_aggregate;
1097 dtrace_bufdesc_t *buf = &agp->dtat_buf;
1100 assert(agp->dtat_maxcpu == 0);
1101 assert(agp->dtat_ncpu == 0);
1102 assert(agp->dtat_cpus == NULL);
1104 agp->dtat_maxcpu = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
1105 agp->dtat_ncpu = dt_sysconf(dtp, _SC_NPROCESSORS_MAX);
1106 agp->dtat_cpus = malloc(agp->dtat_ncpu * sizeof (processorid_t));
1108 if (agp->dtat_cpus == NULL)
1122 buf = &agp->dtat_buf;
1135 assert(cpu < agp->dtat_ncpu);
1136 agp->dtat_cpus[agp->dtat_ncpus++] = (processorid_t)cpu;
1141 agp->dtat_ncpus = 0;
1142 for (i = 0; i < agp->dtat_maxcpu; i++) {
1146 agp->dtat_cpus[agp->dtat_ncpus++] = i;
1155 dt_aggregate_t *agp = &dtp->dt_aggregate;
1211 int i, max_cpus = agp->dtat_maxcpu;
1219 dt_ahash_t *hash = &agp->dtat_hash;
1235 dt_ahash_t *hash = &agp->dtat_hash;
1244 (agp->dtat_hash).dtah_nent--;
1325 dt_aggregate_t *agp = &dtp->dt_aggregate;
1327 dt_ahash_t *hash = &agp->dtat_hash;
1445 dt_aggregate_t *agp = &dtp->dt_aggregate;
1449 dt_ahash_t *hash = &agp->dtat_hash;
1906 dt_aggregate_t *agp = &dtp->dt_aggregate;
1907 dt_ahash_t *hash = &agp->dtat_hash;
1912 int i, max_cpus = agp->dtat_maxcpu;
1932 dt_aggregate_t *agp = &dtp->dt_aggregate;
1933 dt_ahash_t *hash = &agp->dtat_hash;
1936 int i, max_cpus = agp->dtat_maxcpu;
1964 free(agp->dtat_buf.dtbd_data);
1965 free(agp->dtat_cpus);