Lines Matching refs:tctx

151 	struct task_ctx *tctx;  in lookup_task_ctx()  local
153 if (!(tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0))) { in lookup_task_ctx()
157 return tctx; in lookup_task_ctx()
163 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
166 if (!(tctx = lookup_task_ctx(p))) in BPF_STRUCT_OPS()
172 tctx->force_local = true; in BPF_STRUCT_OPS()
197 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
214 if (!(tctx = lookup_task_ctx(p))) in BPF_STRUCT_OPS()
221 tctx->core_sched_seq = core_sched_tail_seqs[idx]++; in BPF_STRUCT_OPS()
227 if (tctx->force_local) { in BPF_STRUCT_OPS()
228 tctx->force_local = false; in BPF_STRUCT_OPS()
270 tctx->highpri = true; in BPF_STRUCT_OPS()
290 struct task_ctx *tctx; in update_core_sched_head_seq() local
292 if ((tctx = lookup_task_ctx(p))) in update_core_sched_head_seq()
293 core_sched_head_seqs[idx] = tctx->core_sched_seq; in update_core_sched_head_seq()
314 struct task_ctx *tctx; in dispatch_highpri() local
316 if (!(tctx = lookup_task_ctx(p))) in dispatch_highpri()
319 if (tctx->highpri) { in dispatch_highpri()
369 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
414 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
423 if (!(tctx = lookup_task_ctx(p))) { in BPF_STRUCT_OPS()
428 if (tctx->highpri) in BPF_STRUCT_OPS()
457 tctx = bpf_task_storage_get(&task_ctx_stor, prev, 0, 0); in BPF_STRUCT_OPS()
458 if (!tctx) { in BPF_STRUCT_OPS()
463 tctx->core_sched_seq = in BPF_STRUCT_OPS()
498 struct task_ctx *tctx; in task_qdist() local
501 tctx = bpf_task_storage_get(&task_ctx_stor, p, 0, 0); in task_qdist()
502 if (!tctx) { in task_qdist()
507 qdist = tctx->core_sched_seq - core_sched_head_seqs[idx]; in task_qdist()