/linux-6.3-rc2/kernel/bpf/preload/iterators/ |
A D | iterators.bpf.c | 15 struct bpf_map { struct 23 struct bpf_map *map; argument
|
/linux-6.3-rc2/kernel/bpf/ |
A D | bpf_task_storage.c | 237 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() 256 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() 272 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() 293 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
|
A 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()
|
A D | bpf_inode_storage.c | 152 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5() 188 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
|
A D | bpf_cgrp_storage.c | 168 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5() 198 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2()
|
A D | helpers.c | 36 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 51 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() 69 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() 84 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3() 99 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 112 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() 125 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3() 628 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5() 1150 BPF_CALL_3(bpf_timer_init, struct bpf_timer_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
|
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
|
A 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()
|
A D | bpf_iter.c | 728 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
|
A D | cgroup.c | 1540 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
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
|
/linux-6.3-rc2/include/linux/ |
A D | bpf.h | 227 struct bpf_map { struct 236 enum bpf_map_type map_type; argument 237 u32 key_size; 238 u32 value_size; 239 u32 max_entries; 241 u32 map_flags; 242 u32 id; 244 int numa_node; 248 struct btf *btf; 267 struct { [all …]
|
/linux-6.3-rc2/net/core/ |
A D | bpf_sk_storage.c | 230 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 264 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2() 394 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() 405 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
|
A 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()
|
A D | filter.c | 4456 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3() 4484 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() 4774 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() 4895 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() 10966 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf.c | 486 struct bpf_map { struct 500 struct bpf_map_def def; argument 506 enum libbpf_map_type libbpf_type; argument 509 struct bpf_map *inner_map; argument 510 void **init_slots; 511 int init_slots_sz; 512 char *pin_path; 513 bool pinned; 514 bool reused; 515 bool autocreate; [all …]
|
/linux-6.3-rc2/kernel/trace/ |
A D | bpf_trace.c | 571 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2() 594 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4() 661 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() 794 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2() 1578 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5() 1602 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3() 1801 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5() 1832 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
|