Lines Matching refs:snew

2836  *	sres - points to usage struct which is diff of snew and sold
2838 * snew - points to stats from current interval
2842 * snew - points to a struct contains diff of snew and sold computed
2856 struct zs_system *sold, *snew, *sres;
2874 snew = unew->zsu_system;
2879 if (sres != snew)
2880 *sres = *snew;
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);
2889 sres->zss_net_rbytes = snew->zss_net_rbytes -
2891 sres->zss_net_obytes = snew->zss_net_obytes -
2893 sres->zss_net_prbytes = snew->zss_net_prbytes -
2895 sres->zss_net_pobytes = snew->zss_net_pobytes -
2897 sres->zss_net_bytes = snew->zss_net_bytes -
2899 sres->zss_net_pbytes = snew->zss_net_pbytes -
2901 snew->zss_net_pused = zs_uint64_used_pct(snew->zss_net_speed,
2903 sres->zss_net_pused = snew->zss_net_pused;
2912 sres->zss_ncpus = MAX(sold->zss_ncpus, snew->zss_ncpus);
2914 snew->zss_ncpus_online);
2918 snew->zss_cpu_total_time);
2920 snew->zss_cpu_usage_kern);
2922 snew->zss_cpu_usage_zones);
2925 sres->zss_processes_max = snew->zss_processes_max;
2926 sres->zss_lwps_max = snew->zss_lwps_max;
2927 sres->zss_shm_max = snew->zss_shm_max;
2928 sres->zss_shmids_max = snew->zss_shmids_max;
2929 sres->zss_semids_max = snew->zss_semids_max;
2930 sres->zss_msgids_max = snew->zss_msgids_max;
2931 sres->zss_lofi_max = snew->zss_lofi_max;
2937 snew->zss_ram_total);
2939 snew->zss_ram_kern);
2941 snew->zss_ram_zones);
2943 snew->zss_locked_kern);
2945 snew->zss_locked_zones);
2947 snew->zss_vm_total);
2949 snew->zss_vm_kern);
2951 snew->zss_vm_zones);
2953 snew->zss_swap_total);
2955 snew->zss_swap_used);
2958 snew->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);
2967 snew->zss_net_pused);
2969 snew->zss_net_speed);
2971 snew->zss_net_bytes);
2973 snew->zss_net_rbytes);
2975 snew->zss_net_obytes);
2977 snew->zss_net_pbytes);
2979 snew->zss_net_prbytes);
2981 snew->zss_net_pobytes);
2993 sres->zss_ncpus = sold->zss_ncpus + snew->zss_ncpus;
2995 snew->zss_ncpus_online;
3000 snew->zss_cpu_total_time);
3003 snew->zss_cpu_usage_kern);
3006 snew->zss_cpu_usage_zones);
3009 sres->zss_processes_max = snew->zss_processes_max;
3010 sres->zss_lwps_max = snew->zss_lwps_max;
3011 sres->zss_shm_max = snew->zss_shm_max;
3012 sres->zss_shmids_max = snew->zss_shmids_max;
3013 sres->zss_semids_max = snew->zss_semids_max;
3014 sres->zss_msgids_max = snew->zss_msgids_max;
3015 sres->zss_lofi_max = snew->zss_lofi_max;
3041 sres->zss_ram_total += (snew->zss_ram_total / 1024);
3042 sres->zss_ram_kern += (snew->zss_ram_kern / 1024);
3043 sres->zss_ram_zones += (snew->zss_ram_zones / 1024);
3044 sres->zss_locked_kern += (snew->zss_locked_kern / 1024);
3045 sres->zss_locked_zones += (snew->zss_locked_zones / 1024);
3046 sres->zss_vm_total += (snew->zss_vm_total / 1024);
3047 sres->zss_vm_kern += (snew->zss_vm_kern / 1024);
3048 sres->zss_vm_zones += (snew->zss_vm_zones / 1024);
3049 sres->zss_swap_total += (snew->zss_swap_total / 1024);
3050 sres->zss_swap_used += (snew->zss_swap_used / 1024);
3051 sres->zss_processes += snew->zss_processes;
3052 sres->zss_lwps += snew->zss_lwps;
3053 sres->zss_shm += (snew->zss_shm / 1024);
3054 sres->zss_shmids += snew->zss_shmids;
3055 sres->zss_semids += snew->zss_semids;
3056 sres->zss_msgids += snew->zss_msgids;
3057 sres->zss_lofi += snew->zss_lofi;
3060 sres->zss_net_bytes += snew->zss_net_bytes;
3061 sres->zss_net_rbytes += snew->zss_net_rbytes;
3062 sres->zss_net_obytes += snew->zss_net_obytes;
3063 sres->zss_net_pbytes += snew->zss_net_pbytes;
3064 sres->zss_net_prbytes += snew->zss_net_prbytes;
3065 sres->zss_net_pobytes += snew->zss_net_pobytes;
3066 sres->zss_net_speed += snew->zss_net_speed;
3067 sres->zss_net_pused += snew->zss_net_pused;