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) BPF_CALL_3() argument
613 BPF_CALL_4(bpf_ringbuf_output,struct bpf_map *,map,void *,data,u64,size,u64,flags) BPF_CALL_4() argument
641 BPF_CALL_2(bpf_ringbuf_query,struct bpf_map *,map,u64,flags) BPF_CALL_2() argument
670 BPF_CALL_4(bpf_ringbuf_reserve_dynptr,struct bpf_map *,map,u32,size,u64,flags,struct bpf_dynptr_kern *,ptr) BPF_CALL_4() argument
817 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 Dhelpers.c44 BPF_CALL_2(bpf_map_lookup_elem,struct bpf_map *,map,void *,key) BPF_CALL_2() argument
59 BPF_CALL_4(bpf_map_update_elem,struct bpf_map *,map,void *,key,void *,value,u64,flags) BPF_CALL_4() argument
77 BPF_CALL_2(bpf_map_delete_elem,struct bpf_map *,map,void *,key) BPF_CALL_2() argument
92 BPF_CALL_3(bpf_map_push_elem,struct bpf_map *,map,void *,value,u64,flags) BPF_CALL_3() argument
107 BPF_CALL_2(bpf_map_pop_elem,struct bpf_map *,map,void *,value) BPF_CALL_2() argument
120 BPF_CALL_2(bpf_map_peek_elem,struct bpf_map *,map,void *,value) BPF_CALL_2() argument
133 BPF_CALL_3(bpf_map_lookup_percpu_elem,struct bpf_map *,map,void *,key,u32,cpu) BPF_CALL_3() argument
639 BPF_CALL_5(bpf_event_output_data,void *,ctx,struct bpf_map *,map,u64,flags,void *,data,u64,size) BPF_CALL_5() argument
1393 BPF_CALL_3(bpf_timer_init,struct bpf_async_kern *,timer,struct bpf_map *,map,u64,flags) BPF_CALL_3() argument
2940 BPF_CALL_2(bpf_current_task_under_cgroup,struct bpf_map *,map,u32,idx) BPF_CALL_2() argument
[all...]
H A Dstackmap.c625 BPF_CALL_3(bpf_get_stackid,struct pt_regs *,regs,struct bpf_map *,map,u64,flags) BPF_CALL_3() argument
684 BPF_CALL_3(bpf_get_stackid_pe,struct bpf_perf_event_data_kern *,ctx,struct bpf_map *,map,u64,flags) BPF_CALL_3() argument
[all...]
H A Dbpf_iter.c711 BPF_CALL_4(bpf_for_each_map_elem,struct bpf_map *,map,void *,callback_fn,void *,callback_ctx,u64,flags) BPF_CALL_4() argument
H A Dcgroup.c1815 BPF_CALL_2(bpf_get_local_storage,struct bpf_map *,map,u64,flags) BPF_CALL_2() argument
/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,void *,value,u64,flags) BPF_CALL_4() argument
262 BPF_CALL_2(bpf_sk_storage_delete,struct bpf_map *,map,struct sock *,sk) BPF_CALL_2() argument
383 BPF_CALL_4(bpf_sk_storage_get_tracing,struct bpf_map *,map,struct sock *,sk,void *,value,u64,flags) BPF_CALL_4() argument
393 BPF_CALL_2(bpf_sk_storage_delete_tracing,struct bpf_map *,map,struct sock *,sk) BPF_CALL_2() argument
[all...]
H A Dsock_map.c626 BPF_CALL_4(bpf_sock_map_update,struct bpf_sock_ops_kern *,sops,struct bpf_map *,map,void *,key,u64,flags) BPF_CALL_4() argument
649 BPF_CALL_4(bpf_sk_redirect_map,struct sk_buff *,skb,struct bpf_map *,map,u32,key,u64,flags) BPF_CALL_4() argument
677 BPF_CALL_4(bpf_msg_redirect_map,struct sk_msg *,msg,struct bpf_map *,map,u32,key,u64,flags) BPF_CALL_4() argument
1233 BPF_CALL_4(bpf_sock_hash_update,struct bpf_sock_ops_kern *,sops,struct bpf_map *,map,void *,key,u64,flags) BPF_CALL_4() argument
1255 BPF_CALL_4(bpf_sk_redirect_hash,struct sk_buff *,skb,struct bpf_map *,map,void *,key,u64,flags) BPF_CALL_4() argument
1283 BPF_CALL_4(bpf_msg_redirect_hash,struct sk_msg *,msg,struct bpf_map *,map,void *,key,u64,flags) BPF_CALL_4() argument
[all...]
H A Dfilter.c4831 BPF_CALL_3(bpf_xdp_redirect_map,struct bpf_map *,map,u64,key,u64,flags) BPF_CALL_3() argument
4859 BPF_CALL_5(bpf_skb_event_output,struct sk_buff *,skb,struct bpf_map *,map,u64,flags,void *,meta,u64,meta_size) BPF_CALL_5() argument
5151 BPF_CALL_3(bpf_skb_under_cgroup,struct sk_buff *,skb,struct bpf_map *,map,u32,idx) BPF_CALL_3() argument
5272 BPF_CALL_5(bpf_xdp_event_output,struct xdp_buff *,xdp,struct bpf_map *,map,u64,flags,void *,meta,u64,meta_size) BPF_CALL_5() argument
11725 BPF_CALL_4(sk_select_reuseport,struct sk_reuseport_kern *,reuse_kern,struct bpf_map *,map,void *,key,u32,flags) BPF_CALL_4() argument
/linux/tools/lib/bpf/
H A Dlibbpf.c597 struct bpf_map *inner_map; argument
570 struct bpf_map { global() struct
584 defbpf_map global() argument
591 libbpf_typebpf_map global() argument
594 inner_mapbpf_map global() argument
595 init_slotsbpf_map global() argument
596 init_slots_szbpf_map global() argument
598 pinnedbpf_map global() argument
599 reusedbpf_map global() argument
600 autocreatebpf_map global() argument
601 autoattachbpf_map global() argument
602 map_extrabpf_map global() argument
603 excl_progbpf_map global() argument
[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() argument
612 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4() argument
687 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument
1403 BPF_CALL_5(bpf_perf_event_output_tp,void *,tp_buff,struct bpf_map *,map,u64,flags,void *,data,u64,size) BPF_CALL_5() argument
1427 BPF_CALL_3(bpf_get_stackid_tp,void *,tp_buff,struct bpf_map *,map,u64,flags) BPF_CALL_3() argument
1626 BPF_CALL_5(bpf_perf_event_output_raw_tp,struct bpf_raw_tracepoint_args *,args,struct bpf_map *,map,u64,flags,void *,data,u64,size) BPF_CALL_5() argument
1657 BPF_CALL_3(bpf_get_stackid_raw_tp,struct bpf_raw_tracepoint_args *,args,struct bpf_map *,map,u64,flags) BPF_CALL_3() argument
[all...]