Searched refs:kern_cntr (Results 1 – 1 of 1) sorted by relevance
99 #define MKS_STAT_TIME_DECL(kern_cntr) \ argument100 struct mksstat_timer_t _##kern_cntr = { \105 #define MKS_STAT_TIME_PUSH(kern_cntr) … argument107 if (_##kern_cntr.slot >= 0) { \108 _##kern_cntr.old_top = dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot]; \109 dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot] = kern_cntr; \113 #define MKS_STAT_TIME_POP(kern_cntr) … argument115 …if (_##kern_cntr.slot >= 0) { …116 …const pid_t pid = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MK…117 …dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot] = _##kern_cntr.old_top; …[all …]