Lines Matching defs:sched_ext_ops
267 struct sched_ext_ops { struct
293 s32 (*select_cpu)(struct task_struct *p, s32 prev_cpu, u64 wake_flags);
308 void (*enqueue)(struct task_struct *p, u64 enq_flags);
324 void (*dequeue)(struct task_struct *p, u64 deq_flags);
347 void (*dispatch)(s32 cpu, struct task_struct *prev);
357 void (*tick)(struct task_struct *p);
384 void (*runnable)(struct task_struct *p, u64 enq_flags);
401 void (*running)(struct task_struct *p);
421 void (*stopping)(struct task_struct *p, bool runnable);
441 void (*quiescent)(struct task_struct *p, u64 deq_flags);
456 bool (*yield)(struct task_struct *from, struct task_struct *to);
474 bool (*core_sched_before)(struct task_struct *a, struct task_struct *b);
483 void (*set_weight)(struct task_struct *p, u32 weight);
492 void (*set_cpumask)(struct task_struct *p,
515 void (*update_idle)(s32 cpu, bool idle);
525 void (*cpu_acquire)(s32 cpu, struct scx_cpu_acquire_args *args);
537 void (*cpu_release)(s32 cpu, struct scx_cpu_release_args *args);
552 s32 (*init_task)(struct task_struct *p, struct scx_init_task_args *args);
562 void (*exit_task)(struct task_struct *p, struct scx_exit_task_args *args);
571 void (*enable)(struct task_struct *p);
581 void (*disable)(struct task_struct *p);
589 void (*dump)(struct scx_dump_ctx *ctx);
601 void (*dump_cpu)(struct scx_dump_ctx *ctx, s32 cpu, bool idle);
611 void (*dump_task)(struct scx_dump_ctx *ctx, struct task_struct *p);
626 s32 (*cgroup_init)(struct cgroup *cgrp,
636 void (*cgroup_exit)(struct cgroup *cgrp);
650 s32 (*cgroup_prep_move)(struct task_struct *p,
661 void (*cgroup_move)(struct task_struct *p,
673 void (*cgroup_cancel_move)(struct task_struct *p,
683 void (*cgroup_set_weight)(struct cgroup *cgrp, u32 weight);
703 void (*cgroup_set_bandwidth)(struct cgroup *cgrp,
719 void (*cpu_online)(s32 cpu);
728 void (*cpu_offline)(s32 cpu);
737 s32 (*init)(void);
747 void (*exit)(struct scx_exit_info *info);
752 u32 dispatch_max_batch;
757 u64 flags;
787 * '_' and '.' chars. Shows up in kernel.sched_ext_ops sysctl while the argument
790 char name[SCX_OPS_NAME_LEN];
793 void *priv;