/linux-6.1.9/tools/perf/include/bpf/ |
D | bpf.h | 11 struct bpf_map { struct 21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ macro
|
/linux-6.1.9/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 15 struct bpf_map { struct 23 struct bpf_map *map; argument
|
/linux-6.1.9/include/linux/ |
D | bpf.h | 202 struct bpf_map { struct 206 const struct bpf_map_ops *ops ____cacheline_aligned; argument 207 struct bpf_map *inner_map_meta; argument 211 enum bpf_map_type map_type; argument 218 struct bpf_map_value_off *kptr_off_tab; argument 230 struct bpf_map_off_arr *off_arr; argument 254 static inline bool map_value_has_spin_lock(const struct bpf_map *map) in map_value_has_spin_lock() argument
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | map_ptr_kern.c | 30 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
|
/linux-6.1.9/kernel/bpf/ |
D | ringbuf.c | 437 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3() 510 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4() 538 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 565 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4() 712 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
|
D | helpers.c | 34 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 49 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() 67 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 82 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3() 97 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 110 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 123 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3() 624 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5() 1133 BPF_CALL_3(bpf_timer_init, struct bpf_timer_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
|
D | bpf_inode_storage.c | 173 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5() 209 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
|
D | bpf_task_storage.c | 231 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() 263 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, 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 | 283 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()
|
D | bpf_iter.c | 728 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
|
D | cgroup.c | 1540 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
|
/linux-6.1.9/net/core/ |
D | bpf_sk_storage.c | 259 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 293 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2() 424 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 435 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
|
D | sock_map.c | 616 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 639 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() 1209 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 1231 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 1257 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
|
D | filter.c | 4426 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3() 4454 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() 4741 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() 4862 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() 10902 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.c | 485 struct bpf_map { struct 499 struct bpf_map_def def; argument 505 enum libbpf_map_type libbpf_type; argument 508 struct bpf_map *inner_map; argument 509 void **init_slots; 510 int init_slots_sz; 511 char *pin_path; 512 bool pinned; 513 bool reused; 514 bool autocreate; [all …]
|
/linux-6.1.9/kernel/trace/ |
D | bpf_trace.c | 572 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 595 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4() 662 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() 1569 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5() 1593 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3() 1792 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5() 1823 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|