Symbol: scx_cmask
kernel/sched/ext/cid.c
220
void scx_cmask_clear(struct scx_cmask *m)
kernel/sched/ext/cid.c
236
void scx_cmask_fill(struct scx_cmask *m)
kernel/sched/ext/cid.c
264
void scx_cpumask_to_cmask(const struct cpumask *src, struct scx_cmask *dst)
kernel/sched/ext/cid.c
547
void scx_cmask_and(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
553
void scx_cmask_or(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
566
void scx_cmask_or_racy(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
572
void scx_cmask_copy(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
586
void scx_cmask_copy_racy(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
592
void scx_cmask_andnot(struct scx_cmask *dst, const struct scx_cmask *src)
kernel/sched/ext/cid.c
602
static bool cmask_any_set_in_range(const struct scx_cmask *cm, u32 lo, u32 hi)
kernel/sched/ext/cid.c
617
bool scx_cmask_subset(const struct scx_cmask *sub, const struct scx_cmask *super)
kernel/sched/ext/cid.c
638
bool scx_cmask_intersects(const struct scx_cmask *a, const struct scx_cmask *b)
kernel/sched/ext/cid.c
650
bool scx_cmask_empty(const struct scx_cmask *m)
kernel/sched/ext/cid.h
152
static inline bool __scx_cmask_contains(u32 cid, const struct scx_cmask *m)
kernel/sched/ext/cid.h
158
static inline u64 *__scx_cmask_word(u32 cid, const struct scx_cmask *m)
kernel/sched/ext/cid.h
173
static inline void __scx_cmask_init(struct scx_cmask *m, u32 base, u32 nr_cids,
kernel/sched/ext/cid.h
193
static inline void scx_cmask_init(struct scx_cmask *m, u32 base, u32 nr_cids)
kernel/sched/ext/cid.h
207
static inline void scx_cmask_reframe(struct scx_cmask *m, u32 base, u32 nr_cids)
kernel/sched/ext/cid.h
223
static inline void __scx_cmask_set(u32 cid, struct scx_cmask *m)
kernel/sched/ext/cid.h
238
static inline bool scx_cmask_test(u32 cid, const struct scx_cmask *m)
kernel/sched/ext/cid.h
249
static inline u32 scx_cmask_nr_used_words(const struct scx_cmask *m)
kernel/sched/ext/cid.h
56
void scx_cmask_clear(struct scx_cmask *m);
kernel/sched/ext/cid.h
57
void scx_cmask_fill(struct scx_cmask *m);
kernel/sched/ext/cid.h
58
void scx_cmask_and(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
59
void scx_cmask_or(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
60
void scx_cmask_or_racy(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
61
void scx_cmask_copy(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
62
void scx_cmask_copy_racy(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
63
void scx_cmask_andnot(struct scx_cmask *dst, const struct scx_cmask *src);
kernel/sched/ext/cid.h
64
bool scx_cmask_subset(const struct scx_cmask *sub, const struct scx_cmask *super);
kernel/sched/ext/cid.h
65
bool scx_cmask_intersects(const struct scx_cmask *a, const struct scx_cmask *b);
kernel/sched/ext/cid.h
66
bool scx_cmask_empty(const struct scx_cmask *m);
kernel/sched/ext/cid.h
69
void scx_cpumask_to_cmask(const struct cpumask *src, struct scx_cmask *dst);
kernel/sched/ext/ext.c
4906
size_t size = struct_size_t(struct scx_cmask, bits,
kernel/sched/ext/ext.c
4913
sch->set_cmask_scratch = alloc_percpu(struct scx_cmask *);
kernel/sched/ext/ext.c
4918
struct scx_cmask **slot = per_cpu_ptr(sch->set_cmask_scratch, cpu);
kernel/sched/ext/ext.c
4930
size_t size = struct_size_t(struct scx_cmask, bits,
kernel/sched/ext/ext.c
4938
struct scx_cmask **slot = per_cpu_ptr(sch->set_cmask_scratch, cpu);
kernel/sched/ext/ext.c
521
struct scx_cmask *kern_va = *this_cpu_ptr(sch->set_cmask_scratch);
kernel/sched/ext/ext.c
8216
const struct scx_cmask *cmask) {}
kernel/sched/ext/internal.h
1140
struct scx_cmask * __percpu *set_cmask_scratch;
kernel/sched/ext/internal.h
903
const struct scx_cmask *cmask);
kernel/sched/ext/types.h
119
_DEFINE_FLEX(struct scx_cmask, NAME, bits, SCX_CMASK_NR_WORDS(ALLOC_CIDS), \
tools/sched_ext/include/scx/cid.bpf.h
108
static __always_inline void cmask_reframe(struct scx_cmask __arena *m, u32 base, u32 nr_cids)
tools/sched_ext/include/scx/cid.bpf.h
125
static __always_inline bool cmask_test(u32 cid, const struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
143
static __always_inline void cmask_set(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
164
static __always_inline void cmask_clear(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
185
static __always_inline bool cmask_test_and_set(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
207
static __always_inline bool cmask_test_and_clear(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
229
static __always_inline void __cmask_set(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
236
static __always_inline void __cmask_clear(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
243
static __always_inline bool __cmask_test_and_set(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
257
static __always_inline bool __cmask_test_and_clear(u32 cid, struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
271
static __always_inline void cmask_zero(struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
294
static __always_inline void cmask_op_word(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
295
const struct scx_cmask __arena *src,
tools/sched_ext/include/scx/cid.bpf.h
314
static __always_inline void cmask_op(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
315
const struct scx_cmask __arena *src, int op)
tools/sched_ext/include/scx/cid.bpf.h
358
static __always_inline void cmask_and(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
359
const struct scx_cmask __arena *src)
tools/sched_ext/include/scx/cid.bpf.h
364
static __always_inline void cmask_or(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
365
const struct scx_cmask __arena *src)
tools/sched_ext/include/scx/cid.bpf.h
370
static __always_inline void cmask_copy(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
371
const struct scx_cmask __arena *src)
tools/sched_ext/include/scx/cid.bpf.h
376
static __always_inline void cmask_andnot(struct scx_cmask __arena *dst,
tools/sched_ext/include/scx/cid.bpf.h
377
const struct scx_cmask __arena *src)
tools/sched_ext/include/scx/cid.bpf.h
387
static __always_inline bool cmask_equal(const struct scx_cmask __arena *a,
tools/sched_ext/include/scx/cid.bpf.h
388
const struct scx_cmask __arena *b)
tools/sched_ext/include/scx/cid.bpf.h
416
static __always_inline u32 cmask_next_set(const struct scx_cmask __arena *m, u32 cid)
tools/sched_ext/include/scx/cid.bpf.h
43
static __always_inline bool __cmask_contains(u32 cid, const struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
453
static __always_inline u32 cmask_first_set(const struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
468
static __always_inline bool cmask_subset(const struct scx_cmask __arena *a,
tools/sched_ext/include/scx/cid.bpf.h
469
const struct scx_cmask __arena *b)
tools/sched_ext/include/scx/cid.bpf.h
48
static __always_inline u64 __arena *__cmask_word(u32 cid, const struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
514
static __always_inline u32 cmask_weight(const struct scx_cmask __arena *m)
tools/sched_ext/include/scx/cid.bpf.h
535
static __always_inline bool cmask_intersects(const struct scx_cmask __arena *a,
tools/sched_ext/include/scx/cid.bpf.h
536
const struct scx_cmask __arena *b)
tools/sched_ext/include/scx/cid.bpf.h
583
static __always_inline u32 cmask_next_and_set(const struct scx_cmask __arena *a,
tools/sched_ext/include/scx/cid.bpf.h
584
const struct scx_cmask __arena *b,
tools/sched_ext/include/scx/cid.bpf.h
63
static __always_inline void __cmask_init(struct scx_cmask __arena *m, u32 base,
tools/sched_ext/include/scx/cid.bpf.h
635
static __always_inline u32 cmask_next_set_wrap(const struct scx_cmask __arena *m,
tools/sched_ext/include/scx/cid.bpf.h
656
static __always_inline u32 cmask_next_and_set_wrap(const struct scx_cmask __arena *a,
tools/sched_ext/include/scx/cid.bpf.h
657
const struct scx_cmask __arena *b,
tools/sched_ext/include/scx/cid.bpf.h
682
static __always_inline void cmask_from_cpumask(struct scx_cmask __arena *m,
tools/sched_ext/include/scx/cid.bpf.h
94
static __always_inline void cmask_init(struct scx_cmask __arena *m, u32 base, u32 nr_cids)
tools/sched_ext/scx_qmap.bpf.c
161
struct scx_cmask cpus_allowed; /* per-task affinity in cid space */
tools/sched_ext/scx_qmap.bpf.c
922
const struct scx_cmask *cmask_in)
tools/sched_ext/scx_qmap.bpf.c
924
struct scx_cmask __arena *cmask = (struct scx_cmask __arena *)(long)cmask_in;
tools/sched_ext/scx_qmap.bpf.c
99
struct scx_cmask __arena *qa_idle_cids;