Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dbtf_dump.c818 int off_diff = m_off - cur_off; in btf_dump_emit_bit_padding() local
821 if (off_diff <= 0) in btf_dump_emit_bit_padding()
824 if (m_bit_sz == 0 && off_diff < align * 8) in btf_dump_emit_bit_padding()
828 while (off_diff > 0) { in btf_dump_emit_bit_padding()
832 if (ptr_bits > 32 && off_diff > 32) { in btf_dump_emit_bit_padding()
834 pad_bits = chip_away_bits(off_diff, ptr_bits); in btf_dump_emit_bit_padding()
835 } else if (off_diff > 16) { in btf_dump_emit_bit_padding()
837 pad_bits = chip_away_bits(off_diff, 32); in btf_dump_emit_bit_padding()
838 } else if (off_diff > 8) { in btf_dump_emit_bit_padding()
840 pad_bits = chip_away_bits(off_diff, 16); in btf_dump_emit_bit_padding()
[all …]