Lines Matching refs:change_bits
597 unsigned int change_bits; in ethnl_update_bitset32() local
616 change_bits = min_t(unsigned int, in ethnl_update_bitset32()
618 ethnl_bitmap32_update(bitmap, change_bits, in ethnl_update_bitset32()
623 if (no_mask && change_bits < nbits) in ethnl_update_bitset32()
624 ethnl_bitmap32_clear(bitmap, change_bits, nbits, mod); in ethnl_update_bitset32()
664 unsigned int change_bits; in ethnl_parse_bitset() local
670 change_bits = nla_get_u32(tb[ETHTOOL_A_BITSET_SIZE]); in ethnl_parse_bitset()
671 if (change_bits > nbits) in ethnl_parse_bitset()
672 change_bits = nbits; in ethnl_parse_bitset()
674 change_bits); in ethnl_parse_bitset()
675 if (change_bits < nbits) in ethnl_parse_bitset()
676 bitmap_clear(val, change_bits, nbits - change_bits); in ethnl_parse_bitset()
682 change_bits); in ethnl_parse_bitset()
683 if (change_bits < nbits) in ethnl_parse_bitset()
684 bitmap_clear(mask, change_bits, in ethnl_parse_bitset()
685 nbits - change_bits); in ethnl_parse_bitset()