Searched refs:kern_vtype_id (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.c | 990 __s32 kern_vtype_id, kern_type_id; in find_struct_ops_kern_types() local 1011 kern_vtype_id = find_btf_by_prefix_kind(btf, STRUCT_OPS_VALUE_PREFIX, in find_struct_ops_kern_types() 1013 if (kern_vtype_id < 0) { in find_struct_ops_kern_types() 1016 return kern_vtype_id; in find_struct_ops_kern_types() 1018 kern_vtype = btf__type_by_id(btf, kern_vtype_id); in find_struct_ops_kern_types() 1040 *vtype_id = kern_vtype_id; in find_struct_ops_kern_types() 1114 __u32 i, kern_type_id, kern_vtype_id, kern_data_off; in bpf_map__init_kern_struct_ops() local 1129 &kern_vtype, &kern_vtype_id, in bpf_map__init_kern_struct_ops() 1137 map->name, st_ops->type_id, kern_type_id, kern_vtype_id); in bpf_map__init_kern_struct_ops() 1141 map->btf_vmlinux_value_type_id = kern_vtype_id; in bpf_map__init_kern_struct_ops()
|