Home
last modified time | relevance | path

Searched refs:bpf_map_push_elem (Results 1 – 9 of 9) sorted by relevance

/linux/Documentation/bpf/
H A Dmap_queue_stack.rst31 bpf_map_push_elem()
36 long bpf_map_push_elem(struct bpf_map *map, const void *value, u64 flags)
39 ``bpf_map_push_elem`` helper. The ``flags`` parameter must be set to
80 same semantics as the ``bpf_map_push_elem`` kernel helper. Returns ``0`` on
H A Dmap_bloom_filter.rst23 BPF programs must use ``bpf_map_push_elem`` to add an element to the
54 bpf_map_push_elem()
59 long bpf_map_push_elem(struct bpf_map *map, const void *value, u64 flags)
62 ``bpf_map_push_elem()`` helper. The ``flags`` parameter must be set to
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_queue_stack_map.h50 err = bpf_map_push_elem(&map_out, &iph->saddr, 0); in _test()
H A Dtest_map_ops.c72 err = bpf_map_push_elem(&stack_map, &val, 0); in map_push()
H A Dbloom_filter_bench.c77 err = bpf_map_push_elem(data->map, val, 0); in bloom_callback()
/linux/tools/testing/selftests/sched_ext/
H A Ddsp_local_on.bpf.c30 if (bpf_map_push_elem(&queue, &pid, 0)) in BPF_STRUCT_OPS()
/linux/tools/sched_ext/
H A Dscx_central.bpf.c121 if (bpf_map_push_elem(&central_q, &pid, 0)) { in BPF_STRUCT_OPS()
H A Dscx_qmap.bpf.c264 if (bpf_map_push_elem(ring, &pid, 0)) { in BPF_STRUCT_OPS()
/linux/kernel/bpf/
H A Dhelpers.c91 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3() argument
97 .func = bpf_map_push_elem,