Yonghong Song
ecc4d9f640
UPSTREAM: bpf: Refactor bpf_iter_reg to have separate seq_info member
...
There is no functionality change for this patch.
Struct bpf_iter_reg is used to register a bpf_iter target,
which includes information for both prog_load, link_create
and seq_file creation.
This patch puts fields related seq_file creation into
a different structure. This will be useful for map
elements iterator where one iterator covers different
map types and different map types may have different
seq_ops, init/fini private_data function and
private_data size.
Change-Id: I2577d77f6b6be71319457720547ba77cff04c68b
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200723184109.590030-1-yhs@fb.com
2026-01-14 18:12:07 -08:00
..
arraymap.c
UPSTREAM: bpf: Remove redundant synchronize_rcu.
2026-01-14 18:12:00 -08:00
bpf_iter.c
UPSTREAM: bpf: Refactor bpf_iter_reg to have separate seq_info member
2026-01-14 18:12:07 -08:00
bpf_lru_list.c
bpf_lru_list.h
UPSTREAM: bpf: Fix a typo "inacitve" -> "inactive"
2025-12-23 13:36:12 -08:00
bpf_lsm.c
UPSTREAM: bpf: Use tracing helpers for lsm programs
2026-01-14 17:48:07 -08:00
bpf_struct_ops.c
UPSTREAM: bpf: Set map_btf_{name, id} for all map types
2026-01-14 17:50:46 -08:00
bpf_struct_ops_types.h
btf.c
UPSTREAM: bpf: net: Use precomputed btf_id for bpf iterators
2026-01-14 18:12:06 -08:00
cgroup.c
BACKPORT: bpf: cgroup: Allow multi-attach program to replace itself
2026-01-14 17:50:26 -08:00
core.c
UPSTREAM: bpf, netns: Handle multiple link attachments
2026-01-14 18:12:05 -08:00
cpumap.c
UPSTREAM: bpf: cpumap: Fix possible rcpu kthread hung
2026-01-14 18:12:05 -08:00
devmap.c
UPSTREAM: bpf: Set map_btf_{name, id} for all map types
2026-01-14 17:50:46 -08:00
disasm.c
disasm.h
dispatcher.c
UPSTREAM: bpf: Remove bpf_image tree
2025-12-23 13:36:07 -08:00
hashtab.c
UPSTREAM: bpf: Remove redundant synchronize_rcu.
2026-01-14 18:12:00 -08:00
helpers.c
UPSTREAM: bpf: Implement BPF ring buffer and verifier support for it
2026-01-14 17:48:05 -08:00
inode.c
UPSTREAM: bpf: Create file bpf iterator
2025-12-23 13:36:19 -08:00
local_storage.c
UPSTREAM: bpf: Set map_btf_{name, id} for all map types
2026-01-14 17:50:46 -08:00
lpm_trie.c
UPSTREAM: bpf: Remove redundant synchronize_rcu.
2026-01-14 18:12:00 -08:00
Makefile
UPSTREAM: bpf: Add bpf_prog iterator
2026-01-14 18:12:06 -08:00
map_in_map.c
BACKPORT: bpf: Implement CAP_BPF
2026-01-14 17:44:17 -08:00
map_in_map.h
map_iter.c
UPSTREAM: bpf: Refactor bpf_iter_reg to have separate seq_info member
2026-01-14 18:12:07 -08:00
net_namespace.c
UPSTREAM: bpf: Introduce SK_LOOKUP program type with a dedicated attach point
2026-01-14 18:12:05 -08:00
offload.c
percpu_freelist.c
UPSTREAM: bpf: Dont iterate over possible CPUs with interrupts disabled
2025-12-23 13:35:58 -08:00
percpu_freelist.h
prog_iter.c
UPSTREAM: bpf: Refactor bpf_iter_reg to have separate seq_info member
2026-01-14 18:12:07 -08:00
queue_stack_maps.c
UPSTREAM: bpf: Remove redundant synchronize_rcu.
2026-01-14 18:12:00 -08:00
reuseport_array.c
UPSTREAM: bpf: net: Avoid incorrect bpf_sk_reuseport_detach call
2026-01-14 18:12:02 -08:00
ringbuf.c
UPSTREAM: bpf: Remove redundant synchronize_rcu.
2026-01-14 18:12:00 -08:00
stackmap.c
BACKPORT: bpf: Resolve BTF IDs in vmlinux image
2026-01-14 18:12:02 -08:00
syscall.c
UPSTREAM: bpf: Add bpf_prog iterator
2026-01-14 18:12:06 -08:00
sysfs_btf.c
task_iter.c
UPSTREAM: bpf: Refactor bpf_iter_reg to have separate seq_info member
2026-01-14 18:12:07 -08:00
tnum.c
BACKPORT: bpf: Verifier, do explicit ALU32 bounds tracking
2025-12-23 13:36:11 -08:00
trampoline.c
UPSTREAM: bpf: lsm: Implement attach, detach and execution
2025-12-23 13:36:10 -08:00
verifier.c
UPSTREAM: bpf: Introduce SK_LOOKUP program type with a dedicated attach point
2026-01-14 18:12:05 -08:00