Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/include/bpf/
Dbpf.h11 struct bpf_map { struct
21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ macro
/Linux-v5.4/include/linux/
Dbpf.h74 struct bpf_map { struct
78 const struct bpf_map_ops *ops ____cacheline_aligned; argument
79 struct bpf_map *inner_map_meta; argument
83 enum bpf_map_type map_type; argument
94 struct bpf_map_memory memory; argument
108 static inline bool map_value_has_spin_lock(const struct bpf_map *map) in map_value_has_spin_lock() argument
Dlsm_hooks.h1813 int (*bpf_map)(struct bpf_map *map, fmode_t fmode); member
2055 struct hlist_head bpf_map; member
/Linux-v5.4/kernel/bpf/
Dhelpers.c26 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
41 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
59 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
74 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
89 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
102 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
333 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
Dstackmap.c345 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
/Linux-v5.4/net/core/
Dsock_map.c431 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
454 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
478 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
881 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
903 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
927 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dbpf_sk_storage.c840 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
871 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
Dfilter.c3745 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3()
3794 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4053 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4136 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
4216 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
8715 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/Linux-v5.4/kernel/trace/
Dbpf_trace.c371 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
394 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
461 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
565 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
793 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
817 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
972 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
999 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c215 struct bpf_map { struct
222 struct bpf_map_def def; argument
226 bpf_map_clear_priv_t clear_priv; argument
227 enum libbpf_map_type libbpf_type; argument
244 struct bpf_map *maps; argument