Home
last modified time | relevance | path

Searched refs:bpf_iter_task_vma (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Diters_testmod.c16 struct bpf_iter_task_vma vma_it; in iter_next_trusted()
36 struct bpf_iter_task_vma vma_it; in iter_next_trusted_or_null()
/linux-6.15/tools/testing/selftests/bpf/
H A Dbpf_experimental.h162 struct bpf_iter_task_vma;
164 extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it,
167 extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __ksym;
168 extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __ksym;
/linux-6.15/kernel/bpf/
H A Dtask_iter.c804 struct bpf_iter_task_vma { struct
818 __bpf_kfunc int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, in bpf_iter_task_vma_new()
825 BUILD_BUG_ON(sizeof(struct bpf_iter_task_vma_kern) != sizeof(struct bpf_iter_task_vma)); in bpf_iter_task_vma_new()
826 BUILD_BUG_ON(__alignof__(struct bpf_iter_task_vma_kern) != __alignof__(struct bpf_iter_task_vma)); in bpf_iter_task_vma_new()
862 __bpf_kfunc struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) in bpf_iter_task_vma_next()
871 __bpf_kfunc void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) in bpf_iter_task_vma_destroy()