Home
last modified time | relevance | path

Searched refs:unpacked_bits (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbkey.c444 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bkey_format_has_too_big_fields() local
445 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() local
578 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() local
661 u64 unpacked_max = ~((~0ULL << 1) << (unpacked_bits - 1)); in bch2_bkey_format_invalid()
Dbkey.h589 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bch2_bkey_format_field_overflows() local
590 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()