Lines Matching refs:tname
459 const char *tname; member
925 find_struct_ops_kern_types(const struct btf *btf, const char *tname, in find_struct_ops_kern_types() argument
935 kern_type_id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in find_struct_ops_kern_types()
938 tname); in find_struct_ops_kern_types()
949 tname, BTF_KIND_STRUCT); in find_struct_ops_kern_types()
952 STRUCT_OPS_VALUE_PREFIX, tname); in find_struct_ops_kern_types()
970 tname, STRUCT_OPS_VALUE_PREFIX, tname); in find_struct_ops_kern_types()
998 const char *tname; in bpf_map__init_kern_struct_ops() local
1003 tname = st_ops->tname; in bpf_map__init_kern_struct_ops()
1004 err = find_struct_ops_kern_types(kern_btf, tname, in bpf_map__init_kern_struct_ops()
1146 const char *tname, *var_name; in init_struct_ops_maps() local
1178 tname = btf__name_by_offset(obj->btf, type->name_off); in init_struct_ops_maps()
1179 if (!tname[0]) { in init_struct_ops_maps()
1184 pr_warn("struct_ops init: %s is not a struct\n", tname); in init_struct_ops_maps()
1224 st_ops->tname = tname; in init_struct_ops_maps()
1229 tname, type_id, var_name, vsi->offset); in init_struct_ops_maps()
3594 const char *tname; in find_extern_btf_id() local
3607 tname = btf__name_by_offset(btf, t->name_off); in find_extern_btf_id()
3608 if (strcmp(tname, ext_name)) in find_extern_btf_id()