Searched refs:hws_state (Results 1 – 1 of 1) sorted by relevance
47 static unsigned int hws_state; variable489 if (hws_state == HWS_DEALLOCATED) { in hws_oom_callback()527 return (hws_state <= HWS_DEALLOCATED) ? NOTIFY_OK : NOTIFY_BAD; in hws_cpu_callback()556 if (hws_state == HWS_STARTED) { in hwsampler_deactivate()565 hws_state = HWS_STOPPING; in hwsampler_deactivate()600 if (hws_state == HWS_STARTED) { in hwsampler_activate()890 if (hws_state != HWS_DEALLOCATED) in hwsampler_allocate()915 hws_state = HWS_STOPPED; in hwsampler_allocate()940 if (hws_state != HWS_STOPPED) in hwsampler_deallocate()947 hws_state = HWS_DEALLOCATED; in hwsampler_deallocate()[all …]