Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/include/bpf/
Dbpf.h11 struct bpf_map { struct
21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ argument
/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/
Diterators.bpf.c16 struct bpf_map { struct
24 struct bpf_map *map; argument
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c30 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
45 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
63 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
78 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
93 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
106 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
376 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
586 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
Dbpf_inode_storage.c170 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4()
205 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
Dringbuf.c370 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
443 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
471 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
Dmap_iter.c42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
Dstackmap.c467 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
516 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c33 struct bpf_map { struct
34 enum bpf_map_type map_type; argument
39 struct bpf_map_memory memory; argument
42 static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size, in check_bpf_map_fields() argument
/kernel/linux/linux-5.10/include/linux/
Dbpf.h142 struct bpf_map { struct
146 const struct bpf_map_ops *ops ____cacheline_aligned; argument
147 struct bpf_map *inner_map_meta; argument
151 enum bpf_map_type map_type; argument
162 struct bpf_map_memory memory; argument
179 static inline bool map_value_has_spin_lock(const struct bpf_map *map) in map_value_has_spin_lock() argument
/kernel/linux/linux-5.10/net/core/
Dsock_map.c646 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
669 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
697 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1260 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1282 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1310 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dbpf_sk_storage.c255 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
288 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
Dfilter.c4126 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3()
4175 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4448 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4567 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
9961 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c826 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
849 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
916 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1020 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1387 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1411 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1603 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1633 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c334 struct bpf_map { struct
341 struct bpf_map_def def; argument
348 bpf_map_clear_priv_t clear_priv; argument
349 enum libbpf_map_type libbpf_type; argument
352 struct bpf_map *inner_map; argument
353 void **init_slots;
354 int init_slots_sz;
355 char *pin_path;
356 bool pinned;
357 bool reused;