Searched refs:btf_add_ref_kind (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | btf.c | 1850 static int btf_add_ref_kind(struct btf *btf, int kind, const char *name, int ref_type_id) in btf_add_ref_kind() function 1888 return btf_add_ref_kind(btf, BTF_KIND_PTR, NULL, ref_type_id); in btf__add_ptr() 2266 id = btf_add_ref_kind(btf, BTF_KIND_FWD, name, 0); in btf__add_fwd() 2296 return btf_add_ref_kind(btf, BTF_KIND_TYPEDEF, name, ref_type_id); in btf__add_typedef() 2308 return btf_add_ref_kind(btf, BTF_KIND_VOLATILE, NULL, ref_type_id); in btf__add_volatile() 2320 return btf_add_ref_kind(btf, BTF_KIND_CONST, NULL, ref_type_id); in btf__add_const() 2332 return btf_add_ref_kind(btf, BTF_KIND_RESTRICT, NULL, ref_type_id); in btf__add_restrict() 2348 return btf_add_ref_kind(btf, BTF_KIND_TYPE_TAG, value, ref_type_id); in btf__add_type_tag() 2370 id = btf_add_ref_kind(btf, BTF_KIND_FUNC, name, proto_type_id); in btf__add_func()
|