Lines Matching refs:PFM_CTX_ZOMBIE
63 #define PFM_CTX_ZOMBIE 4 /* owner of the context is closing it */ macro
2085 ctx->ctx_state = PFM_CTX_ZOMBIE; in pfm_close()
2135 if (state == PFM_CTX_ZOMBIE) { in pfm_close()
2879 if (state == PFM_CTX_ZOMBIE) return -EINVAL; in pfm_write_pmcs()
3118 if (unlikely(state == PFM_CTX_ZOMBIE)) return -EINVAL; in pfm_write_pmds()
3318 if (state == PFM_CTX_ZOMBIE) return -EINVAL; in pfm_read_pmds()
3569 case PFM_CTX_ZOMBIE: in pfm_restart()
3741 if (state == PFM_CTX_ZOMBIE) return -EINVAL; in pfm_write_ibr_dbr()
4509 if (prev_state != PFM_CTX_ZOMBIE) in pfm_context_unload()
4552 if (prev_state != PFM_CTX_ZOMBIE) in pfm_context_unload()
4622 case PFM_CTX_ZOMBIE: in pfm_exit_thread()
4735 case PFM_CTX_ZOMBIE: in pfm_check_task_state()
5066 if (ctx->ctx_fl_going_zombie || ctx->ctx_state == PFM_CTX_ZOMBIE) in pfm_handle_work()
5136 if (ctx->ctx_state == PFM_CTX_ZOMBIE) { in pfm_notify_user()
5226 if (unlikely(ctx->ctx_state == PFM_CTX_ZOMBIE)) goto stop_monitoring; in pfm_overflow_handler()
5880 if (ctx->ctx_state == PFM_CTX_ZOMBIE) { in pfm_save_regs()
6076 if (unlikely(ctx->ctx_state == PFM_CTX_ZOMBIE)) { in pfm_load_regs()