Lines Matching refs:cls_id
640 int cls_id, totct = 0;
665 cls_id = match_string(map->class_names, map->length, cl_str);
666 if (cls_id < 0) {
675 if (test_bit(cls_id, &curr_bits) == wanted) {
679 curr_bits ^= BIT(cls_id);
682 v2pr_info("%s: changed bit %d:%s\n", KP_NAME(kp), cls_id,
683 map->class_names[cls_id]);
686 /* cls_id = N in 0..max. wanted +/- determines N or N-1 */
688 curr_bits = CLASSMAP_BITMASK(cls_id + (wanted ? 1 : 0 ));
691 *dcp->lvl = (cls_id + (wanted ? 1 : 0));
692 v2pr_info("%s: changed bit-%d: \"%s\" %lx->%lx\n", KP_NAME(kp), cls_id,
693 map->class_names[cls_id], old_bits, curr_bits);