Searched refs:btf_add_ref_kind (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | btf.c | 2091 static int btf_add_ref_kind(struct btf *btf, int kind, const char *name, int ref_type_id) in btf_add_ref_kind() function 2129 return btf_add_ref_kind(btf, BTF_KIND_PTR, NULL, ref_type_id); in btf__add_ptr() 2507 id = btf_add_ref_kind(btf, BTF_KIND_FWD, name, 0); in btf__add_fwd() 2537 return btf_add_ref_kind(btf, BTF_KIND_TYPEDEF, name, ref_type_id); in btf__add_typedef() 2549 return btf_add_ref_kind(btf, BTF_KIND_VOLATILE, NULL, ref_type_id); in btf__add_volatile() 2561 return btf_add_ref_kind(btf, BTF_KIND_CONST, NULL, ref_type_id); in btf__add_const() 2573 return btf_add_ref_kind(btf, BTF_KIND_RESTRICT, NULL, ref_type_id); in btf__add_restrict() 2589 return btf_add_ref_kind(btf, BTF_KIND_TYPE_TAG, value, ref_type_id); in btf__add_type_tag() 2611 id = btf_add_ref_kind(btf, BTF_KIND_FUNC, name, proto_type_id); in btf__add_func()
|