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 …]
1376 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local1378 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()1379 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()1380 return inner_map_meta; in array_of_map_alloc()1384 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()1388 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()1398 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
2671 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local2673 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()2674 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()2675 return inner_map_meta; in htab_of_map_alloc()2679 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()2683 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()2718 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
2257 if (map->inner_map_meta) { in mark_ptr_not_null_reg()2259 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()2263 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()
440 bpf_arena_alloc_pages(map->inner_map_meta, NULL, map->max_entries, 0, 0);
299 struct bpf_map *inner_map_meta; member