Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c828 int off_diff = m_off - cur_off; in btf_dump_emit_bit_padding() local
831 if (off_diff <= 0) in btf_dump_emit_bit_padding()
834 if (m_bit_sz == 0 && off_diff < align * 8) in btf_dump_emit_bit_padding()
838 while (off_diff > 0) { in btf_dump_emit_bit_padding()
842 if (ptr_bits > 32 && off_diff > 32) { in btf_dump_emit_bit_padding()
844 pad_bits = chip_away_bits(off_diff, ptr_bits); in btf_dump_emit_bit_padding()
845 } else if (off_diff > 16) { in btf_dump_emit_bit_padding()
847 pad_bits = chip_away_bits(off_diff, 32); in btf_dump_emit_bit_padding()
848 } else if (off_diff > 8) { in btf_dump_emit_bit_padding()
850 pad_bits = chip_away_bits(off_diff, 16); in btf_dump_emit_bit_padding()
[all …]