Lines Matching refs:cur_off
861 int cur_off, int next_off, int next_align, in btf_dump_emit_bit_padding() argument
873 if (cur_off >= next_off) in btf_dump_emit_bit_padding()
898 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding()
903 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
914 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
915 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
918 in_bitfield ? new_off - cur_off : 0); in btf_dump_emit_bit_padding()
919 cur_off = new_off; in btf_dump_emit_bit_padding()
928 while (cur_off != next_off) { in btf_dump_emit_bit_padding()
929 bits = min(next_off - cur_off, pad_bits); in btf_dump_emit_bit_padding()
932 cur_off += bits; in btf_dump_emit_bit_padding()
948 cur_off += bits; in btf_dump_emit_bit_padding()