Lines Matching refs:tstat_buffer

525 static tstat_data_t	*tstat_buffer;	/* staging buffer for outgoing data */  variable
805 bcopy(tcpu->tcpu_data, tstat_buffer, TSTAT_DATA_SIZE); in trapstat_probe()
807 bcopy(tcpu->tcpu_data, tstat_buffer, tstat_data_t_size); in trapstat_probe()
821 bcopy(tstat_buffer, tcpu->tcpu_data, TSTAT_DATA_SIZE); in trapstat_probe()
824 bcopy(tstat_buffer, tcpu->tcpu_data, tstat_data_t_size); in trapstat_probe()
1021 bcopy(data, tstat_buffer, tstat_data_t_size); in trapstat_snapshot()
1030 tstat_buffer->tdata_cpuid = CPU->cpu_id; in trapstat_snapshot()
1031 tstat_buffer->tdata_peffect = tcpu->tcpu_tdata_peffect; in trapstat_snapshot()
1032 tstat_buffer->tdata_snapts = gethrtime(); in trapstat_snapshot()
1033 tstat_buffer->tdata_snaptick = rdtick(); in trapstat_snapshot()
1039 &tstat_buffer->tdata_pgsz[0], in trapstat_snapshot()
1047 cpu_trapstat_data((void *) tstat_buffer->tdata_pgsz, in trapstat_snapshot()
1056 bcopy(data, &tstat_buffer->tdata_traps[0], TSTAT_DATA_SIZE); in trapstat_snapshot()
2186 bcopy(tcpu->tcpu_data, tstat_buffer, TSTAT_DATA_SIZE); in trapstat_cpr()
2188 bcopy(tcpu->tcpu_data, tstat_buffer, tstat_data_t_size); in trapstat_cpr()
2200 bcopy(tstat_buffer, tcpu->tcpu_data, TSTAT_DATA_SIZE); in trapstat_cpr()
2202 bcopy(tstat_buffer, tcpu->tcpu_data, tstat_data_t_size); in trapstat_cpr()
2407 tstat_buffer->tdata_cpuid = -1; in trapstat_ioctl()
2410 if (tstat_buffer->tdata_cpuid == -1) { in trapstat_ioctl()
2439 tp = &tstat_buffer->tdata_pgsz[0]; in trapstat_ioctl()
2448 if (copyout(tstat_buffer, (void *)arg, dsize) != 0) { in trapstat_ioctl()
2561 tstat_buffer = kmem_alloc(tstat_data_t_size, KM_SLEEP); in trapstat_attach()
2599 kmem_free(tstat_buffer, tstat_data_t_size); in trapstat_detach()