Searched refs:disable_counter (Results 1 – 3 of 3) sorted by relevance
35 THREADLOCAL int disable_counter; variable36 bool DisabledInThisThread() { return disable_counter > 0; } in DisabledInThisThread()37 void DisableInThisThread() { disable_counter++; } in DisableInThisThread()39 if (!disable_counter && common_flags()->detect_leaks) { in EnableInThisThread()43 disable_counter--; in EnableInThisThread()
95640 void (*disable_counter)(struct hisi_pmu *, struct hw_perf_event *); member95718 void (*disable_counter)(struct xgene_pmu_dev *, int); member