Searched refs:prev_status (Results 1 – 2 of 2) sorted by relevance
241 enum kperf_sampling prev_status = KPERF_SAMPLING_ON; in kperf_enable_sampling() local243 KPERF_SAMPLING_ON, &prev_status, seq_cst); in kperf_enable_sampling()245 if (prev_status == KPERF_SAMPLING_ON) { in kperf_enable_sampling()248 panic("kperf: sampling was %d when asked to enable", prev_status); in kperf_enable_sampling()260 enum kperf_sampling prev_status = KPERF_SAMPLING_ON; in kperf_disable_sampling() local262 KPERF_SAMPLING_SHUTDOWN, &prev_status, seq_cst); in kperf_disable_sampling()264 if (prev_status == KPERF_SAMPLING_OFF) { in kperf_disable_sampling()267 panic("kperf: sampling was %d when asked to disable", prev_status); in kperf_disable_sampling()273 KPERF_SAMPLING_OFF, &prev_status, seq_cst); in kperf_disable_sampling()275 panic("kperf: sampling was %d during disable", prev_status); in kperf_disable_sampling()
147 static struct memorystatus_system_health_s prev_status = {0}; in memstat_log_system_health() local154 if (prev_status.msh_zone_map_is_exhausted == status->msh_zone_map_is_exhausted && in memstat_log_system_health()155 prev_status.msh_compressor_exhausted == status->msh_compressor_exhausted && in memstat_log_system_health()156 prev_status.msh_swap_low_on_space == status->msh_swap_low_on_space && in memstat_log_system_health()157 prev_status.msh_swap_exhausted == status->msh_swap_exhausted in memstat_log_system_health()160 prev_status.msh_available_pages_below_idle == status->msh_available_pages_below_idle && in memstat_log_system_health()161 prev_status.msh_available_pages_below_soft == status->msh_available_pages_below_soft && in memstat_log_system_health()162 prev_status.msh_available_pages_below_critical == status->msh_available_pages_below_critical && in memstat_log_system_health()163 prev_status.msh_available_pages_below_reaper == status->msh_available_pages_below_reaper && in memstat_log_system_health()164 prev_status.msh_compressor_needs_to_swap == status->msh_compressor_needs_to_swap && in memstat_log_system_health()[all …]