Lines Matching refs:task_struct
79 struct task_struct * init_tasks[NR_CPUS] = {&init_task, };
103 struct task_struct * curr;
113 extern struct task_struct *child_reaper;
144 static inline int goodness(struct task_struct * p, int this_cpu, struct mm_struct *this_mm) in goodness()
200 static inline int preemption_goodness(struct task_struct * prev, struct task_struct * p, int cpu) in preemption_goodness()
210 static FASTCALL(void reschedule_idle(struct task_struct * p));
212 static void fastcall reschedule_idle(struct task_struct * p) in reschedule_idle()
216 struct task_struct *tsk, *target_tsk; in reschedule_idle()
310 struct task_struct *tsk; in reschedule_idle()
329 static inline void add_to_runqueue(struct task_struct * p) in add_to_runqueue()
335 static inline void move_last_runqueue(struct task_struct * p) in move_last_runqueue()
349 static inline int try_to_wake_up(struct task_struct * p, int synchronous) in try_to_wake_up()
370 inline int fastcall wake_up_process(struct task_struct * p) in wake_up_process()
377 struct task_struct * p = (struct task_struct *) __data; in process_timeout()
465 static inline void __schedule_tail(struct task_struct *prev) in __schedule_tail()
532 asmlinkage void schedule_tail(struct task_struct *prev) in schedule_tail()
550 struct task_struct *prev, *next, *p; in schedule()
607 p = list_entry(tmp, struct task_struct, run_list); in schedule()
617 struct task_struct *p; in schedule()
718 struct task_struct *p; in __wake_up_common()
863 void set_cpus_allowed(struct task_struct *p, unsigned long new_mask) in set_cpus_allowed()
928 static inline struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
930 struct task_struct *tsk = current; in find_process_by_pid()
941 struct task_struct *p; in setscheduler()
1018 struct task_struct *p; in sys_sched_getscheduler()
1038 struct task_struct *p; in sys_sched_getparam()
1161 struct task_struct *p; in sys_sched_rr_get_interval()
1180 static void show_task(struct task_struct * p) in show_task()
1228 extern void show_trace_task(struct task_struct *tsk); in show_task()
1250 struct task_struct *p; in show_state()
1287 struct task_struct *this_task = current; in reparent_to_init()