Lines Matching refs:sched_ext_ops

9 #define SCX_OP_IDX(op)		(offsetof(struct sched_ext_ops, op) / sizeof(void (*)(void)))
221 struct sched_ext_ops { struct
894 static struct sched_ext_ops scx_ops;
5519 static void check_hotplug_seq(const struct sched_ext_ops *ops) in check_hotplug_seq()
5538 static int validate_ops(const struct sched_ext_ops *ops) in validate_ops()
5552 static int scx_ops_enable(struct sched_ext_ops *ops, struct bpf_link *link) in scx_ops_enable()
5938 const struct sched_ext_ops *uops = udata; in bpf_scx_init_member()
5939 struct sched_ext_ops *ops = kdata; in bpf_scx_init_member()
5944 case offsetof(struct sched_ext_ops, dispatch_max_batch): in bpf_scx_init_member()
5949 case offsetof(struct sched_ext_ops, flags): in bpf_scx_init_member()
5954 case offsetof(struct sched_ext_ops, name): in bpf_scx_init_member()
5962 case offsetof(struct sched_ext_ops, timeout_ms): in bpf_scx_init_member()
5968 case offsetof(struct sched_ext_ops, exit_dump_len): in bpf_scx_init_member()
5972 case offsetof(struct sched_ext_ops, hotplug_seq): in bpf_scx_init_member()
5987 case offsetof(struct sched_ext_ops, init_task): in bpf_scx_check_member()
5989 case offsetof(struct sched_ext_ops, cgroup_init): in bpf_scx_check_member()
5990 case offsetof(struct sched_ext_ops, cgroup_exit): in bpf_scx_check_member()
5991 case offsetof(struct sched_ext_ops, cgroup_prep_move): in bpf_scx_check_member()
5993 case offsetof(struct sched_ext_ops, cpu_online): in bpf_scx_check_member()
5994 case offsetof(struct sched_ext_ops, cpu_offline): in bpf_scx_check_member()
5995 case offsetof(struct sched_ext_ops, init): in bpf_scx_check_member()
5996 case offsetof(struct sched_ext_ops, exit): in bpf_scx_check_member()
6077 static struct sched_ext_ops __bpf_ops_sched_ext_ops = {
7844 ret = register_bpf_struct_ops(&bpf_sched_ext_ops, sched_ext_ops); in scx_init()