Lines Matching refs:tsk

16 extern void vtime_account_kernel(struct task_struct *tsk);
17 extern void vtime_account_idle(struct task_struct *tsk);
21 extern void arch_vtime_task_switch(struct task_struct *tsk);
22 extern void vtime_user_enter(struct task_struct *tsk);
23 extern void vtime_user_exit(struct task_struct *tsk);
24 extern void vtime_guest_enter(struct task_struct *tsk);
25 extern void vtime_guest_exit(struct task_struct *tsk);
26 extern void vtime_init_idle(struct task_struct *tsk, int cpu);
28 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter() argument
29 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit() argument
30 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter() argument
31 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit() argument
32 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle() argument
36 extern void vtime_account_irq(struct task_struct *tsk, unsigned int offset);
37 extern void vtime_account_softirq(struct task_struct *tsk);
38 extern void vtime_account_hardirq(struct task_struct *tsk);
39 extern void vtime_flush(struct task_struct *tsk);
41 static inline void vtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in vtime_account_irq() argument
42 static inline void vtime_account_softirq(struct task_struct *tsk) { } in vtime_account_softirq() argument
43 static inline void vtime_account_hardirq(struct task_struct *tsk) { } in vtime_account_hardirq() argument
44 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush() argument
133 extern void irqtime_account_irq(struct task_struct *tsk, unsigned int offset);
135 static inline void irqtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in irqtime_account_irq() argument
138 static inline void account_softirq_enter(struct task_struct *tsk) in account_softirq_enter() argument
140 vtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
141 irqtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
144 static inline void account_softirq_exit(struct task_struct *tsk) in account_softirq_exit() argument
146 vtime_account_softirq(tsk); in account_softirq_exit()
147 irqtime_account_irq(tsk, 0); in account_softirq_exit()
150 static inline void account_hardirq_enter(struct task_struct *tsk) in account_hardirq_enter() argument
152 vtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
153 irqtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
156 static inline void account_hardirq_exit(struct task_struct *tsk) in account_hardirq_exit() argument
158 vtime_account_hardirq(tsk); in account_hardirq_exit()
159 irqtime_account_irq(tsk, 0); in account_hardirq_exit()