Searched refs:s_sys (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 147 etime = ss->s_sys.ss_ticks / hz; in main() 155 dosum(&ss->s_sys); in main() 246 kstat_t *newsys = &new->s_sys.ss_agg_sys; in dovmstats() 248 kstat_t *newvm = &new->s_sys.ss_agg_vm; in dovmstats() 256 oldsys = &old->s_sys.ss_agg_sys; in dovmstats() 257 oldvm = &old->s_sys.ss_agg_vm; in dovmstats() 267 sys_updates = denom(DELTA(s_sys.ss_sysinfo.updates)); in dovmstats() 268 vm_updates = denom(DELTA(s_sys.ss_vminfo.updates)); in dovmstats() 282 pgtok((int)(DELTA(s_sys.ss_vminfo.swap_avail) in dovmstats() 285 pgtok((int)(DELTA(s_sys.ss_vminfo.freemem) / vm_updates))); in dovmstats() [all …]
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 252 if (kstat_read(kc, ksp, &ss->s_sys.ss_sysinfo) == -1) in acquire_sys() 258 if (kstat_read(kc, ksp, &ss->s_sys.ss_vminfo) == -1) in acquire_sys() 264 if (kstat_read(kc, ksp, &ss->s_sys.ss_nc) == -1) in acquire_sys() 277 ss->s_sys.ss_ticks = knp->value.l; in acquire_sys() 283 ss->s_sys.ss_deficit = knp->value.l; in acquire_sys() 289 if (kstat_add(&ss->s_cpus[i].cs_sys, &ss->s_sys.ss_agg_sys)) in acquire_sys() 291 if (kstat_add(&ss->s_cpus[i].cs_vm, &ss->s_sys.ss_agg_vm)) in acquire_sys() 385 free(ss->s_sys.ss_agg_sys.ks_data); in free_snapshot() 386 free(ss->s_sys.ss_agg_vm.ks_data); in free_snapshot()
|
H A D | statcommon.h | 227 struct sys_snapshot s_sys; member
|
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 289 oldks = oldss ? &oldss->s_sys.ss_agg_sys : NULL; in main() 291 &newss->s_sys.ss_agg_sys); in main() 1548 oldks = &oldss->s_sys.ss_agg_sys; in print_tty_data() 1554 deltas = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "rawch"); in print_tty_data() 1557 deltas = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "outch"); in print_tty_data() 1578 oldks = &oldss->s_sys.ss_agg_sys; in print_cpu_data() 1585 idle = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "cpu_ticks_idle"); in print_cpu_data() 1586 user = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "cpu_ticks_user"); in print_cpu_data() 1587 kern = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "cpu_ticks_kernel"); in print_cpu_data() 1588 dtrace = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, in print_cpu_data() [all …]
|
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 622 smbios_struct_t s_sys, s_mb; in hardware_workarounds() local 641 if (smbios_lookup_type(shp, SMB_TYPE_SYSTEM, &s_sys) == SMB_ERR || in hardware_workarounds() 642 smbios_info_common(shp, s_sys.smbstr_id, &sys) == SMB_ERR) in hardware_workarounds()
|