summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2019-08-20 11:31:52 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-08-20 18:51:06 +0200
commita6e130c4203bcc73450a00f647d99bd75ded95cb (patch)
tree4c4cd0d9d661d310578123bed3b5169e620a72dd /block
parenttools: bpf: synchronise BPF UAPI header with tools (diff)
downloadlinux-a6e130c4203bcc73450a00f647d99bd75ded95cb.tar.xz
linux-a6e130c4203bcc73450a00f647d99bd75ded95cb.zip
libbpf: refactor bpf_*_get_next_id() functions
In preparation for the introduction of a similar function for retrieving the id of the next BTF object, consolidate the code from bpf_prog_get_next_id() and bpf_map_get_next_id() in libbpf. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions