Home
last modified time | relevance | path

Searched refs:BTF_TYPE_EMIT (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod.c155 BTF_TYPE_EMIT(func_proto_typedef); in bpf_testmod_test_btf_type_tag_user_1()
156 BTF_TYPE_EMIT(func_proto_typedef_nested1); in bpf_testmod_test_btf_type_tag_user_1()
157 BTF_TYPE_EMIT(func_proto_typedef_nested2); in bpf_testmod_test_btf_type_tag_user_1()
/linux-6.6.21/include/linux/
Dbtf.h14 #define BTF_TYPE_EMIT(type) ((void)(type *)0) macro
/linux-6.6.21/kernel/bpf/
Dbpf_struct_ops.c124 #define BPF_STRUCT_OPS_TYPE(_name) BTF_TYPE_EMIT(struct bpf_struct_ops_##_name); in bpf_struct_ops_init()
Dbpf_iter.c796 BTF_TYPE_EMIT(struct btf_iter_num); in bpf_iter_num_new()
Dhelpers.c1127 BTF_TYPE_EMIT(struct bpf_timer); in bpf_timer_cb()
1506 BTF_TYPE_EMIT(struct bpf_dynptr); in BPF_CALL_4()
Dverifier.c6335 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct task_struct)); in type_is_rcu()
6336 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct cgroup)); in type_is_rcu()
6337 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU(struct css_set)); in type_is_rcu()
6346 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct)); in type_is_rcu_or_null()
6347 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff)); in type_is_rcu_or_null()
6348 BTF_TYPE_EMIT(BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock)); in type_is_rcu_or_null()
6357 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta)); in type_is_trusted()
6358 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task)); in type_is_trusted()
6359 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct linux_binprm)); in type_is_trusted()
6360 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct file)); in type_is_trusted()
[all …]
/linux-6.6.21/net/core/
Dfilter.c7068 BTF_TYPE_EMIT(struct bpf_tcp_sock); in bpf_tcp_sock_convert_ctx_access()
8239 BTF_TYPE_EMIT(struct nf_conn___init); in xdp_func_proto()
11600 BTF_TYPE_EMIT(struct tcp6_sock); in BTF_ID_LIST_GLOBAL()
11637 BTF_TYPE_EMIT(struct inet_timewait_sock); in BPF_CALL_1()
11638 BTF_TYPE_EMIT(struct tcp_timewait_sock); in BPF_CALL_1()
11689 BTF_TYPE_EMIT(struct udp6_sock); in BPF_CALL_1()
11710 BTF_TYPE_EMIT(struct unix_sock); in BPF_CALL_1()
11727 BTF_TYPE_EMIT(struct mptcp_sock); in BPF_CALL_1()
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst270 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct socket));