Lines Matching refs:task_struct
10 struct task_struct;
42 extern void vtime_task_switch(struct task_struct *prev);
44 extern void vtime_common_task_switch(struct task_struct *prev);
45 static inline void vtime_task_switch(struct task_struct *prev) in vtime_task_switch()
52 extern void vtime_account_system(struct task_struct *tsk);
53 extern void vtime_account_idle(struct task_struct *tsk);
54 extern void vtime_account_user(struct task_struct *tsk);
57 extern void vtime_account_irq_enter(struct task_struct *tsk);
59 extern void vtime_common_account_irq_enter(struct task_struct *tsk);
60 static inline void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter()
69 static inline void vtime_task_switch(struct task_struct *prev) { } in vtime_task_switch()
70 static inline void vtime_account_system(struct task_struct *tsk) { } in vtime_account_system()
71 static inline void vtime_account_user(struct task_struct *tsk) { } in vtime_account_user()
72 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } in vtime_account_irq_enter()
76 extern void arch_vtime_task_switch(struct task_struct *tsk);
77 extern void vtime_gen_account_irq_exit(struct task_struct *tsk);
79 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
85 extern void vtime_user_enter(struct task_struct *tsk);
87 static inline void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit()
91 extern void vtime_guest_enter(struct task_struct *tsk);
92 extern void vtime_guest_exit(struct task_struct *tsk);
93 extern void vtime_init_idle(struct task_struct *tsk, int cpu);
95 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
100 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
101 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
102 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
103 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
104 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
108 extern void irqtime_account_irq(struct task_struct *tsk);
110 static inline void irqtime_account_irq(struct task_struct *tsk) { } in irqtime_account_irq()
113 static inline void account_irq_enter_time(struct task_struct *tsk) in account_irq_enter_time()
119 static inline void account_irq_exit_time(struct task_struct *tsk) in account_irq_exit_time()