Home
last modified time | relevance | path

Searched defs:bpf_map (Results 1 – 14 of 14) 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
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 Dsyscall.c15 struct bpf_map { struct
16 int id;
/linux/include/linux/
H A Dbpf.h296 struct bpf_map { struct
298 const struct bpf_map_ops *ops; argument
299 struct bpf_map *inner_map_meta; argument
303 enum bpf_map_type map_type; argument
304 u32 key_size;
305 u32 value_size;
306 u32 max_entries;
330 struct bpf_map_owner *owner; argument
331 bool bypass_spec_v1;
332 bool frozen; /* write-once; write-protected by freeze_mutex */
[all …]
/linux/kernel/bpf/
H A Dringbuf.c539 BPF_CALL_3(bpf_ringbuf_reserve,struct bpf_map *,map,u64,size,u64,flags) BPF_CALL_3() argument
612 BPF_CALL_4(bpf_ringbuf_output,struct bpf_map *,map,void *,data,u64,size,u64,flags) BPF_CALL_4() argument
640 BPF_CALL_2(bpf_ringbuf_query,struct bpf_map *,map,u64,flags) BPF_CALL_2() argument
669 BPF_CALL_4(bpf_ringbuf_reserve_dynptr,struct bpf_map *,map,u32,size,u64,flags,struct bpf_dynptr_kern *,ptr) BPF_CALL_4() argument
816 BPF_CALL_4(bpf_user_ringbuf_drain,struct bpf_map *,map,void *,callback_fn,void *,callback_ctx,u64,flags) BPF_CALL_4() argument
[all...]
H A Dmap_iter.c42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
[all...]
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()
1378 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
2698 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
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.c1752 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/linux/net/core/
H A Dbpf_sk_storage.c231 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
265 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
387 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
398 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
H A Dsock_map.c623 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 Dfilter.c4658 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4686 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4978 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
5099 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11454 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux/tools/lib/bpf/
H A Dlibbpf.c563 struct bpf_map { struct
577 struct bpf_map_def def; argument
584 enum libbpf_map_type libbpf_type; argument
587 struct bpf_map *inner_map; argument
588 void **init_slots;
589 int init_slots_sz;
590 char *pin_path;
591 bool pinned;
592 bool reused;
593 bool autocreate;
[all …]
/linux/kernel/trace/
H A Dbpf_trace.c559 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
582 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
657 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1372 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1396 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1595 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1626 struct bpf_map *, map, u64, flags) in BPF_CALL_3()