Searched refs:inner_map_meta (Results 1 - 7 of 7) sorted by relevance

/linux-master/kernel/bpf/
H A Dmap_in_map.c12 struct bpf_map *inner_map, *inner_map_meta; local
23 if (inner_map->inner_map_meta) {
33 inner_map_meta_size = sizeof(*inner_map_meta);
38 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER);
39 if (!inner_map_meta) {
44 inner_map_meta->map_type = inner_map->map_type;
45 inner_map_meta->key_size = inner_map->key_size;
46 inner_map_meta->value_size = inner_map->value_size;
47 inner_map_meta->map_flags = inner_map->map_flags;
48 inner_map_meta
112 struct bpf_map *inner_map, *inner_map_meta; local
[all...]
H A Darraymap.c1296 struct bpf_map *map, *inner_map_meta; local
1298 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd);
1299 if (IS_ERR(inner_map_meta))
1300 return inner_map_meta;
1304 bpf_map_meta_free(inner_map_meta);
1308 map->inner_map_meta = inner_map_meta;
1315 /* map->inner_map_meta is only accessed by syscall which
1318 bpf_map_meta_free(map->inner_map_meta);
H A Dhashtab.c2546 struct bpf_map *map, *inner_map_meta; local
2548 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd);
2549 if (IS_ERR(inner_map_meta))
2550 return inner_map_meta;
2554 bpf_map_meta_free(inner_map_meta);
2558 map->inner_map_meta = inner_map_meta;
2593 bpf_map_meta_free(map->inner_map_meta);
H A Dverifier.c1837 if (map->inner_map_meta) {
1839 reg->map_ptr = map->inner_map_meta;
1843 if (btf_record_has_field(map->inner_map_meta->record, BPF_TIMER))
/linux-master/tools/testing/selftests/bpf/progs/
H A Djeq_infer_not_null_fail.c21 struct bpf_map *inner_map = map->inner_map_meta;
H A Dverifier_arena.c146 bpf_arena_alloc_pages(map->inner_map_meta, NULL, map->max_entries, 0, 0);
/linux-master/include/linux/
H A Dbpf.h259 struct bpf_map *inner_map_meta; member in struct:bpf_map

Completed in 365 milliseconds