Home
last modified time | relevance | path

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

/linux/kernel/sched/ext/
H A Dcid.c474 s32 *shard_start __free(kfree) = NULL; in scx_bpf_cid_override()
498 shard_start = kmemdup(shard_start__arena, nr_shards * sizeof(s32), in scx_bpf_cid_override()
523 if (!alloced || !node_counts || !cpu_to_cid || !shard_start) { in scx_bpf_cid_override()
529 if (shard_start[0] != 0) { in scx_bpf_cid_override()
531 shard_start[0]); in scx_bpf_cid_override()
535 if (shard_start[si] <= shard_start[si - 1]) { in scx_bpf_cid_override()
540 if (shard_start[si] >= npossible) { in scx_bpf_cid_override()
542 si, shard_start[si], npossible); in scx_bpf_cid_override()
545 if (shard_start[si] - shard_start[si - 1] > SCX_CID_SHARD_MAX_CPUS) { in scx_bpf_cid_override()
547 si - 1, shard_start[si] - shard_start[si - 1], in scx_bpf_cid_override()
[all …]
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h134 const s32 __arena *shard_start, u32 shard_start_cnt) in scx_bpf_cid_override() argument
138 shard_start, shard_start_cnt); in scx_bpf_cid_override()