Lines Matching refs:PFM_CTX_UNLOADED
60 #define PFM_CTX_UNLOADED 1 /* context is not loaded onto any task */ macro
887 ctx->ctx_state = PFM_CTX_UNLOADED; in pfm_context_alloc()
2009 if (state == PFM_CTX_UNLOADED) goto doit; in pfm_close()
3568 case PFM_CTX_UNLOADED: in pfm_restart()
3992 if (state == PFM_CTX_UNLOADED) return -EINVAL; in pfm_stop()
4219 if (state != PFM_CTX_UNLOADED) { in pfm_context_load()
4437 ctx->ctx_state = PFM_CTX_UNLOADED; in pfm_context_load()
4471 if (prev_state == PFM_CTX_UNLOADED) { in pfm_context_unload()
4482 ctx->ctx_state = PFM_CTX_UNLOADED; in pfm_context_unload()
4605 case PFM_CTX_UNLOADED: in pfm_exit_thread()
4730 case PFM_CTX_UNLOADED: in pfm_check_task_state()