Lines Matching full:dcp
605 static int ddebug_apply_class_bitmap(const struct ddebug_class_param *dcp, in ddebug_apply_class_bitmap() argument
610 const struct ddebug_class_map *map = dcp->map; in ddebug_apply_class_bitmap()
621 test_bit(bi, new_bits) ? '+' : '-', dcp->flags); in ddebug_apply_class_bitmap()
640 const struct ddebug_class_param *dcp = kp->arg; in param_set_dyndbg_classnames() local
641 const struct ddebug_class_map *map = dcp->map; in param_set_dyndbg_classnames()
652 curr_bits = old_bits = *dcp->bits; in param_set_dyndbg_classnames()
683 totct += ddebug_apply_class_bitmap(dcp, &curr_bits, dcp->bits); in param_set_dyndbg_classnames()
684 *dcp->bits = curr_bits; in param_set_dyndbg_classnames()
690 old_bits = CLASSMAP_BITMASK(*dcp->lvl); in param_set_dyndbg_classnames()
693 totct += ddebug_apply_class_bitmap(dcp, &curr_bits, &old_bits); in param_set_dyndbg_classnames()
694 *dcp->lvl = (cls_id + (wanted ? 1 : 0)); in param_set_dyndbg_classnames()
720 const struct ddebug_class_param *dcp = kp->arg; in param_set_dyndbg_classes() local
721 const struct ddebug_class_map *map = dcp->map; in param_set_dyndbg_classes()
756 totct += ddebug_apply_class_bitmap(dcp, &inrep, dcp->bits); in param_set_dyndbg_classes()
757 *dcp->bits = inrep; in param_set_dyndbg_classes()
766 old_bits = CLASSMAP_BITMASK(*dcp->lvl); in param_set_dyndbg_classes()
769 totct += ddebug_apply_class_bitmap(dcp, &new_bits, &old_bits); in param_set_dyndbg_classes()
770 *dcp->lvl = inrep; in param_set_dyndbg_classes()
791 const struct ddebug_class_param *dcp = kp->arg; in param_get_dyndbg_classes() local
792 const struct ddebug_class_map *map = dcp->map; in param_get_dyndbg_classes()
798 return scnprintf(buffer, PAGE_SIZE, "0x%lx\n", *dcp->bits); in param_get_dyndbg_classes()
802 return scnprintf(buffer, PAGE_SIZE, "%d\n", *dcp->lvl); in param_get_dyndbg_classes()