Home
last modified time | relevance | path

Searched refs:btf_find_by_name_kind (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/net/ipv4/
Dbpf_tcp_ca.c28 type_id = btf_find_by_name_kind(btf, "sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
33 type_id = btf_find_by_name_kind(btf, "tcp_sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
/linux-6.6.21/kernel/bpf/
Dbpf_struct_ops.c128 module_id = btf_find_by_name_kind(btf, "module", BTF_KIND_STRUCT); in bpf_struct_ops_init()
146 value_id = btf_find_by_name_kind(btf, value_name, in bpf_struct_ops_init()
154 type_id = btf_find_by_name_kind(btf, st_ops->name, in bpf_struct_ops_init()
Dbtf.c536 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind) in btf_find_by_name_kind() function
568 ret = btf_find_by_name_kind(btf, name, kind); in bpf_find_btf_id()
588 ret = btf_find_by_name_kind(btf, name, kind); in bpf_find_btf_id()
3356 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root()
5337 id = btf_find_by_name_kind(btf, alloc_obj_fields[i], BTF_KIND_STRUCT); in btf_parse_struct_metas()
8508 safe_id = btf_find_by_name_kind(btf, safe_tname, BTF_INFO_KIND(walk_type->info)); in btf_nested_type_is_trusted()
/linux-6.6.21/net/bpf/
Dbpf_dummy_struct_ops.c182 type_id = btf_find_by_name_kind(reg->btf, "bpf_dummy_ops_state", in bpf_dummy_ops_btf_struct_access()
/linux-6.6.21/net/netfilter/
Dnf_bpf_link.c276 type_id = btf_find_by_name_kind(btf, name, BTF_KIND_STRUCT); in nf_ptr_to_btf_id()
/linux-6.6.21/include/linux/
Dbtf.h211 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind);
/linux-6.6.21/tools/lib/bpf/
Dbtf.c752 static __s32 btf_find_by_name_kind(const struct btf *btf, int start_id, in btf_find_by_name_kind() function
777 return btf_find_by_name_kind(btf, btf->start_id, type_name, kind); in btf__find_by_name_kind_own()
783 return btf_find_by_name_kind(btf, 1, type_name, kind); in btf__find_by_name_kind()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h5822 FN(btf_find_by_name_kind, 167, ##ctx) \
/linux-6.6.21/include/uapi/linux/
Dbpf.h5822 FN(btf_find_by_name_kind, 167, ##ctx) \