Lines Matching defs:tsk
255 #define __set_task_state(tsk, state_value) \ argument
257 #define set_task_state(tsk, state_value) \ argument
1796 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) argument
1875 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1880 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, in task_pid_nr_ns()
1886 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1892 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1900 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, in task_pgrp_nr_ns()
1906 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1912 static inline pid_t task_session_nr_ns(struct task_struct *tsk, in task_session_nr_ns()
1918 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1923 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
1928 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1933 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
1945 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
1951 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
1979 static inline int is_global_init(struct task_struct *tsk) in is_global_init()
1987 #define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0) argument
2426 static inline void kick_process(struct task_struct *tsk) { } in kick_process()
2438 static inline int dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal_lock()
2569 static inline void exit_thread(struct task_struct *tsk) in exit_thread()
2590 static inline void set_task_comm(struct task_struct *tsk, const char *from) in set_task_comm()
2636 static inline int get_nr_threads(struct task_struct *tsk) in get_nr_threads()
2700 static inline struct sighand_struct *lock_task_sighand(struct task_struct *tsk, in lock_task_sighand()
2710 static inline void unlock_task_sighand(struct task_struct *tsk, in unlock_task_sighand()
2717 static inline void threadgroup_change_begin(struct task_struct *tsk) in threadgroup_change_begin()
2721 static inline void threadgroup_change_end(struct task_struct *tsk) in threadgroup_change_end()
2742 static inline void threadgroup_lock(struct task_struct *tsk) in threadgroup_lock()
2753 static inline void threadgroup_unlock(struct task_struct *tsk) in threadgroup_unlock()
2758 static inline void threadgroup_change_begin(struct task_struct *tsk) {} in threadgroup_change_begin()
2759 static inline void threadgroup_change_end(struct task_struct *tsk) {} in threadgroup_change_end()
2760 static inline void threadgroup_lock(struct task_struct *tsk) {} in threadgroup_lock()
2761 static inline void threadgroup_unlock(struct task_struct *tsk) {} in threadgroup_unlock()
2823 static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) in set_tsk_thread_flag()
2828 static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) in clear_tsk_thread_flag()
2833 static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_set_tsk_thread_flag()
2838 static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_clear_tsk_thread_flag()
2843 static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag) in test_tsk_thread_flag()
2848 static inline void set_tsk_need_resched(struct task_struct *tsk) in set_tsk_need_resched()
2853 static inline void clear_tsk_need_resched(struct task_struct *tsk) in clear_tsk_need_resched()
2858 static inline int test_tsk_need_resched(struct task_struct *tsk) in test_tsk_need_resched()
3104 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
3109 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
3114 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
3119 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
3124 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
3129 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
3133 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
3137 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
3141 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
3144 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
3150 #define TASK_SIZE_OF(tsk) TASK_SIZE argument
3161 static inline unsigned long task_rlimit(const struct task_struct *tsk, in task_rlimit()
3167 static inline unsigned long task_rlimit_max(const struct task_struct *tsk, in task_rlimit_max()