Lines Matching defs:tsk

256 #define __set_task_state(tsk, state_value)			\  argument
261 #define set_task_state(tsk, state_value) \ argument
291 #define __set_task_state(tsk, state_value) \ argument
293 #define set_task_state(tsk, state_value) \ argument
1835 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) argument
1915 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1920 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, in task_pid_nr_ns()
1926 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1932 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1939 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1946 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
1958 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
1963 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, in task_pgrp_nr_ns()
1969 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1975 static inline pid_t task_session_nr_ns(struct task_struct *tsk, in task_session_nr_ns()
1981 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1987 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
2016 static inline int is_global_init(struct task_struct *tsk) in is_global_init()
2024 #define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0) argument
2460 static inline void kick_process(struct task_struct *tsk) { } in kick_process()
2473 struct task_struct *tsk = current; in kernel_dequeue_signal() local
2638 static inline void set_task_comm(struct task_struct *tsk, const char *from) in set_task_comm()
2687 static inline int get_nr_threads(struct task_struct *tsk) in get_nr_threads()
2751 static inline struct sighand_struct *lock_task_sighand(struct task_struct *tsk, in lock_task_sighand()
2761 static inline void unlock_task_sighand(struct task_struct *tsk, in unlock_task_sighand()
2778 static inline void threadgroup_change_begin(struct task_struct *tsk) in threadgroup_change_begin()
2790 static inline void threadgroup_change_end(struct task_struct *tsk) in threadgroup_change_end()
2854 static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) in set_tsk_thread_flag()
2859 static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) in clear_tsk_thread_flag()
2864 static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_set_tsk_thread_flag()
2869 static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_clear_tsk_thread_flag()
2874 static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag) in test_tsk_thread_flag()
2879 static inline void set_tsk_need_resched(struct task_struct *tsk) in set_tsk_need_resched()
2884 static inline void clear_tsk_need_resched(struct task_struct *tsk) in clear_tsk_need_resched()
2889 static inline int test_tsk_need_resched(struct task_struct *tsk) in test_tsk_need_resched()
3124 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
3129 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
3134 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
3139 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
3144 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
3148 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
3152 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
3156 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
3162 #define TASK_SIZE_OF(tsk) TASK_SIZE argument
3173 static inline unsigned long task_rlimit(const struct task_struct *tsk, in task_rlimit()
3179 static inline unsigned long task_rlimit_max(const struct task_struct *tsk, in task_rlimit_max()