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()
448 u64 field_offset = le64_to_cpu(f->field_offset[i]); in bkey_format_has_too_big_fields() local
450 if (packed_max + field_offset < packed_max || in bkey_format_has_too_big_fields()
451 packed_max + field_offset > unpacked_max) in bkey_format_has_too_big_fields()
486 le64_to_cpu(f->field_offset[BKEY_FIELD_SNAPSHOT]))) { in bch2_bkey_pack_pos_lossy()
495 le64_to_cpu(f->field_offset[BKEY_FIELD_OFFSET]))) { in bch2_bkey_pack_pos_lossy()
504 le64_to_cpu(f->field_offset[BKEY_FIELD_INODE]))) in bch2_bkey_pack_pos_lossy()
581 f->field_offset[i] = cpu_to_le64(offset); in set_format_field()
621 le64_to_cpu(ret.field_offset[i])); in bch2_bkey_format_done()
663 i, packed_max, le64_to_cpu(f->field_offset[i]), unpacked_max); in bch2_bkey_format_invalid()
688 le64_to_cpu(f->field_offset[i])); in bch2_bkey_format_to_text()
791 u64 offset = le64_to_cpu(format->field_offset[field]); in compile_bkey_field()