Lines Matching refs:sold
2836 * sres - points to usage struct which is diff of snew and sold
2837 * sold - points to stats from last interval
2840 * sres and sold - point same struct that is running total of previous
2842 * snew - points to a struct contains diff of snew and sold computed
2856 struct zs_system *sold, *snew, *sres;
2873 sold = uold->zsu_system;
2883 snew->zss_cpu_total_time, sold->zss_cpu_total_time);
2885 snew->zss_cpu_usage_kern, sold->zss_cpu_usage_kern);
2887 snew->zss_cpu_usage_zones, sold->zss_cpu_usage_zones);
2890 sold->zss_net_rbytes;
2892 sold->zss_net_obytes;
2894 sold->zss_net_prbytes;
2896 sold->zss_net_pobytes;
2898 sold->zss_net_bytes;
2900 sold->zss_net_pbytes;
2912 sres->zss_ncpus = MAX(sold->zss_ncpus, snew->zss_ncpus);
2913 sres->zss_ncpus_online = MAX(sold->zss_ncpus_online,
2917 sres->zss_cpu_total_time = ZS_MAXTS(sold->zss_cpu_total_time,
2919 sres->zss_cpu_usage_kern = ZS_MAXTS(sold->zss_cpu_usage_kern,
2921 sres->zss_cpu_usage_zones = ZS_MAXTS(sold->zss_cpu_usage_zones,
2936 sres->zss_ram_total = MAX(sold->zss_ram_total,
2938 sres->zss_ram_kern = MAX(sold->zss_ram_kern,
2940 sres->zss_ram_zones = MAX(sold->zss_ram_zones,
2942 sres->zss_locked_kern = MAX(sold->zss_locked_kern,
2944 sres->zss_locked_zones = MAX(sold->zss_locked_zones,
2946 sres->zss_vm_total = MAX(sold->zss_vm_total,
2948 sres->zss_vm_kern = MAX(sold->zss_vm_kern,
2950 sres->zss_vm_zones = MAX(sold->zss_vm_zones,
2952 sres->zss_swap_total = MAX(sold->zss_swap_total,
2954 sres->zss_swap_used = MAX(sold->zss_swap_used,
2957 sres->zss_processes = MAX(sold->zss_processes,
2959 sres->zss_lwps = MAX(sold->zss_lwps, snew->zss_lwps);
2960 sres->zss_shm = MAX(sold->zss_shm, snew->zss_shm);
2961 sres->zss_shmids = MAX(sold->zss_shmids, snew->zss_shmids);
2962 sres->zss_semids = MAX(sold->zss_semids, snew->zss_semids);
2963 sres->zss_msgids = MAX(sold->zss_msgids, snew->zss_msgids);
2964 sres->zss_lofi = MAX(sold->zss_msgids, snew->zss_lofi);
2966 sres->zss_net_pused = MAX(sold->zss_net_pused,
2968 sres->zss_net_speed = MAX(sold->zss_net_speed,
2970 sres->zss_net_bytes = MAX(sold->zss_net_bytes,
2972 sres->zss_net_rbytes = MAX(sold->zss_net_rbytes,
2974 sres->zss_net_obytes = MAX(sold->zss_net_obytes,
2976 sres->zss_net_pbytes = MAX(sold->zss_net_pbytes,
2978 sres->zss_net_prbytes = MAX(sold->zss_net_prbytes,
2980 sres->zss_net_pobytes = MAX(sold->zss_net_pobytes,
2993 sres->zss_ncpus = sold->zss_ncpus + snew->zss_ncpus;
2994 sres->zss_ncpus_online = sold->zss_ncpus_online +
2998 sres->zss_cpu_total_time = sold->zss_cpu_total_time;
3001 sres->zss_cpu_usage_kern = sold->zss_cpu_usage_kern;
3004 sres->zss_cpu_usage_zones = sold->zss_cpu_usage_zones;
3020 if (sres != sold) {
3021 sres->zss_ram_total = sold->zss_ram_total / 1024;
3022 sres->zss_ram_kern = sold->zss_ram_kern / 1024;
3023 sres->zss_ram_zones = sold->zss_ram_zones / 1024;
3024 sres->zss_locked_kern = sold->zss_locked_kern / 1024;
3025 sres->zss_locked_zones = sold->zss_locked_zones / 1024;
3026 sres->zss_vm_total = sold->zss_vm_total / 1024;
3027 sres->zss_vm_kern = sold->zss_vm_kern / 1024;
3028 sres->zss_vm_zones = sold->zss_vm_zones / 1024;
3029 sres->zss_swap_total = sold->zss_swap_total / 1024;
3030 sres->zss_swap_used = sold->zss_swap_used / 1024;
3032 sres->zss_processes = sold->zss_processes;
3033 sres->zss_lwps = sold->zss_lwps;
3034 sres->zss_shm = sold->zss_shm / 1024;
3035 sres->zss_shmids = sold->zss_shmids;
3036 sres->zss_semids = sold->zss_semids;
3037 sres->zss_msgids = sold->zss_msgids;
3038 sres->zss_lofi = sold->zss_lofi;