Searched refs:inner_map_meta (Results 1 – 7 of 7) sorted by relevance
12 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_meta_alloc() local21 if (inner_map->inner_map_meta) in bpf_map_meta_alloc()27 inner_map_meta_size = sizeof(*inner_map_meta); in bpf_map_meta_alloc()32 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()33 if (!inner_map_meta) in bpf_map_meta_alloc()36 inner_map_meta->map_type = inner_map->map_type; in bpf_map_meta_alloc()37 inner_map_meta->key_size = inner_map->key_size; in bpf_map_meta_alloc()38 inner_map_meta->value_size = inner_map->value_size; in bpf_map_meta_alloc()39 inner_map_meta->map_flags = inner_map->map_flags; in bpf_map_meta_alloc()40 inner_map_meta->max_entries = inner_map->max_entries; in bpf_map_meta_alloc()[all …]
1367 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local1369 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()1370 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()1371 return inner_map_meta; in array_of_map_alloc()1375 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()1379 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()1389 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
2565 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local2567 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()2568 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()2569 return inner_map_meta; in htab_of_map_alloc()2573 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()2577 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()2612 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
2221 if (map->inner_map_meta) { in mark_ptr_not_null_reg()2223 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()2227 if (btf_record_has_field(map->inner_map_meta->record, in mark_ptr_not_null_reg()
25 struct bpf_map *inner_map = map->inner_map_meta; in jeq_infer_not_null_ptr_to_btfid()
253 bpf_arena_alloc_pages(map->inner_map_meta, NULL, map->max_entries, 0, 0); in iter_maps3()
298 struct bpf_map *inner_map_meta; member