Home
last modified time | relevance | path

Searched refs:bpf_map (Results 101 – 125 of 151) sorted by relevance

1234567

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdping.c98 struct bpf_map *map; in main()
H A Dtest_loader.c454 static bool is_unpriv_capable_map(struct bpf_map *map) in is_unpriv_capable_map()
545 struct bpf_map *map; in run_subtest()
H A Dxsk.c436 void xsk_clear_xskmap(struct bpf_map *map) in xsk_clear_xskmap()
445 int xsk_update_xskmap(struct bpf_map *map, struct xsk_socket *xsk) in xsk_update_xskmap()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_map_in_map.c10 static __u32 bpf_map_id(struct bpf_map *map) in bpf_map_id()
H A Dverifier.c194 struct bpf_map *map; in init_test_val_map()
H A Dcore_autosize.c59 struct bpf_map *bss_map; in test_core_autosize()
H A Dflow_dissector.c509 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array) in init_prog_array()
537 static void run_tests_skb_less(int tap_fd, struct bpf_map *keys) in run_tests_skb_less()
H A Dsk_lookup.c72 struct bpf_map *sock_map;
493 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) in update_lookup_map()
1212 struct bpf_map *redir_map;
1213 struct bpf_map *run_map;
H A Dverify_pkcs7_sig.c263 struct bpf_map *map; in test_verify_pkcs7_sig()
H A Dmmap.c23 struct bpf_map *data_map, *bss_map; in test_mmap()
H A Dxdp_metadata.c286 struct bpf_map *prog_arr; in test_xdp_metadata()
H A Dbpf_tcp_ca.c81 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test()
H A Dfexit_bpf2bpf.c14 struct bpf_map *data_map = NULL, *map; in check_data_map()
/openbmc/linux/Documentation/bpf/
H A Dmap_cgroup_storage.rst80 __u32 map_lookup(struct bpf_map *map, __u64 cgrp, enum bpf_attach_type type)
115 __u32 map_lookup(struct bpf_map *map, __u64 cgrp, enum bpf_attach_type type)
H A Dmap_devmap.rst36 long bpf_redirect_map(struct bpf_map *map, u32 key, u64 flags)
66 void *bpf_map_lookup_elem(struct bpf_map *map, const void *key)
H A Dmap_of_maps.rst53 void *bpf_map_lookup_elem(struct bpf_map *map, const void *key)
/openbmc/linux/Documentation/bpf/libbpf/
H A Dlibbpf_naming_convention.rst32 ``struct bpf_map``, etc.
42 program in ELF object and ``struct bpf_map`` is a map.
/openbmc/linux/include/linux/
H A Dfilter.h660 struct bpf_map *map;
932 void bpf_clear_redirect_map(struct bpf_map *map);
1502 static __always_inline long __bpf_xdp_redirect_map(struct bpf_map *map, u64 index, in __bpf_xdp_redirect_map()
1504 void *lookup_elem(struct bpf_map *map, u32 key)) in __bpf_xdp_redirect_map()
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c157 struct bpf_map *map; in htab_mem_setup()
/openbmc/linux/kernel/bpf/
H A Dcore.c1979 struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2; in ___bpf_prog_run()
2255 bool bpf_prog_map_compatible(struct bpf_map *map, in bpf_prog_map_compatible()
2298 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call()
2673 struct bpf_map **used_maps, u32 len) in __bpf_free_used_maps()
2675 struct bpf_map *map; in __bpf_free_used_maps()
2842 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, in bpf_event_output()
H A Dverifier.c265 struct bpf_map *map_ptr;
509 const struct bpf_map *map) in is_acquire_function()
581 const struct bpf_map *map) in helper_multiple_ref_obj_use()
5404 struct bpf_map *map = reg->map_ptr; in check_map_access()
7427 struct bpf_map *map = NULL; in process_spin_lock()
9438 struct bpf_map *map; in set_map_elem_callback_state()
14734 struct bpf_map *map; in check_ld_imm()
17507 struct bpf_map *map, in check_map_prog_compatibility()
17610 struct bpf_map *map; in resolve_pseudo_ldimm64()
18463 struct bpf_map *map_ptr; in jit_subprogs()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dskel_internal.h146 struct bpf_map *map; in skel_finalize_map_data()
H A Dusdt.c244 struct bpf_map *specs_map;
245 struct bpf_map *ip_to_spec_id_map;
260 struct bpf_map *specs_map, *ip_to_spec_id_map; in usdt_manager_new()
/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c502 struct bpf_map *map; in do_register()
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c41 struct bpf_map *map;

1234567