Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
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()
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()
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()
Dcore.c3630 int select_task_rq(struct task_struct *p, int cpu, int wake_flags) in select_task_rq() argument
3635 cpu = p->sched_class->select_task_rq(p, cpu, wake_flags); in select_task_rq()
3723 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat() argument
3750 if (wake_flags & WF_MIGRATED) in ttwu_stat()
3757 if (wake_flags & WF_SYNC) in ttwu_stat()
3771 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate() argument
3782 if (wake_flags & WF_MIGRATED) in ttwu_do_activate()
3792 check_preempt_curr(rq, p, wake_flags); in ttwu_do_activate()
3849 static int ttwu_runnable(struct task_struct *p, int wake_flags) in ttwu_runnable() argument
3863 check_preempt_curr(rq, p, wake_flags); in ttwu_runnable()
[all …]
Dfair.c8014 select_task_rq_fair(struct task_struct *p, int prev_cpu, int wake_flags) in select_task_rq_fair() argument
8016 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING); in select_task_rq_fair()
8022 int sd_flag = wake_flags & 0xF; in select_task_rq_fair()
8028 if (wake_flags & WF_TTWU) { in select_task_rq_fair()
8031 if ((wake_flags & WF_CURRENT_CPU) && in select_task_rq_fair()
8074 } else if (wake_flags & WF_TTWU) { /* XXX always ? */ in select_task_rq_fair()
8143 static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_flags) in check_preempt_wakeup() argument
8163 if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) { in check_preempt_wakeup()
Dsched.h3275 extern int try_to_wake_up(struct task_struct *tsk, unsigned int state, int wake_flags);
/linux-6.6.21/drivers/gpu/drm/i915/
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()
/linux-6.6.21/kernel/locking/
Dpercpu-rwsem.c120 unsigned int mode, int wake_flags, in percpu_rwsem_wake_function() argument
/linux-6.6.21/include/linux/
Dswait.h149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);
/linux-6.6.21/block/
Dblk-rq-qos.c207 unsigned int mode, int wake_flags, void *key) in rq_qos_wake_function() argument
/linux-6.6.21/fs/
Duserfaultfd.c157 int wake_flags, void *key) in userfaultfd_wake_function() argument
/linux-6.6.21/io_uring/
Dio_uring.c2494 int wake_flags, void *key) in io_wake_function() argument
2503 return autoremove_wake_function(curr, mode, wake_flags, key); in io_wake_function()