aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-03-02 15:50:10 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-03-04 11:14:32 -0800
commitf4b4eee6169bb33c5157ebe07e53d7e4be7631c0 (patch)
treed251cda307aaca61992ee1915cc255f9c2ee6166 /scripts/generate_rust_analyzer.py
parentbpf: generalize dynptr_get_spi to be usable for iters (diff)
downloadlinux-rng-f4b4eee6169bb33c5157ebe07e53d7e4be7631c0.tar.xz
linux-rng-f4b4eee6169bb33c5157ebe07e53d7e4be7631c0.zip
bpf: add support for fixed-size memory pointer returns for kfuncs
Support direct fixed-size (and for now, read-only) memory access when kfunc's return type is a pointer to non-struct type. Calculate type size and let BPF program access that many bytes directly. This is crucial for numbers iterator. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20230302235015.2044271-13-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions