Lines Matching defs:task
287 struct task_struct *task = current; in kernel_dequeue_signal() local
458 static inline void clear_tsk_restore_sigmask(struct task_struct *task) in clear_tsk_restore_sigmask()
467 static inline bool test_tsk_restore_sigmask(struct task_struct *task) in test_tsk_restore_sigmask()
487 static inline void clear_tsk_restore_sigmask(struct task_struct *task) in clear_tsk_restore_sigmask()
499 static inline bool test_tsk_restore_sigmask(struct task_struct *task) in test_tsk_restore_sigmask()
640 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
650 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid()
660 static inline struct pid *task_pgrp(struct task_struct *task) in task_pgrp()
665 static inline struct pid *task_session(struct task_struct *task) in task_session()
670 static inline int get_nr_threads(struct task_struct *task) in get_nr_threads()
705 static inline struct sighand_struct *lock_task_sighand(struct task_struct *task, in lock_task_sighand()
715 static inline void unlock_task_sighand(struct task_struct *task, in unlock_task_sighand()
724 static inline void lockdep_assert_task_sighand_held(struct task_struct *task) { } in lockdep_assert_task_sighand_held()
727 static inline unsigned long task_rlimit(const struct task_struct *task, in task_rlimit()
733 static inline unsigned long task_rlimit_max(const struct task_struct *task, in task_rlimit_max()