Lines Matching defs:agp

360 	dt_aggregate_t *agp = &dtp->dt_aggregate;
362 dt_ahash_t *hash = &agp->dtat_hash;
364 dtrace_bufdesc_t b = agp->dtat_buf, *buf = &b;
366 int flags = agp->dtat_flags;
540 int max_cpus = agp->dtat_maxcpu;
619 dt_aggregate_t *agp = &dtp->dt_aggregate;
635 if (agp->dtat_buf.dtbd_size == 0)
638 for (i = 0; i < agp->dtat_ncpus; i++) {
639 if (rval = dt_aggregate_snap_cpu(dtp, agp->dtat_cpus[i]))
1001 dt_aggregate_t *agp = &dtp->dt_aggregate;
1003 dtrace_bufdesc_t *buf = &agp->dtat_buf;
1006 assert(agp->dtat_maxcpu == 0);
1007 assert(agp->dtat_ncpu == 0);
1008 assert(agp->dtat_cpus == NULL);
1010 agp->dtat_maxcpu = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
1011 agp->dtat_ncpu = dt_sysconf(dtp, _SC_NPROCESSORS_MAX);
1012 agp->dtat_cpus = malloc(agp->dtat_ncpu * sizeof (processorid_t));
1014 if (agp->dtat_cpus == NULL)
1028 buf = &agp->dtat_buf;
1041 assert(cpu < agp->dtat_ncpu);
1042 agp->dtat_cpus[agp->dtat_ncpus++] = (processorid_t)cpu;
1047 agp->dtat_ncpus = 0;
1048 for (i = 0; i < agp->dtat_maxcpu; i++) {
1052 agp->dtat_cpus[agp->dtat_ncpus++] = i;
1061 dt_aggregate_t *agp = &dtp->dt_aggregate;
1117 int i, max_cpus = agp->dtat_maxcpu;
1125 dt_ahash_t *hash = &agp->dtat_hash;
1141 dt_ahash_t *hash = &agp->dtat_hash;
1229 dt_aggregate_t *agp = &dtp->dt_aggregate;
1231 dt_ahash_t *hash = &agp->dtat_hash;
1349 dt_aggregate_t *agp = &dtp->dt_aggregate;
1353 dt_ahash_t *hash = &agp->dtat_hash;
1810 dt_aggregate_t *agp = &dtp->dt_aggregate;
1811 dt_ahash_t *hash = &agp->dtat_hash;
1816 int i, max_cpus = agp->dtat_maxcpu;
1836 dt_aggregate_t *agp = &dtp->dt_aggregate;
1837 dt_ahash_t *hash = &agp->dtat_hash;
1840 int i, max_cpus = agp->dtat_maxcpu;
1867 free(agp->dtat_buf.dtbd_data);
1868 free(agp->dtat_cpus);