Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c848 int cur_off, int next_off, int next_align, in btf_dump_emit_bit_padding() argument
860 if (cur_off >= next_off) in btf_dump_emit_bit_padding()
886 if (new_off <= next_off) in btf_dump_emit_bit_padding()
890 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
901 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
902 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
915 while (cur_off != next_off) { in btf_dump_emit_bit_padding()
916 bits = min(next_off - cur_off, pad_bits); in btf_dump_emit_bit_padding()
/tools/testing/selftests/net/
Dgro.c107 int next_off; in setup_sock_filter() local
110 next_off = offsetof(struct iphdr, protocol); in setup_sock_filter()
112 next_off = offsetof(struct ipv6hdr, nexthdr); in setup_sock_filter()
113 ipproto_off = ETH_HLEN + next_off; in setup_sock_filter()