summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2024-08-09 02:22:30 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-08-21 20:37:52 +0300
commitb0cd726f9a8279b33faa5b4b0011df14f331fb33 (patch)
treea9b245d25a12cf4eedacd62ca1afe12167119567 /kernel/bpf/arraymap.c
parentbaebe9aaba1e59e34cd1fe6455bb4c3029ad3bc1 (diff)
downloadlinux-b0cd726f9a8279b33faa5b4b0011df14f331fb33.tar.xz
selftests/bpf: test passing iterator to a kfunc
Define BPF iterator "getter" kfunc, which accepts iterator pointer as one of the arguments. Make sure that argument passed doesn't have to be the very first argument (unlike new-next-destroy combo). Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240808232230.2848712-4-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions