Home
last modified time | relevance | path

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

/linux-6.14.4/kernel/bpf/preload/iterators/
Diterators.bpf.c15 struct bpf_map { struct
23 struct bpf_map *map; argument
/linux-6.14.4/kernel/bpf/
Dbpf_task_storage.c231 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
250 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
266 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
287 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.c466 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3()
539 BPF_CALL_4(bpf_ringbuf_output, struct bpf_map *, map, void *, data, u64, size, in BPF_CALL_4()
567 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
594 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4()
741 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4()
Dbpf_cgrp_storage.c160 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5()
190 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()
2472 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.14.4/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.14.4/include/linux/
Dbpf.h260 struct bpf_map { struct
261 const struct bpf_map_ops *ops; argument
262 struct bpf_map *inner_map_meta; argument
266 enum bpf_map_type map_type; argument
267 u32 key_size;
268 u32 value_size;
269 u32 max_entries;
270 u64 map_extra; /* any per-map-type extra fields */
271 u32 map_flags;
272 u32 id;
[all …]
/linux-6.14.4/net/core/
Dbpf_sk_storage.c227 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
261 BPF_CALL_2(bpf_sk_storage_delete, struct bpf_map *, map, struct sock *, sk) in BPF_CALL_2()
382 BPF_CALL_5(bpf_sk_storage_get_tracing, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5()
393 BPF_CALL_2(bpf_sk_storage_delete_tracing, struct bpf_map *, map, in BPF_CALL_2()
Dsock_map.c623 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
646 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
674 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4()
1230 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1252 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
1280 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4()
Dfilter.c4608 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3()
4636 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5()
4928 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3()
5049 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5()
11257 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4()
/linux-6.14.4/tools/lib/bpf/
Dlibbpf.c543 struct bpf_map { struct
557 struct bpf_map_def def; argument
564 enum libbpf_map_type libbpf_type; argument
567 struct bpf_map *inner_map; argument
568 void **init_slots;
569 int init_slots_sz;
570 char *pin_path;
571 bool pinned;
572 bool reused;
573 bool autocreate;
[all …]
/linux-6.14.4/kernel/trace/
Dbpf_trace.c559 BPF_CALL_2(bpf_perf_event_read, struct bpf_map *, map, u64, flags) in BPF_CALL_2()
582 BPF_CALL_4(bpf_perf_event_read_value, struct bpf_map *, map, u64, flags, in BPF_CALL_4()
652 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5()
1659 BPF_CALL_5(bpf_perf_event_output_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_5()
1683 BPF_CALL_3(bpf_get_stackid_tp, void *, tp_buff, struct bpf_map *, map, in BPF_CALL_3()
1882 struct bpf_map *, map, u64, flags, void *, data, u64, size) in BPF_CALL_5()
1913 struct bpf_map *, map, u64, flags) in BPF_CALL_3()