Searched refs:bits_per_field (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | bkey.c | 70 format->bits_per_field[0], in bch2_bkey_pack_verify() 71 format->bits_per_field[1], in bch2_bkey_pack_verify() 72 format->bits_per_field[2], in bch2_bkey_pack_verify() 73 format->bits_per_field[3], in bch2_bkey_pack_verify() 74 format->bits_per_field[4]); in bch2_bkey_pack_verify() 159 unsigned bits = state->format->bits_per_field[field]; in get_inc_field() 182 unsigned bits = state->format->bits_per_field[field]; in __set_inc_field() 204 unsigned bits = state->format->bits_per_field[field]; in set_inc_field() 385 unsigned bits = state->format->bits_per_field[field]; in set_inc_field_lossy() 444 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bkey_format_has_too_big_fields() [all …]
|
D | bkey.h | 256 return format->bits_per_field[BKEY_FIELD_INODE] + in bkey_format_key_bits() 257 format->bits_per_field[BKEY_FIELD_OFFSET] + in bkey_format_key_bits() 258 format->bits_per_field[BKEY_FIELD_SNAPSHOT]; in bkey_format_key_bits() 492 return f->bits_per_field[nr] < 64 in bkey_field_max() 494 ~(~0ULL << f->bits_per_field[nr])) in bkey_field_max() 588 unsigned f_bits = f->bits_per_field[i]; in bch2_bkey_format_field_overflows() 589 unsigned unpacked_bits = bch2_bkey_format_current.bits_per_field[i]; in bch2_bkey_format_field_overflows()
|
D | btree_io.h | 163 swap(f->bits_per_field[BKEY_FIELD_INODE], in compat_bformat() 164 f->bits_per_field[BKEY_FIELD_OFFSET]); in compat_bformat() 172 ~(~0ULL << f->bits_per_field[BKEY_FIELD_SNAPSHOT]); in compat_bformat()
|
D | bkey_methods.c | 417 } else if (f->bits_per_field[BKEY_FIELD_INODE] && in __bch2_bkey_compat() 418 f->bits_per_field[BKEY_FIELD_OFFSET]) { in __bch2_bkey_compat() 421 swap(tmp.bits_per_field[BKEY_FIELD_INODE], in __bch2_bkey_compat() 422 tmp.bits_per_field[BKEY_FIELD_OFFSET]); in __bch2_bkey_compat() 446 ~(~0ULL << f->bits_per_field[BKEY_FIELD_SNAPSHOT]); in __bch2_bkey_compat()
|
D | bcachefs_format.h | 129 __u8 bits_per_field[6]; member 326 .bits_per_field = { \
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/ |
D | gic_v3.c | 169 uint32_t reg_bits, uint32_t bits_per_field, in gicv3_access_reg() argument 177 GUEST_ASSERT(bits_per_field <= reg_bits); in gicv3_access_reg() 178 GUEST_ASSERT(!write || *val < (1U << bits_per_field)); in gicv3_access_reg() 185 fields_per_reg = reg_bits / bits_per_field; in gicv3_access_reg() 187 shift = index * bits_per_field; in gicv3_access_reg() 188 mask = ((1U << bits_per_field) - 1) << shift; in gicv3_access_reg() 201 uint32_t reg_bits, uint32_t bits_per_field, uint32_t val) in gicv3_write_reg() argument 204 bits_per_field, true, &val); in gicv3_write_reg() 208 uint32_t reg_bits, uint32_t bits_per_field) in gicv3_read_reg() argument 213 bits_per_field, false, &val); in gicv3_read_reg()
|