/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.bpf.c | 15 struct bpf_map { struct 23 struct bpf_map *map; argument
|
/linux/kernel/bpf/ |
H A D | bpf_task_storage.c | 231 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() 250 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() 266 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() 287 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
|
H A D | bpf_inode_storage.c | 130 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5() 166 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
|
H A D | ringbuf.c | 463 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3() 536 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4() 564 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 591 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4() 738 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
|
H A D | bpf_cgrp_storage.c | 160 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5() 191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2()
|
H A D | helpers.c | 40 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 56 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() 75 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 91 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3() 106 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 119 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 132 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3() 639 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5() 1327 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map, in BPF_CALL_3() 2567 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
|
H A 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
|
H A D | stackmap.c | 300 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() 349 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|
H A D | bpf_iter.c | 726 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
|
H A D | cgroup.c | 1757 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A 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
|
H A D | syscall.c | 15 struct bpf_map { struct 16 int id;
|
/linux/include/linux/ |
H A D | bpf.h | 290 struct bpf_map { struct 291 const struct bpf_map_ops *ops; argument 292 struct bpf_map *inner_map_meta; argument 296 enum bpf_map_type map_type; argument 297 u32 key_size; 298 u32 value_size; 299 u32 max_entries; 323 struct bpf_map_owner *owner; argument 324 bool bypass_spec_v1; 325 bool frozen; /* write-once; write-protected by freeze_mutex */ [all …]
|
/linux/net/core/ |
H A D | bpf_sk_storage.c | 227 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 261 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2() 382 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 393 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
|
H A D | sock_map.c | 623 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 646 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() 674 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() 1230 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 1252 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() 1280 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
|
H A D | filter.c | 4626 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3() 4654 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() 4946 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() 5067 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() 11328 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 545 struct bpf_map { struct 559 struct bpf_map_def def; argument 566 enum libbpf_map_type libbpf_type; argument 569 struct bpf_map *inner_map; argument 570 void **init_slots; 571 int init_slots_sz; 572 char *pin_path; 573 bool pinned; 574 bool reused; 575 bool autocreate; [all …]
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 560 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 583 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4() 658 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() 1546 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5() 1570 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3() 1769 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5() 1800 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|