Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/preload/iterators/
Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/Linux-v6.6/kernel/bpf/
Dbpf_task_storage.c230 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
249 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
265 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
286 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
Dringbuf.c451 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
524 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
552 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
579 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4()
726 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
Dbpf_inode_storage.c138 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5()
174 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
Dbpf_cgrp_storage.c161 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5()
191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2()
Dhelpers.c37 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
52 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
70 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
85 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
100 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
113 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
126 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3()
631 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
1153 BPF_CALL_3(bpf_timer_init, struct bpf_timer_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
Dmap_iter.c42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) in DEFINE_BPF_ITER_FUNC() argument
Dstackmap.c280 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
329 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
Dbpf_iter.c728 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
Dcgroup.c1541 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
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-v6.6/include/linux/
Dbpf.h243 struct bpf_map { struct
247 const struct bpf_map_ops *ops ____cacheline_aligned; argument
248 struct bpf_map *inner_map_meta; argument
252 enum bpf_map_type map_type; argument
253 u32 key_size;
254 u32 value_size;
255 u32 max_entries;
256 u64 map_extra; /* any per-map-type extra fields */
257 u32 map_flags;
258 u32 id;
[all …]
/Linux-v6.6/net/core/
Dbpf_sk_storage.c224 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
258 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
389 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
400 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
Dsock_map.c612 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
635 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
661 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1214 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1236 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1262 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dfilter.c4472 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4500 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4790 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4911 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11068 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c503 struct bpf_map { struct
517 struct bpf_map_def def; argument
523 enum libbpf_map_type libbpf_type; argument
526 struct bpf_map *inner_map; argument
527 void **init_slots;
528 int init_slots_sz;
529 char *pin_path;
530 bool pinned;
531 bool reused;
532 bool autocreate;
[all …]
/Linux-v6.6/kernel/trace/
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()
794 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1621 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1645 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1844 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1875 struct bpf_map *, map, u64, flags) in BPF_CALL_3()