Home
last modified time | relevance | path

Searched refs:wake_flags (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/kernel/sched/
H A Dwait.c81 int nr_exclusive, int wake_flags, void *key, in __wake_up_common() argument
107 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common()
125 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
139 wake_flags, key, &bookmark); in __wake_up_common_lock()
H A Dswait.c21 void swake_up_locked(struct swait_queue_head *q, int wake_flags) in swake_up_locked() argument
29 try_to_wake_up(curr->task, TASK_NORMAL, wake_flags); in swake_up_locked()
H A Dcompletion.c16 static void complete_with_flags(struct completion *x, int wake_flags) in complete_with_flags() argument
24 swake_up_locked(&x->wait, wake_flags); in complete_with_flags()
H A Dcore.c3628 int select_task_rq(struct task_struct *p, int cpu, int wake_flags) in select_task_rq() argument
3633 cpu = p->sched_class->select_task_rq(p, cpu, wake_flags); in select_task_rq()
3721 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat() argument
3748 if (wake_flags & WF_MIGRATED) in ttwu_stat()
3755 if (wake_flags & WF_SYNC) in ttwu_stat()
3769 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate() argument
3780 if (wake_flags & WF_MIGRATED) in ttwu_do_activate()
3790 wakeup_preempt(rq, p, wake_flags); in ttwu_do_activate()
3847 static int ttwu_runnable(struct task_struct *p, int wake_flags) in ttwu_runnable() argument
3861 wakeup_preempt(rq, p, wake_flags); in ttwu_runnable()
[all …]
H A Dfair.c8157 select_task_rq_fair(struct task_struct *p, int prev_cpu, int wake_flags) in select_task_rq_fair()
8159 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING); in select_task_rq_fair()
8165 int sd_flag = wake_flags & 0xF; in select_task_rq_fair()
8171 if (wake_flags & WF_TTWU) { in select_task_rq_fair()
8174 if ((wake_flags & WF_CURRENT_CPU) && in select_task_rq_fair()
8217 } else if (wake_flags & WF_TTWU) { /* XXX always ? */ in select_task_rq_fair()
8286 static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int wake_flags) in check_preempt_wakeup_fair()
8306 if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) { in check_preempt_wakeup_fair()
8155 select_task_rq_fair(struct task_struct * p,int prev_cpu,int wake_flags) select_task_rq_fair() argument
8284 check_preempt_wakeup_fair(struct rq * rq,struct task_struct * p,int wake_flags) check_preempt_wakeup_fair() argument
H A Dsched.h3283 extern int try_to_wake_up(struct task_struct *tsk, unsigned int state, int wake_flags);
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence.c171 int wake_flags; in __i915_sw_fence_wake_up_all() local
173 wake_flags = 0; in __i915_sw_fence_wake_up_all()
175 wake_flags = fence->error; in __i915_sw_fence_wake_up_all()
177 pos->func(pos, TASK_NORMAL, wake_flags, &extra); in __i915_sw_fence_wake_up_all()
/openbmc/linux/kernel/locking/
H A Dpercpu-rwsem.c120 unsigned int mode, int wake_flags, in percpu_rwsem_wake_function() argument
/openbmc/linux/include/linux/
H A Dswait.h149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);
/openbmc/linux/block/
H A Dblk-rq-qos.c207 unsigned int mode, int wake_flags, void *key) in rq_qos_wake_function() argument
/openbmc/linux/fs/
H A Duserfaultfd.c157 int wake_flags, void *key) in userfaultfd_wake_function() argument
/openbmc/linux/io_uring/
H A Dio_uring.c2503 int wake_flags, void *key) in io_wake_function() argument
2512 return autoremove_wake_function(curr, mode, wake_flags, key); in io_wake_function()
/openbmc/openbmc/poky/documentation/profile-manual/
H A Dusage.rst619 ttwu_do_wakeup(struct rq *rq, struct task_struct *p, int wake_flags)