Searched refs:inner_map_meta (Results 1 – 6 of 6) sorted by relevance
12 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_meta_alloc() local23 if (inner_map->inner_map_meta) { in bpf_map_meta_alloc()33 inner_map_meta_size = sizeof(*inner_map_meta); in bpf_map_meta_alloc()38 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()39 if (!inner_map_meta) { in bpf_map_meta_alloc()44 inner_map_meta->map_type = inner_map->map_type; in bpf_map_meta_alloc()45 inner_map_meta->key_size = inner_map->key_size; in bpf_map_meta_alloc()46 inner_map_meta->value_size = inner_map->value_size; in bpf_map_meta_alloc()47 inner_map_meta->map_flags = inner_map->map_flags; in bpf_map_meta_alloc()48 inner_map_meta->max_entries = inner_map->max_entries; in bpf_map_meta_alloc()[all …]
1296 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local1298 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()1299 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()1300 return inner_map_meta; in array_of_map_alloc()1304 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()1308 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()1318 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
2535 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local2537 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()2538 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()2539 return inner_map_meta; in htab_of_map_alloc()2543 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()2547 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()2582 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
2178 if (map->inner_map_meta) { in mark_ptr_not_null_reg()2180 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()2184 if (btf_record_has_field(map->inner_map_meta->record, BPF_TIMER)) in mark_ptr_not_null_reg()
21 struct bpf_map *inner_map = map->inner_map_meta; in jeq_infer_not_null_ptr_to_btfid()
252 struct bpf_map *inner_map_meta; member