Searched refs:bpf_for_each_map_elem (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | cb_refs.c | 35 bpf_for_each_map_elem(&array_map, cb1, &p, 0); in underflow_prog() 60 bpf_for_each_map_elem(&array_map, cb2, &p, 0); in leak_prog() 78 bpf_for_each_map_elem(&array_map, cb, &p, 0); in cb3() 95 bpf_for_each_map_elem(&array_map, cb3, &sp, 0); in nested_cb()
|
D | test_subprogs_extable.c | 26 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG() 36 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG() 46 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG()
|
D | for_each_array_map_elem.c | 66 bpf_for_each_map_elem(&arraymap, check_array_elem, &data, 0); in test_pkt_access() 68 bpf_for_each_map_elem(&arraymap, unused_subprog, &data, 0); in test_pkt_access() 71 bpf_for_each_map_elem(&percpu_map, check_percpu_elem, (void *)0, 0); in test_pkt_access()
|
D | for_each_hash_map_elem.c | 71 bpf_for_each_map_elem(&hashmap, check_hash_elem, &data, 0); in check_percpu_elem() 89 hashmap_elems = bpf_for_each_map_elem(&hashmap, check_hash_elem, &data, 0); in test_pkt_access() 92 percpu_map_elems = bpf_for_each_map_elem(&percpu_map, check_percpu_elem, in test_pkt_access()
|
D | for_each_multi_maps.c | 43 bpf_for_each_map_elem(&arraymap, check_map_elem, &data, 0); in test_pkt_access() 45 bpf_for_each_map_elem(&hashmap, check_map_elem, &data, 0); in test_pkt_access()
|
D | bloom_filter_map.c | 69 bpf_for_each_map_elem(&map_random_data, check_elem, &data, 0); in inner_map() 80 bpf_for_each_map_elem(&map_random_data, check_elem, &data, 0); in check_bloom()
|
D | test_map_ops.c | 116 err = bpf_for_each_map_elem(&array_map, callback, &callback_ctx, flags); in map_for_each_pass() 135 err = bpf_for_each_map_elem(&array_map, callback, &callback_ctx, flags); in map_for_each_fail()
|
D | bloom_filter_bench.c | 99 bpf_for_each_map_elem(&array_map, bloom_callback, &data, 0); in bloom_lookup() 112 bpf_for_each_map_elem(&array_map, bloom_callback, &data, 0); in bloom_update()
|
D | for_each_map_elem_write_key.c | 23 bpf_for_each_map_elem(&array_map, check_array_elem, NULL, 0); in test_map_key_write()
|
D | verifier_iterating_callbacks.c | 130 bpf_for_each_map_elem(&map, for_each_map_elem_cb, &loop_ctx, 0); in unsafe_for_each_map_elem()
|
/linux-6.12.1/kernel/bpf/ |
D | bpf_iter.c | 727 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4() argument 734 .func = bpf_for_each_map_elem,
|