Lines Matching refs:field_offset
160 u64 v = 0, offset = le64_to_cpu(state->format->field_offset[field]); in get_inc_field()
205 u64 offset = le64_to_cpu(state->format->field_offset[field]); in set_inc_field()
386 u64 offset = le64_to_cpu(state->format->field_offset[field]); in set_inc_field_lossy()
449 u64 field_offset = le64_to_cpu(f->field_offset[i]); in bkey_format_has_too_big_fields() local
451 if (packed_max + field_offset < packed_max || in bkey_format_has_too_big_fields()
452 packed_max + field_offset > unpacked_max) in bkey_format_has_too_big_fields()
490 le64_to_cpu(f->field_offset[BKEY_FIELD_SNAPSHOT]))) { in bch2_bkey_pack_pos_lossy()
499 le64_to_cpu(f->field_offset[BKEY_FIELD_OFFSET]))) { in bch2_bkey_pack_pos_lossy()
508 le64_to_cpu(f->field_offset[BKEY_FIELD_INODE]))) in bch2_bkey_pack_pos_lossy()
585 f->field_offset[i] = cpu_to_le64(offset); in set_format_field()
625 le64_to_cpu(ret.field_offset[i])); in bch2_bkey_format_done()
668 i, packed_max, le64_to_cpu(f->field_offset[i]), unpacked_max); in bch2_bkey_format_invalid()
693 le64_to_cpu(f->field_offset[i])); in bch2_bkey_format_to_text()
796 u64 offset = le64_to_cpu(format->field_offset[field]); in compile_bkey_field()