Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dbpf_tcp_ca.c25 type_id = btf_find_by_name_kind(btf, "sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
30 type_id = btf_find_by_name_kind(btf, "tcp_sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
36 type_id = btf_find_by_name_kind(btf, "tcp_congestion_ops", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c144 type_id = btf_find_by_name_kind(bpf_dummy_ops_btf, in bpf_struct_ops_test_run()
243 type_id = btf_find_by_name_kind(reg->btf, "bpf_dummy_ops_state", in bpf_dummy_ops_btf_struct_access()
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c103 type_id = btf_find_by_name_kind(reg->btf, write_range->struct_name, in hid_bpf_ops_btf_struct_access()
/linux/kernel/bpf/
H A Dbpf_struct_ops.c172 btf_id = btf_find_by_name_kind(btf, stub_func_name, BTF_KIND_FUNC); in find_stub_func_proto()
338 type_id = btf_find_by_name_kind(btf, st_ops->name, in bpf_struct_ops_desc_init()
352 value_id = btf_find_by_name_kind(btf, value_name, in bpf_struct_ops_desc_init()
H A Dbtf.c551 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind) in btf_find_by_name_kind() function
583 ret = btf_find_by_name_kind(btf, name, kind); in bpf_find_btf_id()
603 ret = btf_find_by_name_kind(btf, name, kind); in bpf_find_btf_id()
3444 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root()
5542 id = btf_find_by_name_kind(btf, alloc_obj_fields[i], BTF_KIND_STRUCT); in btf_parse_struct_metas()
9049 safe_id = btf_find_by_name_kind(btf, safe_tname, BTF_INFO_KIND(walk_type->info)); in btf_nested_type_is_trusted()
H A Dverifier.c2594 ret = btf_find_by_name_kind(btf, name, BTF_KIND_FUNC); in bpf_find_exception_callback_insn_off()
22013 ret = btf_find_by_name_kind(btf, fname, BTF_KIND_FUNC); in bpf_check_attach_target()
/linux/net/netfilter/
H A Dnf_bpf_link.c281 type_id = btf_find_by_name_kind(btf, name, BTF_KIND_STRUCT); in nf_ptr_to_btf_id()
/linux/include/linux/
H A Dbtf.h227 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind);
/linux/tools/lib/bpf/
H A Dbtf.c914 static __s32 btf_find_by_name_kind(const struct btf *btf, int start_id, in btf_find_by_name_kind() function
939 return btf_find_by_name_kind(btf, btf->start_id, type_name, kind); in btf__find_by_name_kind_own()
945 return btf_find_by_name_kind(btf, 1, type_name, kind); in btf__find_by_name_kind()
/linux/tools/include/uapi/linux/
H A Dbpf.h5968 FN(btf_find_by_name_kind, 167, ##ctx) \
/linux/include/uapi/linux/
H A Dbpf.h5968 FN(btf_find_by_name_kind, 167, ##ctx) \
/linux/kernel/sched/
H A Dext.c5500 type_id = btf_find_by_name_kind(btf, "task_struct", BTF_KIND_STRUCT); in bpf_scx_init()