Home
last modified time | relevance | path

Searched refs:callback_ctx (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dfor_each_array_map_elem.c22 struct callback_ctx { struct
30 struct callback_ctx *data) in unused_subprog() argument
38 struct callback_ctx *data) in check_array_elem()
51 struct callback_ctx *data) in check_percpu_elem()
63 struct callback_ctx data; in test_pkt_access()
Dfor_each_hash_map_elem.c22 struct callback_ctx { struct
30 struct callback_ctx *data) in check_hash_elem() argument
59 struct callback_ctx *unused) in check_percpu_elem()
61 struct callback_ctx data; in check_percpu_elem()
84 struct callback_ctx data; in test_pkt_access()
Dbpf_loop.c10 struct callback_ctx { struct
37 struct callback_ctx *ctx = data; in callback()
68 struct callback_ctx data = {}; in test_prog()
97 struct callback_ctx data = {}; in prog_invalid_flags()
110 struct callback_ctx data = {}; in prog_nested_calls()
141 struct callback_ctx data = {}; in prog_non_constant_callback()
Dfind_vma.c9 struct callback_ctx { struct
24 struct callback_ctx *data) in check_vma() argument
41 struct callback_ctx data = {}; in handle_getpid()
57 struct callback_ctx data = {}; in handle_pe()
Dbloom_filter_map.c34 struct callback_ctx { struct
42 struct callback_ctx *data) in check_elem() argument
59 struct callback_ctx data; in inner_map()
77 struct callback_ctx data; in check_bloom()
Dfind_vma_fail1.c8 struct callback_ctx { struct
13 struct callback_ctx *data) in write_vma() argument
25 struct callback_ctx data = {}; in handle_getpid()
Dfind_vma_fail2.c8 struct callback_ctx { struct
13 struct callback_ctx *data) in write_task() argument
25 struct callback_ctx data = {}; in handle_getpid()
Dbloom_filter_bench.c42 struct callback_ctx { struct
72 struct callback_ctx *data) in bloom_callback()
94 struct callback_ctx data; in bloom_lookup()
107 struct callback_ctx data; in bloom_update()
/linux-6.1.9/kernel/bpf/
Dbpf_iter.c729 void *, callback_ctx, u64, flags) in BPF_CALL_4() argument
731 return map->ops->map_for_each_callback(map, callback_fn, callback_ctx, flags); in BPF_CALL_4()
744 BPF_CALL_4(bpf_loop, u32, nr_loops, void *, callback_fn, void *, callback_ctx, in BPF_CALL_4() argument
761 ret = callback((u64)i, (u64)(long)callback_ctx, 0, 0, 0); in BPF_CALL_4()
Dringbuf.c713 void *, callback_fn, void *, callback_ctx, u64, flags) in BPF_CALL_4() argument
750 ret = callback((uintptr_t)&dynptr, (uintptr_t)callback_ctx, 0, 0, 0); in BPF_CALL_4()
Dtask_iter.c781 bpf_callback_t, callback_fn, void *, callback_ctx, u64, flags) in BPF_CALL_5() argument
808 (u64)(long)callback_ctx, 0, 0); in BPF_CALL_5()
Darraymap.c699 void *callback_ctx, u64 flags) in bpf_for_each_array_elem() argument
722 (u64)(long)val, (u64)(long)callback_ctx, 0); in bpf_for_each_array_elem()
Dhashtab.c2134 void *callback_ctx, u64 flags) in bpf_for_each_hash_elem() argument
2174 (u64)(long)val, (u64)(long)callback_ctx, 0); in bpf_for_each_hash_elem()
Dverifier.c14272 void *callback_ctx, in do_misc_fixups()
/linux-6.1.9/include/linux/
Dbpf.h158 void *callback_ctx, u64 flags);