Lines Matching refs:sync
642 static inline void check_preempt_curr(struct rq *rq, struct task_struct *p, int sync) in check_preempt_curr() argument
644 rq->curr->sched_class->check_preempt_curr(rq, p, sync); in check_preempt_curr()
2259 static int try_to_wake_up(struct task_struct *p, unsigned int state, int sync) in try_to_wake_up() argument
2267 sync = 0; in try_to_wake_up()
2303 cpu = p->sched_class->select_task_rq(p, sync); in try_to_wake_up()
2337 if (sync) in try_to_wake_up()
2350 check_preempt_curr(rq, p, sync); in try_to_wake_up()
4737 int default_wake_function(wait_queue_t *curr, unsigned mode, int sync, in default_wake_function() argument
4740 return try_to_wake_up(curr->private, mode, sync); in default_wake_function()
4754 int nr_exclusive, int sync, void *key) in __wake_up_common() argument
4761 if (curr->func(curr, mode, sync, key) && in __wake_up_common()
4810 int sync = 1; in __wake_up_sync() local
4816 sync = 0; in __wake_up_sync()
4819 __wake_up_common(q, mode, nr_exclusive, sync, NULL); in __wake_up_sync()