Home
last modified time | relevance | path

Searched refs:taskc (Results 1 – 2 of 2) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_flatcg.bpf.c306 static void set_bypassed_at(struct task_struct *p, struct fcg_task_ctx *taskc) in set_bypassed_at() argument
314 taskc->bypassed_at = p->se.sum_exec_runtime ?: (u64)-1; in set_bypassed_at()
319 struct fcg_task_ctx *taskc; in BPF_STRUCT_OPS() local
325 taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); in BPF_STRUCT_OPS()
326 if (!taskc) { in BPF_STRUCT_OPS()
337 set_bypassed_at(p, taskc); in BPF_STRUCT_OPS()
347 struct fcg_task_ctx *taskc; in BPF_STRUCT_OPS() local
351 taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); in BPF_STRUCT_OPS()
352 if (!taskc) { in BPF_STRUCT_OPS()
363 set_bypassed_at(p, taskc); in BPF_STRUCT_OPS()
[all …]
H A Dscx_qmap.bpf.c638 struct task_ctx *taskc; in BPF_STRUCT_OPS() local
642 if (!(taskc = bpf_task_storage_get(&task_ctx_stor, p, 0, 0))) in BPF_STRUCT_OPS()
646 taskc->force_local, taskc->core_sched_seq); in BPF_STRUCT_OPS()