Home
last modified time | relevance | path

Searched refs:alloc_words (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/sched/ext/
H A Dtypes.h130 u32 alloc_words; member
159 .alloc_words = SCX_CMASK_NR_WORDS(ALLOC_CIDS) })
H A Dcid.h200 m->alloc_words = SCX_CMASK_NR_WORDS(alloc_cids); in __scx_cmask_init()
201 memset(m->bits, 0, m->alloc_words * sizeof(u64)); in __scx_cmask_init()
228 if (WARN_ON_ONCE(SCX_CMASK_NR_WORDS(nr_cids) > m->alloc_words)) in scx_cmask_reframe()
H A Dcid.c979 u32 base, nr_cids, alloc_words, npossible = num_possible_cpus(); in scx_cmask_ref_init() local
984 alloc_words = READ_ONCE(src->alloc_words); in scx_cmask_ref_init()
987 SCX_CMASK_NR_WORDS(nr_cids) > alloc_words)) in scx_cmask_ref_init()
1025 WRITE_ONCE(m->alloc_words, SCX_CMASK_NR_WORDS(nr_cids)); in scx_cmask_ref_init_kern()
1071 if (nr_words > out->alloc_words) { in scx_cmask_ref_shard()
1073 out->alloc_words, nr_words, shard_idx); in scx_cmask_ref_shard()
/linux/tools/sched_ext/include/scx/
H A Dcid.bpf.h66 u32 alloc_words, i; in __cmask_init() local
73 alloc_words = CMASK_NR_WORDS(alloc_cids); in __cmask_init()
77 m->alloc_words = alloc_words; in __cmask_init()
80 if (i >= alloc_words) in __cmask_init()
110 if (CMASK_NR_WORDS(nr_cids) > m->alloc_words) { in cmask_reframe()
112 nr_cids, m->alloc_words); in cmask_reframe()