Searched refs:datasec (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 177 const struct btf_type *datasec; member 190 const struct btf_type *datasec; in bpf_metadata_read_map_data() local 216 datasec = btf__type_by_id(btf, map_info.btf_value_type_id); in bpf_metadata_read_map_data() 217 if (!btf_is_datasec(datasec)) in bpf_metadata_read_map_data() 224 vlen = btf_vlen(datasec); in bpf_metadata_read_map_data() 225 vsi = btf_var_secinfos(datasec); in bpf_metadata_read_map_data() 248 map->datasec = datasec; in bpf_metadata_read_map_data() 309 vlen = btf_vlen(map->datasec); in bpf_metadata_fill_event() 310 vsi = btf_var_secinfos(map->datasec); in bpf_metadata_fill_event() [all...] |
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 1390 const struct btf_type *type, *datasec; in init_struct_ops_maps() local 1411 datasec = btf__type_by_id(btf, datasec_id); in init_struct_ops_maps() 1412 vsi = btf_var_secinfos(datasec); in init_struct_ops_maps() 1413 for (i = 0; i < btf_vlen(datasec); i++, vsi++) { in init_struct_ops_maps() 2447 case BTF_KIND_DATASEC: return "datasec"; in __btf_kind_str() 10818 /* verify map is datasec */ in bpf_map__set_inner_map_fd() 10821 pr_warn("map '%s': cannot be resized, map value type is not a datasec\n", in bpf_map__set_inner_map_fd() 10826 /* verify datasec has at least one var */ in bpf_map__set_inner_map_fd() 10829 pr_warn("map '%s': cannot be resized, map value datasec is empty\n", in bpf_map__set_inner_map_fd() 10834 /* verify last var in the datasec i [all...] |
| /linux/kernel/bpf/ |
| H A D | verifier.c | 17943 const struct btf_type *datasec; in __check_pseudo_btf_id() local 17981 datasec = btf_type_by_id(btf, datasec_id); in __check_pseudo_btf_id() 17982 for_each_vsi(i, datasec, vsi) { in __check_pseudo_btf_id()
|