Home
last modified time | relevance | path

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

/linux/tools/perf/include/bpf/
A Dbpf.h11 struct bpf_map { struct
21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \ macro
/linux/kernel/bpf/preload/iterators/
A Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/linux/include/linux/
A Dbpf.h158 struct bpf_map { struct
163 struct bpf_map *inner_map_meta; argument
167 enum bpf_map_type map_type; argument
168 u32 key_size;
169 u32 value_size;
170 u32 max_entries;
171 u64 map_extra; /* any per-map-type extra fields */
172 u32 map_flags;
174 int timer_off; /* >=0 valid offset, <0 error */
175 u32 id;
[all …]
/linux/tools/testing/selftests/bpf/progs/
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
/linux/kernel/bpf/
A Dhelpers.c30 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
45 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
63 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
78 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
93 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
106 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
407 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
617 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
1092 BPF_CALL_3(bpf_timer_init, struct bpf_timer_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
A Dbpf_inode_storage.c170 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4()
205 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
A Dbpf_task_storage.c227 BPF_CALL_4(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_4()
258 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
A Dringbuf.c351 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
424 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
452 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
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
A Dstackmap.c337 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
383 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
A Dbpf_iter.c702 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
/linux/net/core/
A Dbpf_sk_storage.c256 BPF_CALL_4(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
289 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
416 BPF_CALL_4(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_4()
425 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
A Dsock_map.c609 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
632 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
658 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1194 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1216 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1242 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
A Dfilter.c4128 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, in BPF_CALL_3()
4156 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4429 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4548 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
10230 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux/kernel/trace/
A Dbpf_trace.c564 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
587 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
654 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
787 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1268 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1292 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1492 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1522 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
/linux/tools/lib/bpf/
A Dlibbpf.c373 struct bpf_map { struct
386 struct bpf_map_def def; argument
393 bpf_map_clear_priv_t clear_priv; argument
394 enum libbpf_map_type libbpf_type; argument
397 struct bpf_map *inner_map; argument
398 void **init_slots;
399 int init_slots_sz;
400 char *pin_path;
401 bool pinned;
402 bool reused;
[all …]

Completed in 73 milliseconds