Lines Matching refs:arch_mon_ctx
372 void *arch_mon_ctx; in __check_limbo() local
376 arch_mon_ctx = resctrl_arch_mon_ctx_alloc(r, QOS_L3_OCCUP_EVENT_ID); in __check_limbo()
377 if (IS_ERR(arch_mon_ctx)) { in __check_limbo()
379 PTR_ERR(arch_mon_ctx)); in __check_limbo()
397 arch_mon_ctx)) { in __check_limbo()
421 resctrl_arch_mon_ctx_free(r, QOS_L3_OCCUP_EVENT_ID, arch_mon_ctx); in __check_limbo()
614 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count()
639 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count()
845 rr.arch_mon_ctx = resctrl_arch_mon_ctx_alloc(rr.r, rr.evtid); in mbm_update_one_event()
846 if (IS_ERR(rr.arch_mon_ctx)) { in mbm_update_one_event()
848 PTR_ERR(rr.arch_mon_ctx)); in mbm_update_one_event()
861 resctrl_arch_mon_ctx_free(rr.r, rr.evtid, rr.arch_mon_ctx); in mbm_update_one_event()