Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dfind_vma_fail1.c9 struct callback_ctx { struct
14 struct callback_ctx *data) in write_vma() argument
26 struct callback_ctx data = {}; in handle_getpid()
H A 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()
H A Dtest_map_ops.c109 int callback_ctx; in map_for_each_pass() local
116 err = bpf_for_each_map_elem(&array_map, callback, &callback_ctx, flags); in map_for_each_pass()
127 int callback_ctx; in map_for_each_fail() local
135 err = bpf_for_each_map_elem(&array_map, callback, &callback_ctx, flags); in map_for_each_fail()
H A 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()
/openbmc/libmctp/tests/
H A Dtest_cmds.c56 struct mctp *test_endpoint, void *callback_ctx) in setup_test_binding() argument
60 assert(callback_ctx != NULL); in setup_test_binding()
70 test_binding->control_rx_data = callback_ctx; in setup_test_binding()
/openbmc/linux/kernel/bpf/
H A 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()
H A 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()
H A Dringbuf.c746 void *, callback_fn, void *, callback_ctx, u64, flags) in BPF_CALL_4() argument
783 ret = callback((uintptr_t)&dynptr, (uintptr_t)callback_ctx, 0, 0, 0); in BPF_CALL_4()
H A Darraymap.c693 void *callback_ctx, u64 flags) in bpf_for_each_array_elem() argument
716 (u64)(long)val, (u64)(long)callback_ctx, 0); in bpf_for_each_array_elem()
H A Dhashtab.c2164 void *callback_ctx, u64 flags) in bpf_for_each_hash_elem() argument
2204 (u64)(long)val, (u64)(long)callback_ctx, 0); in bpf_for_each_hash_elem()
H A Dverifier.c19225 void *callback_ctx, in do_misc_fixups()
/openbmc/linux/include/linux/
H A Dbpf.h166 void *callback_ctx, u64 flags);