| /kernel/linux/linux-4.19/tools/perf/include/bpf/ |
| D | bpf.h | 11 struct bpf_map { struct 12 unsigned int type; 13 unsigned int key_size; 14 unsigned int value_size; 15 unsigned int max_entries; 16 unsigned int map_flags; 17 unsigned int inner_map_idx; 18 unsigned int numa_node;
|
| /kernel/linux/linux-5.10/tools/perf/include/bpf/ |
| D | bpf.h | 11 struct bpf_map { struct 21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ argument
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | bpf.h | 57 struct bpf_map { struct 61 const struct bpf_map_ops *ops ____cacheline_aligned; argument 62 struct bpf_map *inner_map_meta; argument 66 enum bpf_map_type map_type; argument 67 u32 key_size; 68 u32 value_size; 69 u32 max_entries; 93 struct bpf_map_dev_ops { argument 104 struct bpf_map map; argument
|
| D | lsm_hooks.h | 1775 int (*bpf_map)(struct bpf_map *map, fmode_t fmode); member 2009 struct hlist_head bpf_map; member
|
| /kernel/linux/linux-4.19/kernel/bpf/ |
| D | helpers.c | 31 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 46 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() 64 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 199 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
|
| D | stackmap.c | 352 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
|
| D | sockmap.c | 2588 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 2613 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
|
| /kernel/linux/linux-5.10/kernel/bpf/preload/iterators/ |
| D | iterators.bpf.c | 16 struct bpf_map { struct 24 struct bpf_map *map; argument
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | helpers.c | 30 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()
|
| D | bpf_inode_storage.c | 170 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()
|
| D | ringbuf.c | 370 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()
|
| D | map_iter.c | 42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
|
| D | stackmap.c | 476 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() 522 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | map_ptr_kern.c | 33 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/ |
| D | bpf.h | 142 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-4.19/kernel/trace/ |
| D | bpf_trace.c | 318 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 341 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4() 409 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() 497 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2() 649 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5() 673 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3() 828 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5() 855 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|
| /kernel/linux/linux-4.19/tools/lib/bpf/ |
| D | libbpf.c | 171 struct bpf_map { struct 176 struct bpf_map_def def; argument 180 bpf_map_clear_priv_t clear_priv; argument 191 struct bpf_map *maps; argument
|
| /kernel/linux/linux-5.10/net/core/ |
| D | sock_map.c | 644 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()
|
| D | bpf_sk_storage.c | 267 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()
|
| D | filter.c | 4110 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3() 4159 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() 4432 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() 4551 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()
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | bpf_trace.c | 826 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() 1607 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5() 1637 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| D | libbpf.c | 334 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;
|
| /kernel/linux/linux-4.19/net/core/ |
| D | filter.c | 2146 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 2173 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() 2207 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 2232 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() 3435 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3() 3472 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() 3731 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() 3814 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() 7109 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
|