Home
last modified time | relevance | path

Searched refs:ARRAY_ELEM_PTR (Results 1 – 3 of 3) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_central.bpf.c195 gimme = ARRAY_ELEM_PTR(cpu_gimme_task, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
226 gimme = ARRAY_ELEM_PTR(cpu_gimme_task, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
241 u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
249 u64 *started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
275 started_at = ARRAY_ELEM_PTR(cpu_started_at, cpu, nr_cpu_ids); in central_timerfn()
H A Dscx_pair.bpf.c294 vptr = (u32 *)ARRAY_ELEM_PTR(pair_id, cpu, nr_cpu_ids); in lookup_pairc_and_mask()
302 vptr = (u32 *)ARRAY_ELEM_PTR(in_pair_idx, cpu, nr_cpu_ids); in lookup_pairc_and_mask()
486 s32 *pair = (s32 *)ARRAY_ELEM_PTR(pair_cpu, cpu, nr_cpu_ids); in try_dispatch()
521 s32 *pair = (s32 *)ARRAY_ELEM_PTR(pair_cpu, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
550 s32 *pair = (s32 *)ARRAY_ELEM_PTR(pair_cpu, cpu, nr_cpu_ids); in BPF_STRUCT_OPS()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h277 #ifndef ARRAY_ELEM_PTR
278 #define ARRAY_ELEM_PTR(arr, i, n) (typeof(arr[i]) *) \ macro