• Home
  • Raw
  • Download

Lines Matching defs:tsk

185 #define __set_task_state(tsk, state_value)		\  argument
187 #define set_task_state(tsk, state_value) \ argument
1424 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) argument
1481 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1486 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, in task_pid_nr_ns()
1492 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1498 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1504 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, in task_pgrp_nr_ns()
1510 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1516 static inline pid_t task_session_nr_ns(struct task_struct *tsk, in task_session_nr_ns()
1522 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1527 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
1532 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1538 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
1562 static inline int is_global_init(struct task_struct *tsk) in is_global_init()
1570 #define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0) argument
2000 static inline void kick_process(struct task_struct *tsk) { } in kick_process()
2012 static inline int dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal_lock()
2197 static inline int get_nr_threads(struct task_struct *tsk) in get_nr_threads()
2261 static inline struct sighand_struct *lock_task_sighand(struct task_struct *tsk, in lock_task_sighand()
2271 static inline void unlock_task_sighand(struct task_struct *tsk, in unlock_task_sighand()
2278 static inline void threadgroup_change_begin(struct task_struct *tsk) in threadgroup_change_begin()
2282 static inline void threadgroup_change_end(struct task_struct *tsk) in threadgroup_change_end()
2303 static inline void threadgroup_lock(struct task_struct *tsk) in threadgroup_lock()
2314 static inline void threadgroup_unlock(struct task_struct *tsk) in threadgroup_unlock()
2319 static inline void threadgroup_change_begin(struct task_struct *tsk) {} in threadgroup_change_begin()
2320 static inline void threadgroup_change_end(struct task_struct *tsk) {} in threadgroup_change_end()
2321 static inline void threadgroup_lock(struct task_struct *tsk) {} in threadgroup_lock()
2322 static inline void threadgroup_unlock(struct task_struct *tsk) {} in threadgroup_unlock()
2368 static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) in set_tsk_thread_flag()
2373 static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) in clear_tsk_thread_flag()
2378 static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_set_tsk_thread_flag()
2383 static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_clear_tsk_thread_flag()
2388 static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag) in test_tsk_thread_flag()
2393 static inline void set_tsk_need_resched(struct task_struct *tsk) in set_tsk_need_resched()
2398 static inline void clear_tsk_need_resched(struct task_struct *tsk) in clear_tsk_need_resched()
2403 static inline int test_tsk_need_resched(struct task_struct *tsk) in test_tsk_need_resched()
2600 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
2605 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
2610 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
2615 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
2620 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
2625 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
2629 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
2633 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
2637 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
2640 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
2646 #define TASK_SIZE_OF(tsk) TASK_SIZE argument
2662 static inline unsigned long task_rlimit(const struct task_struct *tsk, in task_rlimit()
2668 static inline unsigned long task_rlimit_max(const struct task_struct *tsk, in task_rlimit_max()