| /linux/tools/testing/selftests/sched_ext/ |
| H A D | select_cpu_dfl_nodispatch.bpf.c | 31 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 D | enq_select_cpu_fails.bpf.c | |
| H A D | exit.bpf.c | 21 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 D | allowed_cpus.bpf.c | 63 struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 78 cpu = scx_bpf_select_cpu_and(p, prev_cpu, wake_flags, allowed, 0); in BPF_STRUCT_OPS()
|
| H A D | select_cpu_dispatch_bad_dsq.bpf.c | 18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | select_cpu_dispatch_dbl_dsp.bpf.c | 18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | select_cpu_dispatch.bpf.c | 16 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | ddsp_bogus_dsq_fail.bpf.c | 14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | ddsp_vtimelocal_fail.bpf.c | 14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | nohz_tick.bpf.c | 20 u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | dequeue_iter.bpf.c | 28 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | dsp_local_on.bpf.c | 20 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | select_cpu_vtime.bpf.c | 39 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | numa.bpf.c | 50 struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | maximal.bpf.c | 18 u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| /linux/kernel/sched/ext/ |
| H A D | idle.c | 458 s32 scx_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, in scx_select_cpu_dfl() argument 526 if (wake_flags & SCX_WAKE_SYNC) { in scx_select_cpu_dfl() 956 s32 prev_cpu, u64 wake_flags, in select_cpu_from_kfunc() argument 1008 cpu = scx_select_cpu_dfl(p, prev_cpu, wake_flags, in select_cpu_from_kfunc() 1058 u64 wake_flags, bool *is_idle, in scx_bpf_select_cpu_dfl() argument 1070 cpu = select_cpu_from_kfunc(sch, p, prev_cpu, wake_flags, NULL, 0); in scx_bpf_select_cpu_dfl() 1082 u64 wake_flags; member 1124 return select_cpu_from_kfunc(sch, p, args->prev_cpu, args->wake_flags, in __scx_bpf_select_cpu_and() 1131 __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 1160 return select_cpu_from_kfunc(sch, p, prev_cpu, wake_flags, in scx_bpf_select_cpu_and()
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.bpf.h | 278 s32 scx_bpf_select_cpu_and___compat(struct task_struct *p, s32 prev_cpu, u64 wake_flags, 295 scx_bpf_select_cpu_and(struct task_struct *p, s32 prev_cpu, u64 wake_flags, in scx_bpf_select_cpu_and() argument 301 .wake_flags = wake_flags, in scx_bpf_select_cpu_and() 307 return scx_bpf_select_cpu_and___compat(p, prev_cpu, wake_flags, in scx_bpf_select_cpu_and()
|
| /linux/kernel/sched/ |
| H A D | swait.c | 22 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 D | completion.c | 21 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 D | core.c | 3631 int select_task_rq(struct task_struct *p, int cpu, int *wake_flags) in select_task_rq() argument 3636 cpu = p->sched_class->select_task_rq(p, cpu, *wake_flags); in select_task_rq() 3637 *wake_flags |= WF_RQ_SELECTED; in select_task_rq() 3704 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat() argument 3730 if (wake_flags & WF_MIGRATED) in ttwu_stat() 3736 if (wake_flags & WF_SYNC) in ttwu_stat() 3828 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate() argument 3838 if (wake_flags & WF_RQ_SELECTED) in ttwu_do_activate() 3840 if (wake_flags & WF_MIGRATED) in ttwu_do_activate() 3848 wakeup_preempt(rq, p, wake_flags); in ttwu_do_activate() 3888 ttwu_runnable(struct task_struct * p,int wake_flags) ttwu_runnable() argument 3973 __ttwu_queue_wakelist(struct task_struct * p,int cpu,int wake_flags) __ttwu_queue_wakelist() argument 4079 ttwu_queue_wakelist(struct task_struct * p,int cpu,int wake_flags) ttwu_queue_wakelist() argument 4090 ttwu_queue(struct task_struct * p,int cpu,int wake_flags) ttwu_queue() argument 4274 try_to_wake_up(struct task_struct * p,unsigned int state,int wake_flags) try_to_wake_up() argument 4968 int wake_flags = WF_FORK; wake_up_new_task() local 7614 default_wake_function(wait_queue_entry_t * curr,unsigned mode,int wake_flags,void * key) default_wake_function() argument [all...] |
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_sw_fence.c | 171 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 D | scx_cpu0.bpf.c | 43 s32 BPF_STRUCT_OPS(cpu0_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in stat_inc() 45 BPF_STRUCT_OPS(cpu0_select_cpu,struct task_struct * p,s32 prev_cpu,u64 wake_flags) BPF_STRUCT_OPS() argument
|
| H A D | scx_central.bpf.c | 92 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
| H A D | scx_flatcg.bpf.c | 317 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/include/linux/ |
| H A D | swait.h | 149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);
|