Home
last modified time | relevance | path

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

/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c30 struct bpf_map { struct
38 static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size, in check_bpf_map_fields() argument
31 map_typebpf_map global() argument
[all...]
H A Dsyscall.c15 struct bpf_map { struct
16 int id;
/linux/kernel/bpf/
H A Dbpf_inode_storage.c125 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4()
161 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
H A Dringbuf.c540 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
613 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
641 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
670 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4()
817 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
H A Dhelpers.c44 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
59 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
77 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
92 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
107 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
120 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
133 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()
1393 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
2940 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
H A Dstackmap.c625 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
684 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
H A Dbpf_iter.c711 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
H A Dcgroup.c1815 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/linux/include/linux/
H A Dbpf.h301 struct bpf_map { global() struct
303 opsbpf_map global() argument
304 inner_map_metabpf_map global() argument
308 map_typebpf_map global() argument
309 key_sizebpf_map global() argument
310 value_sizebpf_map global() argument
311 max_entriesbpf_map global() argument
335 ownerbpf_map global() argument
336 bypass_spec_v1bpf_map global() argument
337 frozenbpf_map global() argument
338 free_after_mult_rcu_gpbpf_map global() argument
339 free_after_rcu_gpbpf_map global() argument
340 sleepable_refcntbpf_map global() argument
341 elem_countbpf_map global() argument
342 cookiebpf_map global() argument
343 excl_prog_shabpf_map global() argument
[all...]
/linux/net/core/
H A Dbpf_sk_storage.c228 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
262 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
383 BPF_CALL_4(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
393 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
H A Dsock_map.c626 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
649 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
677 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1233 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1255 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1283 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
H A Dfilter.c4831 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4859 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
5151 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
5272 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11725 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux/tools/lib/bpf/
H A Dlibbpf.c570 struct bpf_map { struct
584 struct bpf_map_def def; argument
591 enum libbpf_map_type libbpf_type; argument
594 struct bpf_map *inner_map; argument
595 void **init_slots;
596 int init_slots_sz;
597 char *pin_path;
598 bool pinned;
599 bool reused;
600 bool autocreate;
[all …]
/linux/kernel/trace/
H A Dbpf_trace.c589 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
612 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
687 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1403 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1427 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1626 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1657 struct bpf_map *, map, u64, flags) in BPF_CALL_3()