Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/bpf/
A Dmap_in_map.c12 struct bpf_map *inner_map, *inner_map_meta; in bpf_map_meta_alloc() local
23 if (inner_map->inner_map_meta) { in bpf_map_meta_alloc()
39 if (!inner_map_meta) { in bpf_map_meta_alloc()
51 if (IS_ERR(inner_map_meta->record)) { in bpf_map_meta_alloc()
59 if (inner_map_meta->record) { in bpf_map_meta_alloc()
78 inner_map_meta->btf = inner_map->btf; in bpf_map_meta_alloc()
82 inner_map_meta->ops = inner_map->ops; in bpf_map_meta_alloc()
90 return inner_map_meta; in bpf_map_meta_alloc()
94 kfree(inner_map_meta); in bpf_map_meta_alloc()
131 inner_map_meta = map->inner_map_meta; in bpf_map_fd_get_ptr()
[all …]
A Darraymap.c1300 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local
1302 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()
1303 if (IS_ERR(inner_map_meta)) in array_of_map_alloc()
1304 return inner_map_meta; in array_of_map_alloc()
1308 bpf_map_meta_free(inner_map_meta); in array_of_map_alloc()
1312 map->inner_map_meta = inner_map_meta; in array_of_map_alloc()
1322 bpf_map_meta_free(map->inner_map_meta); in array_of_map_free()
A Dhashtab.c2459 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local
2461 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()
2462 if (IS_ERR(inner_map_meta)) in htab_of_map_alloc()
2463 return inner_map_meta; in htab_of_map_alloc()
2467 bpf_map_meta_free(inner_map_meta); in htab_of_map_alloc()
2471 map->inner_map_meta = inner_map_meta; in htab_of_map_alloc()
2506 bpf_map_meta_free(map->inner_map_meta); in htab_of_map_free()
A Dverifier.c1624 if (map->inner_map_meta) { in mark_ptr_not_null_reg()
1626 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()
1630 if (btf_record_has_field(map->inner_map_meta->record, BPF_TIMER)) in mark_ptr_not_null_reg()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Djeq_infer_not_null_fail.c21 struct bpf_map *inner_map = map->inner_map_meta; in jeq_infer_not_null_ptr_to_btfid()
/linux-6.3-rc2/include/linux/
A Dbpf.h232 struct bpf_map *inner_map_meta; member

Completed in 47 milliseconds