Lines Matching refs:change_bits
557 unsigned int change_bits; in ethnl_update_bitset32() local
576 change_bits = min_t(unsigned int, in ethnl_update_bitset32()
578 ethnl_bitmap32_update(bitmap, change_bits, in ethnl_update_bitset32()
583 if (no_mask && change_bits < nbits) in ethnl_update_bitset32()
584 ethnl_bitmap32_clear(bitmap, change_bits, nbits, mod); in ethnl_update_bitset32()
624 unsigned int change_bits; in ethnl_parse_bitset() local
630 change_bits = nla_get_u32(tb[ETHTOOL_A_BITSET_SIZE]); in ethnl_parse_bitset()
631 if (change_bits > nbits) in ethnl_parse_bitset()
632 change_bits = nbits; in ethnl_parse_bitset()
634 change_bits); in ethnl_parse_bitset()
635 if (change_bits < nbits) in ethnl_parse_bitset()
636 bitmap_clear(val, change_bits, nbits - change_bits); in ethnl_parse_bitset()
642 change_bits); in ethnl_parse_bitset()
643 if (change_bits < nbits) in ethnl_parse_bitset()
644 bitmap_clear(mask, change_bits, in ethnl_parse_bitset()
645 nbits - change_bits); in ethnl_parse_bitset()