Home
last modified time | relevance | path

Searched refs:bpf_verifier_log (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dbpf_verifier.h670 struct bpf_verifier_log { struct
698 static inline bool bpf_verifier_log_needed(const struct bpf_verifier_log *log) in bpf_verifier_log_needed() argument
854 struct bpf_verifier_log log;
962 __printf(2, 0) void bpf_verifier_vlog(struct bpf_verifier_log *log,
966 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log,
968 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level,
970 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos);
971 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual);
1071 int bpf_check_attach_target(struct bpf_verifier_log *log,
H A Dbpf.h37 struct bpf_verifier_log;
1057 struct bpf_verifier_log *log; /* for verbose logs */
1120 int (*btf_struct_access)(struct bpf_verifier_log *log,
2144 struct bpf_verifier_log *log);
3011 int btf_struct_access(struct bpf_verifier_log *log,
3015 bool btf_struct_ids_match(struct bpf_verifier_log *log,
3020 int btf_distill_func_proto(struct bpf_verifier_log *log,
3028 int btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog,
3050 struct bpf_verifier_log *log;
3054 bool btf_nested_type_is_trusted(struct bpf_verifier_log *log,
[all …]
H A Dfilter.h690 extern int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
/linux/net/sched/
H A Dbpf_qdisc.c54 static int bpf_qdisc_qdisc_access(struct bpf_verifier_log *log, in bpf_qdisc_qdisc_access()
75 static int bpf_qdisc_sk_buff_access(struct bpf_verifier_log *log, in bpf_qdisc_sk_buff_access()
96 static int bpf_qdisc_btf_struct_access(struct bpf_verifier_log *log, in bpf_qdisc_btf_struct_access()
/linux/kernel/bpf/
H A Dbtf.c320 struct bpf_verifier_log log;
1536 __printf(2, 3) static void __btf_verifier_log(struct bpf_verifier_log *log, in __btf_verifier_log()
1549 struct bpf_verifier_log *log = &env->log; in btf_verifier_log()
1565 struct bpf_verifier_log *log = &env->log; in __btf_verifier_log_type()
1615 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_member()
1668 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_vsi()
1693 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_hdr()
5738 btf_parse_struct_metas(struct bpf_verifier_log *log, struct btf *btf) in btf_parse_struct_metas()
5917 static int finalize_log(struct bpf_verifier_log *log, bpfptr_t uattr, u32 uattr_size) in finalize_log()
6115 bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_is_prog_ctx_type()
[all …]
H A Dverifier.c9308 struct bpf_verifier_log *log = &env->log; in btf_check_func_arg_match()
19145 int bpf_check_attach_target(struct bpf_verifier_log *log, in bpf_check_attach_target()
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c65 static int hid_bpf_ops_btf_struct_access(struct bpf_verifier_log *log, in hid_bpf_ops_btf_struct_access()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c236 static int bpf_dummy_ops_btf_struct_access(struct bpf_verifier_log *log, in bpf_dummy_ops_btf_struct_access()
/linux/net/ipv4/
H A Dbpf_tcp_ca.c61 static int bpf_tcp_ca_btf_struct_access(struct bpf_verifier_log *log, in bpf_tcp_ca_btf_struct_access()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1692 static int st_ops_btf_struct_access(struct bpf_verifier_log *log,
/linux/net/core/
H A Dfilter.c9235 int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
9240 static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, in tc_cls_act_btf_struct_access()
9322 static int xdp_btf_struct_access(struct bpf_verifier_log *log, in xdp_btf_struct_access()