Searched refs:sub_attach (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.h | 275 * - v7.1: ops.sub_attach(), ops.sub_detach(), ops.sub_cgroup_id 305 if (__skel->struct_ops.__ops_name->sub_attach && \ 306 !__COMPAT_struct_has_field("sched_ext_ops", "sub_attach")) { \ 307 fprintf(stderr, "WARNING: kernel doesn't support ops.sub_attach()\n"); \ 308 __skel->struct_ops.__ops_name->sub_attach = NULL; \
|
| /linux/kernel/sched/ext/ |
| H A D | internal.h | 357 /* argument container for ops.sub_attach() */ 826 * parent sched tracks @cgrp through ops.sub_attach() instead. member 869 * @sub_attach: Attach a sub-scheduler 874 s32 (*sub_attach)(struct scx_sub_attach_args *args); 1208 s32 (*sub_attach)(struct scx_sub_attach_args *args); 2646 if (!root->ops.sub_attach) 1117 s32 (*sub_attach)(struct scx_sub_attach_args *args); global() member
|
| H A D | sub.c | 963 * During enable, has_op is set after ops.sub_attach(), in scx_process_sync_ecaps() 965 * live yet - e.g. caps grant from ops.sub_attach(). in scx_process_sync_ecaps() 995 * taken during its sub_attach(), before has_op was set). Called once @sch is in scx_process_sync_ecaps() 1854 if (!parent->ops.sub_attach) in scx_sub_enable_workfn() 2007 ret = SCX_CALL_OP_RET(parent, sub_attach, NULL, in scx_sub_enable_workfn() 2010 ret = scx_ops_sanitize_err(sch, "sub_attach", ret); in scx_sub_enable_workfn() 2159 /* @sch is enabled; deliver any caps owed since its sub_attach() */ in scx_cgroup_task_notify()
|
| H A D | ext.c | 6718 * An acute case is ops.sub_attach(). If the parent grants the child cids while in scx_root_disable() 8099 * implements ops.sub_attach. Called by the enable workfns once @sch's in scx_enable() 8116 if (sch->ops.sub_attach) { 8198 * attaches through a cid-form-only interface (sub_attach/sub_detach), in bpf_scx_init_member() 8207 if (ops->sub_attach || ops->sub_detach) { in bpf_scx_init_member() 8208 scx_error(sch, "sub_attach/sub_detach requires cid-form struct_ops"); in bpf_scx_init_member() 8847 case offsetof(struct sched_ext_ops, sub_attach): in scx_pm_handler() 9046 .sub_attach = sched_ext_ops__sub_attach, in scx_bpf_dsq_insert() 9114 .sub_attach = sched_ext_ops__sub_attach, in __scx_bpf_dsq_insert_vtime() 11792 [SCX_OP_IDX(sub_attach)] [all...] |
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 2276 .sub_attach = (void *)qmap_sub_attach,
|