Searched refs:kern_vtype (Results 1 – 1 of 1) sorted by relevance
987 const struct btf_type *kern_type, *kern_vtype; in find_struct_ops_kern_types() local1018 kern_vtype = btf__type_by_id(btf, kern_vtype_id); in find_struct_ops_kern_types()1026 kern_data_member = btf_members(kern_vtype); in find_struct_ops_kern_types()1027 for (i = 0; i < btf_vlen(kern_vtype); i++, kern_data_member++) { in find_struct_ops_kern_types()1031 if (i == btf_vlen(kern_vtype)) { in find_struct_ops_kern_types()1039 *vtype = kern_vtype; in find_struct_ops_kern_types()1113 const struct btf_type *type, *kern_type, *kern_vtype; in bpf_map__init_kern_struct_ops() local1129 &kern_vtype, &kern_vtype_id, in bpf_map__init_kern_struct_ops()1140 map->def.value_size = kern_vtype->size; in bpf_map__init_kern_struct_ops()1143 st_ops->kern_vdata = calloc(1, kern_vtype->size); in bpf_map__init_kern_struct_ops()