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.c1334 struct bpf_map *map, *inner_map_meta; local
1336 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd);
1337 if (IS_ERR(inner_map_meta))
1338 return inner_map_meta;
1342 bpf_map_meta_free(inner_map_meta);
1346 map->inner_map_meta = inner_map_meta;
1353 /* map->inner_map_meta is only accessed by syscall which
1356 bpf_map_meta_free(map->inner_map_meta);
H A Dhashtab.c2576 struct bpf_map *map, *inner_map_meta; local
2578 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd);
2579 if (IS_ERR(inner_map_meta))
2580 return inner_map_meta;
2584 bpf_map_meta_free(inner_map_meta);
2588 map->inner_map_meta = inner_map_meta;
2623 bpf_map_meta_free(map->inner_map_meta);
H A Dverifier.c1844 if (map->inner_map_meta) {
1846 reg->map_ptr = map->inner_map_meta;
1850 if (btf_record_has_field(map->inner_map_meta->record, BPF_TIMER))
1852 if (btf_record_has_field(map->inner_map_meta->record, BPF_WORKQUEUE))
/linux-master/tools/testing/selftests/bpf/progs/
H A Djeq_infer_not_null_fail.c25 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.h261 struct bpf_map *inner_map_meta; member in struct:bpf_map

Completed in 314 milliseconds