Lines Matching defs:super
721 /* stop on the first bit in @sub not set in @super */
868 * scx_cmask_subset - test whether @sub is a subset of @super
870 * @super: cmask to test against
872 * Return true iff every set bit of @sub is also set in @super.
874 bool scx_cmask_subset(const struct scx_cmask *sub, const struct scx_cmask *super)
876 u32 super_end = super->base + super->nr_cids;
880 * Set bits in @sub outside @super's range can't be in @super, so any
884 if (sub->base < super->base &&
885 cmask_any_set_in_range(sub, sub->base, min(super->base, sub_end)))
891 return !cmask_walk_op2((u64 *)super->bits, super->base, super->nr_cids,