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.c3746 if (wake_flags & WF_MIGRATED) in ttwu_stat()
3753 if (wake_flags & WF_SYNC) in ttwu_stat()
3778 if (wake_flags & WF_MIGRATED) in ttwu_do_activate()
3788 check_preempt_curr(rq, p, wake_flags); in ttwu_do_activate()
3859 check_preempt_curr(rq, p, wake_flags); in ttwu_runnable()
4003 __ttwu_queue_wakelist(p, cpu, wake_flags); in ttwu_queue_wakelist()
4024 if (ttwu_queue_wakelist(p, cpu, wake_flags)) in ttwu_queue()
4029 ttwu_do_activate(rq, p, wake_flags, &rf); in ttwu_queue()
4338 wake_flags |= WF_MIGRATED; in try_to_wake_up()
4346 ttwu_queue(p, cpu, wake_flags); in try_to_wake_up()
[all …]
H A Dfair.c8045 select_task_rq_fair(struct task_struct *p, int prev_cpu, int wake_flags) in select_task_rq_fair() argument
8047 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING); in select_task_rq_fair()
8053 int sd_flag = wake_flags & 0xF; in select_task_rq_fair()
8059 if (wake_flags & WF_TTWU) { in select_task_rq_fair()
8062 if ((wake_flags & WF_CURRENT_CPU) && in select_task_rq_fair()
8105 } else if (wake_flags & WF_TTWU) { /* XXX always ? */ in select_task_rq_fair()
8174 static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_flags) in check_preempt_wakeup() argument
8194 if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) { in check_preempt_wakeup()
H A Dsched.h3278 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/include/linux/
H A Dswait.h149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);
/openbmc/linux/kernel/locking/
H A Dpercpu-rwsem.c120 unsigned int mode, int wake_flags, in percpu_rwsem_wake_function() argument
/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.c2471 int wake_flags, void *key) in io_wake_function() argument
2480 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)