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 …]
1327 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local1329 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()1330 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()1331 return inner_map_meta; in array_of_map_alloc()1335 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()1339 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()1349 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
2532 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local2534 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()2535 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()2536 return inner_map_meta; in htab_of_map_alloc()2540 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()2544 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()2579 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
1963 if (map->inner_map_meta) { in mark_ptr_not_null_reg()1965 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()1969 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()
248 struct bpf_map *inner_map_meta; member