Home
last modified time | relevance | path

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

/linux-6.8/kernel/bpf/preload/iterators/
Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/linux-6.8/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.c38 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
54 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4()
73 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2()
89 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags) in BPF_CALL_3()
104 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
117 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2()
130 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3()
635 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
1158 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.c1555 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/linux-6.8/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
Dsyscall.c14 struct bpf_map { struct
15 int id;
/linux-6.8/include/linux/
Dbpf.h249 struct bpf_map { struct
253 const struct bpf_map_ops *ops ____cacheline_aligned; argument
254 struct bpf_map *inner_map_meta; argument
258 enum bpf_map_type map_type; argument
259 u32 key_size;
260 u32 value_size;
261 u32 max_entries;
262 u64 map_extra; /* any per-map-type extra fields */
263 u32 map_flags;
264 u32 id;
[all …]
/linux-6.8/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()
390 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
401 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
Dsock_map.c614 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
637 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
663 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1216 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1238 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1264 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dfilter.c4551 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4579 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4869 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
4990 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11166 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux-6.8/tools/lib/bpf/
Dlibbpf.c513 struct bpf_map { struct
527 struct bpf_map_def def; argument
533 enum libbpf_map_type libbpf_type; argument
536 struct bpf_map *inner_map; argument
537 void **init_slots;
538 int init_slots_sz;
539 char *pin_path;
540 bool pinned;
541 bool reused;
542 bool autocreate;
[all …]
/linux-6.8/kernel/trace/
Dbpf_trace.c571 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
594 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
661 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
801 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
1696 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1720 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1919 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1950 struct bpf_map *, map, u64, flags) in BPF_CALL_3()