Lines Matching defs:alloc_words
976 * Snapshot @src's @base, @nr_cids and @alloc_words. The snapshot is necessary
979 * Return 0 on success, -EINVAL if the range is out of bounds or @alloc_words
985 u32 base, nr_cids, alloc_words, npossible = num_possible_cpus();
990 alloc_words = READ_ONCE(src->alloc_words);
993 SCX_CMASK_NR_WORDS(nr_cids) > alloc_words))
1031 WRITE_ONCE(m->alloc_words, SCX_CMASK_NR_WORDS(nr_cids));
1050 * @out: output cmask whose @out->alloc_words must hold the shard
1077 if (nr_words > out->alloc_words) {
1078 scx_error(ref->sch, "scx_cmask_ref_shard: out alloc_words=%u < %u for shard %d",
1079 out->alloc_words, nr_words, shard_idx);