Home
last modified time | relevance | path

Searched defs:bpf_map (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/openbmc/linux/kernel/bpf/
H A Dbpf_task_storage.c230 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
249 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
265 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
286 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
H A Dbpf_inode_storage.c138 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5()
174 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
H A Dringbuf.c470 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
543 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
571 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
598 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4()
745 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
H A Dbpf_cgrp_storage.c161 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5()
191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2()
H A Dhelpers.c37 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
53 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
72 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
88 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
103 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
116 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
129 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3()
638 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
1242 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
H A Dmap_iter.c42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
H A Dstackmap.c283 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
332 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
H A Dbpf_iter.c728 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
H A Dcgroup.c1571 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c30 struct bpf_map { struct
31 enum bpf_map_type map_type; argument
38 static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size, in check_bpf_map_fields() argument
/openbmc/linux/include/linux/
H A Dbpf.h247 struct bpf_map { struct
256 enum bpf_map_type map_type; argument
257 u32 key_size;
258 u32 value_size;
259 u32 max_entries;
261 u32 map_flags;
262 u32 id;
264 int numa_node;
279 union {
290 struct {
[all …]
/openbmc/linux/net/core/
H A Dbpf_sk_storage.c224 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
258 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
389 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
400 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
H A Dsock_map.c614 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
637 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
665 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1221 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1243 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1271 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
H A Dfilter.c4575 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4603 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4893 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
5014 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11179 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c504 struct bpf_map { struct
518 struct bpf_map_def def; argument
524 enum libbpf_map_type libbpf_type; argument
527 struct bpf_map *inner_map; argument
528 void **init_slots;
529 int init_slots_sz;
530 char *pin_path;
531 bool pinned;
532 bool reused;
533 bool autocreate;
[all …]
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c567 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
590 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
657 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
797 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1626 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1650 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1849 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1880 struct bpf_map *, map, u64, flags) in BPF_CALL_3()