Searched refs:bpf_map (Results 76 - 100 of 137) sorted by relevance

123456

/linux-master/tools/lib/bpf/
H A Dlibbpf.c74 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj);
76 static int map_set_def_max_entries(struct bpf_map *map);
519 struct bpf_map { struct
543 struct bpf_map *inner_map;
655 struct bpf_map *maps;
703 struct bpf_map *arena_map;
1022 static bool bpf_map__is_struct_ops(const struct bpf_map *map)
1048 struct bpf_map *map;
1083 static int bpf_map__init_kern_struct_ops(struct bpf_map *map)
1253 struct bpf_map *ma
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c82 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map)
202 struct bpf_map *map = &nfp_map->offmap->map;
298 struct bpf_map *map = &offmap->map;
H A Dmain.h226 struct bpf_map *ptr;
595 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_data.c106 struct bpf_map *map, *map2;
H A Dget_stack_raw_tp.c96 struct bpf_map *map;
H A Dbtf_map_in_map.c10 static __u32 bpf_map_id(struct bpf_map *map)
H A Dstruct_ops_autocreate.c37 static int check_test_1_link(struct struct_ops_autocreate *skel, struct bpf_map *map)
H A Dcg_storage_multi.c22 static bool assert_storage(struct bpf_map *map, const void *key,
40 static bool assert_storage_noexist(struct bpf_map *map, const void *key)
H A Dcore_autosize.c59 struct bpf_map *bss_map;
H A Dsockmap_basic.c59 static void compare_cookies(struct bpf_map *src, struct bpf_map *dst)
138 struct bpf_map *dst_map;
199 struct bpf_map *src;
H A Dverifier.c208 struct bpf_map *map;
H A Dflow_dissector.c509 static int init_prog_array(struct bpf_object *obj, struct bpf_map *prog_array)
537 static void run_tests_skb_less(int tap_fd, struct bpf_map *keys)
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)
1212 struct bpf_map *redir_map;
1213 struct bpf_map *run_map;
/linux-master/tools/testing/selftests/bpf/
H A Dxdping.c98 struct bpf_map *map;
H A Dtest_tcpnotify_user.c73 struct bpf_map *perf_map, *global_map;
H A Dget_cgroup_id_user.c38 struct bpf_map *map;
H A Dtest_loader.c475 static bool is_unpriv_capable_map(struct bpf_map *map)
570 struct bpf_map *map;
/linux-master/include/net/
H A Dxdp_sock.h42 struct bpf_map map;
/linux-master/kernel/bpf/
H A Dinode.c182 static struct bpf_map *seq_file_to_map(struct seq_file *m)
195 static struct map_iter *map_iter_alloc(struct bpf_map *map)
216 struct bpf_map *map = seq_file_to_map(m);
252 struct bpf_map *map = seq_file_to_map(m);
274 struct bpf_map *map = inode->i_private;
354 struct bpf_map *map = arg;
H A Dhelpers.c38 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key)
54 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key,
73 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key)
89 BPF_CALL_3(bpf_map_push_elem, struct bpf_map *, map, void *, value, u64, flags)
104 BPF_CALL_2(bpf_map_pop_elem, struct bpf_map *, map, void *, value)
117 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value)
130 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu)
374 void copy_map_value_locked(struct bpf_map *map, void *dst, void *src,
635 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map,
1088 * remembers 'struct bpf_map *' pointe
[all...]
/linux-master/samples/bpf/
H A Dmap_perf_test_user.c405 struct bpf_map *map;
430 struct bpf_map *map;
/linux-master/include/linux/
H A Dlsm_hook_defs.h423 LSM_HOOK(int, 0, bpf_map, struct bpf_map *map, fmode_t fmode)
425 LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr,
427 LSM_HOOK(void, LSM_RET_VOID, bpf_map_free, struct bpf_map *map)
H A Dsecurity.h2125 struct bpf_map;
2130 extern int security_bpf_map(struct bpf_map *map, fmode_t fmode);
2132 extern int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
2134 extern void security_bpf_map_free(struct bpf_map *map);
2150 static inline int security_bpf_map(struct bpf_map *map, fmode_t fmode)
2160 static inline int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr,
2166 static inline void security_bpf_map_free(struct bpf_map *map)
H A Dbpf_verifier.h86 struct bpf_map *map_ptr;
678 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c157 struct bpf_map *map;

Completed in 392 milliseconds

123456