Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/include/bpf/
Dbpf.h11 struct bpf_map { struct
21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ argument
/Linux-v5.10/kernel/bpf/preload/iterators/
Diterators.bpf.c16 struct bpf_map { struct
24 struct bpf_map *map; argument
/Linux-v5.10/kernel/bpf/
Dhelpers.c29 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
44 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
62 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
77 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
92 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
105 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
377 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
584 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
Dbpf_inode_storage.c166 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4()
201 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.c473 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
519 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/Linux-v5.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
/Linux-v5.10/include/linux/
Dbpf.h141 struct bpf_map { struct
145 const struct bpf_map_ops *ops ____cacheline_aligned; argument
146 struct bpf_map *inner_map_meta; argument
150 enum bpf_map_type map_type; argument
161 struct bpf_map_memory memory; argument
178 static inline bool map_value_has_spin_lock(const struct bpf_map *map) in map_value_has_spin_lock() argument
/Linux-v5.10/net/core/
Dsock_map.c644 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
667 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
695 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1249 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()
1299 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dbpf_sk_storage.c267 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
300 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
Dfilter.c4117 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3()
4166 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4439 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4558 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
9884 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/Linux-v5.10/kernel/trace/
Dbpf_trace.c841 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
864 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
931 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1035 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1397 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1421 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1617 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1647 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/Linux-v5.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;