Lines Matching refs:task_struct
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()
29 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
30 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
31 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
32 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
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()
42 static inline void vtime_account_softirq(struct task_struct *tsk) { } in vtime_account_softirq()
43 static inline void vtime_account_hardirq(struct task_struct *tsk) { } in vtime_account_hardirq()
44 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
53 extern void vtime_task_switch(struct task_struct *prev);
90 extern void vtime_task_switch_generic(struct task_struct *prev);
92 static inline void vtime_task_switch(struct task_struct *prev) in vtime_task_switch()
117 static inline void vtime_task_switch(struct task_struct *prev) { } in vtime_task_switch()
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()
138 static inline void account_softirq_enter(struct task_struct *tsk) in account_softirq_enter()
144 static inline void account_softirq_exit(struct task_struct *tsk) in account_softirq_exit()
150 static inline void account_hardirq_enter(struct task_struct *tsk) in account_hardirq_enter()
156 static inline void account_hardirq_exit(struct task_struct *tsk) in account_hardirq_exit()