Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/sched/
Dwait.c67 int nr_exclusive, int wake_flags, void *key, in __wake_up_common() argument
93 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common()
111 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
124 wake_flags, key, &bookmark); in __wake_up_common_lock()
Dcore.c2475 int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) in select_task_rq() argument
2484 cpu = p->sched_class->select_task_rq(p, cpu, sd_flags, wake_flags); in select_task_rq()
2551 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat() argument
2578 if (wake_flags & WF_MIGRATED) in ttwu_stat()
2585 if (wake_flags & WF_SYNC) in ttwu_stat()
2592 static void ttwu_do_wakeup(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_wakeup() argument
2595 check_preempt_curr(rq, p, wake_flags); in ttwu_do_wakeup()
2625 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate() argument
2636 if (wake_flags & WF_MIGRATED) in ttwu_do_activate()
2646 ttwu_do_wakeup(rq, p, wake_flags, rf); in ttwu_do_activate()
[all …]
Dfair.c7042 select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags) in select_task_rq_fair() argument
7048 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING); in select_task_rq_fair()
7305 static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_flags) in check_preempt_wakeup() argument
7325 if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) { in check_preempt_wakeup()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sw_fence.c167 int wake_flags; in __i915_sw_fence_wake_up_all() local
169 wake_flags = fence->error; in __i915_sw_fence_wake_up_all()
171 wake_flags = 0; in __i915_sw_fence_wake_up_all()
173 pos->func(pos, TASK_NORMAL, wake_flags, &extra); in __i915_sw_fence_wake_up_all()
/kernel/linux/linux-5.10/kernel/locking/
Dpercpu-rwsem.c118 unsigned int mode, int wake_flags, in percpu_rwsem_wake_function() argument
/kernel/linux/linux-5.10/block/
Dblk-rq-qos.c213 unsigned int mode, int wake_flags, void *key) in rq_qos_wake_function() argument
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch1125 @@ -2627,6 +2653,9 @@ ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags,
1129 + if (wake_flags & WF_SYNC)
1135 @@ -3019,6 +3048,19 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags)
1156 int default_wake_function(wait_queue_entry_t *curr, unsigned mode, int wake_flags,
1159 - WARN_ON_ONCE(IS_ENABLED(CONFIG_SCHED_DEBUG) && wake_flags & ~WF_SYNC);
1160 + WARN_ON_ONCE(IS_ENABLED(CONFIG_SCHED_DEBUG) && wake_flags & ~(WF_SYNC));
1161 return try_to_wake_up(curr->private, mode, wake_flags);
/kernel/linux/linux-5.10/fs/
Duserfaultfd.c109 int wake_flags, void *key) in userfaultfd_wake_function() argument
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c7548 int wake_flags, void *key) in io_wake_function() argument
7558 return autoremove_wake_function(curr, mode, wake_flags, key); in io_wake_function()