Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 25 of 47) sorted by relevance

12

/include/linux/sched/
Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
22 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
27 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
32 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
37 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
41 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
45 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
49 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
53 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
Dcputime.h71 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
103 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
119 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
140 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
161 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
Dtask_stack.h68 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack()
76 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack()
81 static inline void put_task_stack(struct task_struct *tsk) {} in put_task_stack()
Drt.h42 static inline bool rt_or_dl_task_policy(struct task_struct *tsk) in rt_or_dl_task_policy()
/include/linux/
Dvtime.h23 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
24 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
25 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
26 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
27 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
36 static inline void vtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in vtime_account_irq()
37 static inline void vtime_account_softirq(struct task_struct *tsk) { } in vtime_account_softirq()
38 static inline void vtime_account_hardirq(struct task_struct *tsk) { } in vtime_account_hardirq()
39 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
130 static inline void irqtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in irqtime_account_irq()
[all …]
Dpid.h230 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
240 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
246 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
271 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
282 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
292 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
[all …]
Dscs.h25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base) argument
26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp) argument
34 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset()
48 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted()
77 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset()
78 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare()
79 static inline void scs_release(struct task_struct *tsk) {} in scs_release()
80 static inline bool task_scs_end_corrupted(struct task_struct *tsk) { return false; } in task_scs_end_corrupted()
Dtsacct_kern.h20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
32 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
34 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
36 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dfutex.h62 static inline void futex_init_task(struct task_struct *tsk) in futex_init_task()
81 static inline void futex_init_task(struct task_struct *tsk) { } in futex_init_task()
82 static inline void futex_exit_recursive(struct task_struct *tsk) { } in futex_exit_recursive()
83 static inline void futex_exit_release(struct task_struct *tsk) { } in futex_exit_release()
84 static inline void futex_exec_release(struct task_struct *tsk) { } in futex_exec_release()
Ddelayacct.h89 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
100 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
125 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
234 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
236 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
243 struct task_struct *tsk) in delayacct_add_tsk()
245 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
Dsem.h17 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo()
22 static inline void exit_sem(struct task_struct *tsk) in exit_sem()
Dsignalfd.h19 static inline void signalfd_notify(struct task_struct *tsk, int sig) in signalfd_notify()
29 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } in signalfd_notify()
Dtick.h248 static inline void tick_dep_set_task(struct task_struct *tsk, in tick_dep_set_task()
255 static inline void tick_dep_clear_task(struct task_struct *tsk, in tick_dep_clear_task()
262 static inline void tick_dep_init_task(struct task_struct *tsk) in tick_dep_init_task()
267 static inline void tick_dep_set_signal(struct task_struct *tsk, in tick_dep_set_signal()
296 static inline void tick_dep_set_task(struct task_struct *tsk, in tick_dep_set_task()
298 static inline void tick_dep_clear_task(struct task_struct *tsk, in tick_dep_clear_task()
300 static inline void tick_dep_init_task(struct task_struct *tsk) { } in tick_dep_init_task()
301 static inline void tick_dep_set_signal(struct task_struct *tsk, in tick_dep_set_signal()
Dio_uring.h26 static inline void io_uring_free(struct task_struct *tsk) in io_uring_free()
38 static inline void io_uring_free(struct task_struct *tsk) in io_uring_free()
Dstackleak.h23 stackleak_task_low_bound(const struct task_struct *tsk) in stackleak_task_low_bound()
37 stackleak_task_high_bound(const struct task_struct *tsk) in stackleak_task_high_bound()
Dsyscall_user_dispatch.h16 #define clear_syscall_work_syscall_user_dispatch(tsk) \ argument
33 static inline void clear_syscall_work_syscall_user_dispatch(struct task_struct *tsk) in clear_syscall_work_syscall_user_dispatch()
Dseccomp.h78 static inline void seccomp_filter_release(struct task_struct *tsk) in seccomp_filter_release()
82 static inline void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter()
Diocontext.h122 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io()
132 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io()
Dhw_breakpoint.h109 struct task_struct *tsk) { return NULL; } in register_user_hw_breakpoint()
137 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } in flush_ptrace_hw_breakpoint()
Dtaskstats_kern.h28 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dstacktrace.h103 static inline int stack_trace_save_tsk_reliable(struct task_struct *tsk, in stack_trace_save_tsk_reliable()
Dtime_namespace.h116 static inline void timens_commit(struct task_struct *tsk, in timens_commit()
142 struct task_struct *tsk) in timens_on_fork()
/include/linux/fsl/bestcomm/
Dbestcomm.h90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq()
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex()
127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty()
137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd()
160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done()
177 bcom_prepare_next_buffer(struct bcom_task *tsk) in bcom_prepare_next_buffer()
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer()
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) in bcom_retrieve_buffer()
/include/asm-generic/
Dmmu_context.h22 struct task_struct *tsk) in enter_lazy_tlb()
34 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
70 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
Dnommu_context.h13 struct task_struct *tsk) in switch_mm()

12