Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dfl_nodispatch.bpf.c31 s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags,
35 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
46 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, in BPF_STRUCT_OPS()
H A Denq_select_cpu_fails.bpf.c
H A Dexit.bpf.c21 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
28 return scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &found); in BPF_STRUCT_OPS()
H A Dselect_cpu_dispatch_bad_dsq.bpf.c18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dselect_cpu_dispatch_dbl_dsp.bpf.c18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dddsp_bogus_dsq_fail.bpf.c14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dselect_cpu_dispatch.bpf.c16 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dddsp_vtimelocal_fail.bpf.c14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Ddsp_local_on.bpf.c20 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dselect_cpu_vtime.bpf.c39 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dmaximal.bpf.c18 u64 wake_flags) in BPF_STRUCT_OPS() argument
/linux/kernel/sched/
H A Dext_idle.c457 s32 scx_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, in scx_select_cpu_dfl() argument
525 if (wake_flags & SCX_WAKE_SYNC) { in scx_select_cpu_dfl()
913 s32 prev_cpu, u64 wake_flags, in select_cpu_from_kfunc() argument
965 cpu = scx_select_cpu_dfl(p, prev_cpu, wake_flags, in select_cpu_from_kfunc()
1015 u64 wake_flags, bool *is_idle, in scx_bpf_select_cpu_dfl() argument
1027 cpu = select_cpu_from_kfunc(sch, p, prev_cpu, wake_flags, NULL, 0); in scx_bpf_select_cpu_dfl()
1039 u64 wake_flags; member
1081 return select_cpu_from_kfunc(sch, p, args->prev_cpu, args->wake_flags, in __scx_bpf_select_cpu_and()
1088 __bpf_kfunc s32 scx_bpf_select_cpu_and(struct task_struct *p, s32 prev_cpu, u64 wake_flags, in scx_bpf_select_cpu_and() argument
1110 return select_cpu_from_kfunc(sch, p, prev_cpu, wake_flags, in scx_bpf_select_cpu_and()
H A Dwait.c93 int nr_exclusive, int wake_flags, void *key) in __wake_up_common() argument
108 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common()
119 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
125 remaining = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, in __wake_up_common_lock()
H A Dswait.c22 void swake_up_locked(struct swait_queue_head *q, int wake_flags) in swake_up_locked() argument
30 try_to_wake_up(curr->task, TASK_NORMAL, wake_flags); in swake_up_locked()
H A Dcompletion.c21 static void complete_with_flags(struct completion *x, int wake_flags) in complete_with_flags() argument
29 swake_up_locked(&x->wait, wake_flags); in complete_with_flags()
H A Dext_idle.h21 s32 scx_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags,
H A Dcore.c3574 int select_task_rq(struct task_struct *p, int cpu, int *wake_flags) in select_task_rq() argument
3579 cpu = p->sched_class->select_task_rq(p, cpu, *wake_flags); in select_task_rq()
3580 *wake_flags |= WF_RQ_SELECTED; in select_task_rq()
3647 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat() argument
3673 if (wake_flags & WF_MIGRATED) in ttwu_stat()
3679 if (wake_flags & WF_SYNC) in ttwu_stat()
3705 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate() argument
3715 if (wake_flags & WF_RQ_SELECTED) in ttwu_do_activate()
3717 if (wake_flags & WF_MIGRATED) in ttwu_do_activate()
3726 wakeup_preempt(rq, p, wake_flags); in ttwu_do_activate()
[all …]
H A Dext_internal.h318 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags);
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h253 s32 scx_bpf_select_cpu_and___compat(struct task_struct *p, s32 prev_cpu, u64 wake_flags, in scx_bpf_select_cpu_and()
262 * @wake_flags: %SCX_WAKE_* flags in scx_bpf_select_cpu_and()
270 scx_bpf_select_cpu_and(struct task_struct *p, s32 prev_cpu, u64 wake_flags,
276 .wake_flags = wake_flags,
282 return scx_bpf_select_cpu_and___compat(p, prev_cpu, wake_flags, in scx_bpf_dsq_insert_vtime()
252 scx_bpf_select_cpu_and(struct task_struct * p,s32 prev_cpu,u64 wake_flags,const struct cpumask * cpus_allowed,u64 flags) scx_bpf_select_cpu_and() argument
/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()
/linux/tools/sched_ext/
H A Dscx_cpu0.bpf.c45 s32 BPF_STRUCT_OPS(cpu0_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
H A Dscx_central.bpf.c92 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS()
91 BPF_STRUCT_OPS(central_select_cpu,struct task_struct * p,s32 prev_cpu,u64 wake_flags) BPF_STRUCT_OPS() argument
H A Dscx_flatcg.bpf.c317 s32 BPF_STRUCT_OPS(fcg_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
323 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &is_idle); in BPF_STRUCT_OPS()
/linux/io_uring/
H A Dwait.c19 int wake_flags, void *key) in io_wake_function() argument
28 return autoremove_wake_function(curr, mode, wake_flags, key); in io_wake_function()
/linux/include/linux/
H A Dswait.h149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);

12