Searched refs:unpacked_bits (Results 1 – 2 of 2) sorted by relevance
444 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bkey_format_has_too_big_fields() local445 u64 unpacked_max = ~((~0ULL << 1) << (unpacked_bits - 1)); in bkey_format_has_too_big_fields()577 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in set_format_field() local578 u64 unpacked_max = ~((~0ULL << 1) << (unpacked_bits - 1)); in set_format_field()580 bits = min(bits, unpacked_bits); in set_format_field()582 offset = bits == unpacked_bits ? 0 : min(offset, unpacked_max - ((1ULL << bits) - 1)); in set_format_field()660 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bch2_bkey_format_invalid() local661 u64 unpacked_max = ~((~0ULL << 1) << (unpacked_bits - 1)); in bch2_bkey_format_invalid()
589 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bch2_bkey_format_field_overflows() local590 u64 unpacked_mask = ~((~0ULL << 1) << (unpacked_bits - 1)); in bch2_bkey_format_field_overflows()593 if (f_bits > unpacked_bits) in bch2_bkey_format_field_overflows()596 if ((f_bits == unpacked_bits) && field_offset) in bch2_bkey_format_field_overflows()