Searched refs:kern_vtype (Results 1 – 1 of 1) sorted by relevance
930 const struct btf_type *kern_type, *kern_vtype; in find_struct_ops_kern_types() local955 kern_vtype = btf__type_by_id(btf, kern_vtype_id); in find_struct_ops_kern_types()963 kern_data_member = btf_members(kern_vtype); in find_struct_ops_kern_types()964 for (i = 0; i < btf_vlen(kern_vtype); i++, kern_data_member++) { in find_struct_ops_kern_types()968 if (i == btf_vlen(kern_vtype)) { in find_struct_ops_kern_types()976 *vtype = kern_vtype; in find_struct_ops_kern_types()994 const struct btf_type *type, *kern_type, *kern_vtype; in bpf_map__init_kern_struct_ops() local1006 &kern_vtype, &kern_vtype_id, in bpf_map__init_kern_struct_ops()1014 map->def.value_size = kern_vtype->size; in bpf_map__init_kern_struct_ops()1017 st_ops->kern_vdata = calloc(1, kern_vtype->size); in bpf_map__init_kern_struct_ops()