Lines Matching refs:sched_ext_ops

12 #define SCX_OP_IDX(op)		(offsetof(struct sched_ext_ops, op) / sizeof(void (*)(void)))
248 struct sched_ext_ops { struct
922 static struct sched_ext_ops scx_ops;
5212 static void check_hotplug_seq(const struct sched_ext_ops *ops) in check_hotplug_seq()
5231 static int validate_ops(const struct sched_ext_ops *ops) in validate_ops()
5258 static int scx_ops_enable(struct sched_ext_ops *ops, struct bpf_link *link) in scx_ops_enable()
5648 const struct sched_ext_ops *uops = udata; in bpf_scx_init_member()
5649 struct sched_ext_ops *ops = kdata; in bpf_scx_init_member()
5654 case offsetof(struct sched_ext_ops, dispatch_max_batch): in bpf_scx_init_member()
5659 case offsetof(struct sched_ext_ops, flags): in bpf_scx_init_member()
5664 case offsetof(struct sched_ext_ops, name): in bpf_scx_init_member()
5672 case offsetof(struct sched_ext_ops, timeout_ms): in bpf_scx_init_member()
5678 case offsetof(struct sched_ext_ops, exit_dump_len): in bpf_scx_init_member()
5682 case offsetof(struct sched_ext_ops, hotplug_seq): in bpf_scx_init_member()
5697 case offsetof(struct sched_ext_ops, init_task): in bpf_scx_check_member()
5699 case offsetof(struct sched_ext_ops, cgroup_init): in bpf_scx_check_member()
5700 case offsetof(struct sched_ext_ops, cgroup_exit): in bpf_scx_check_member()
5701 case offsetof(struct sched_ext_ops, cgroup_prep_move): in bpf_scx_check_member()
5703 case offsetof(struct sched_ext_ops, cpu_online): in bpf_scx_check_member()
5704 case offsetof(struct sched_ext_ops, cpu_offline): in bpf_scx_check_member()
5705 case offsetof(struct sched_ext_ops, init): in bpf_scx_check_member()
5706 case offsetof(struct sched_ext_ops, exit): in bpf_scx_check_member()
5787 static struct sched_ext_ops __bpf_ops_sched_ext_ops = {
7434 ret = register_bpf_struct_ops(&bpf_sched_ext_ops, sched_ext_ops); in scx_init()