Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/preload/iterators/
Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/linux-6.12.1/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()
Dbpf_inode_storage.c130 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5()
166 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2()
Dringbuf.c470 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
543 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
571 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
598 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4()
745 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
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()
636 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5()
1324 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map, in BPF_CALL_3()
2462 BPF_CALL_2(bpf_current_task_under_cgroup, struct bpf_map *, map, u32, idx) in BPF_CALL_2()
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.c300 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3()
349 struct bpf_map *, map, u64, flags) in BPF_CALL_3()
Dbpf_iter.c727 BPF_CALL_4(bpf_for_each_map_elem, struct bpf_map *, map, void *, callback_fn, in BPF_CALL_4()
Dcgroup.c1569 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
/linux-6.12.1/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.c15 struct bpf_map { struct
16 int id;
/linux-6.12.1/include/linux/
Dbpf.h259 struct bpf_map { struct
260 const struct bpf_map_ops *ops; argument
261 struct bpf_map *inner_map_meta; argument
265 enum bpf_map_type map_type; argument
266 u32 key_size;
267 u32 value_size;
268 u32 max_entries;
269 u64 map_extra; /* any per-map-type extra fields */
270 u32 map_flags;
271 u32 id;
[all …]
/linux-6.12.1/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.c617 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
640 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
668 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1224 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1246 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1274 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dfilter.c4595 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4623 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4915 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
5036 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11243 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c542 struct bpf_map { struct
556 struct bpf_map_def def; argument
563 enum libbpf_map_type libbpf_type; argument
566 struct bpf_map *inner_map; argument
567 void **init_slots;
568 int init_slots_sz;
569 char *pin_path;
570 bool pinned;
571 bool reused;
572 bool autocreate;
[all …]
/linux-6.12.1/kernel/trace/
Dbpf_trace.c570 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
593 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
660 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1620 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1644 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1843 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1874 struct bpf_map *, map, u64, flags) in BPF_CALL_3()