Home
last modified time | relevance | path

Searched refs:inner_map_meta (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/bpf/
A Dmap_in_map.c12 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_meta_alloc() local
22 if (inner_map->inner_map_meta) { in bpf_map_meta_alloc()
37 inner_map_meta_size = sizeof(*inner_map_meta); in bpf_map_meta_alloc()
43 if (!inner_map_meta) { in bpf_map_meta_alloc()
48 inner_map_meta->map_type = inner_map->map_type; in bpf_map_meta_alloc()
57 inner_map_meta->btf = inner_map->btf; in bpf_map_meta_alloc()
61 inner_map_meta->ops = inner_map->ops; in bpf_map_meta_alloc()
69 return inner_map_meta; in bpf_map_meta_alloc()
93 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_fd_get_ptr() local
101 inner_map_meta = map->inner_map_meta; in bpf_map_fd_get_ptr()
[all …]
A Darraymap.c1269 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local
1271 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()
1272 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()
1273 return inner_map_meta; in array_of_map_alloc()
1277 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()
1281 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()
1291 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
A Dhashtab.c2364 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local
2366 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()
2367 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()
2368 return inner_map_meta; in htab_of_map_alloc()
2372 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()
2376 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()
2411 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
A Dverifier.c1148 if (map->inner_map_meta) { in mark_ptr_not_null_reg()
1150 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()
1154 if (map_value_has_timer(map->inner_map_meta)) in mark_ptr_not_null_reg()
11611 if (map->inner_map_meta && !check_map_prealloc(map->inner_map_meta)) in is_preallocated_map()
/linux/include/linux/
A Dbpf.h163 struct bpf_map *inner_map_meta; member

Completed in 36 milliseconds