Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf_verifier.h616 struct bpf_verifier_log { struct
644 static inline bool bpf_verifier_log_needed(const struct bpf_verifier_log *log) in bpf_verifier_log_needed() argument
757 struct bpf_verifier_log log;
826 __printf(2, 0) void bpf_verifier_vlog(struct bpf_verifier_log *log,
830 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log,
832 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level,
834 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos);
835 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual);
882 int bpf_check_attach_target(struct bpf_verifier_log *log,
H A Dbpf_lsm.h28 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
68 static inline int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
H A Dbtf.h526 struct bpf_verifier_log;
586 bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf,
589 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type);
662 btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_is_prog_ctx_type()
668 static inline int get_kern_ctx_btf_id(struct bpf_verifier_log *log, in get_kern_ctx_btf_id()
H A Dbpf.h36 struct bpf_verifier_log;
984 struct bpf_verifier_log *log; /* for verbose logs */
1047 int (*btf_struct_access)(struct bpf_verifier_log *log,
1942 struct bpf_verifier_log *log);
2712 int btf_struct_access(struct bpf_verifier_log *log,
2716 bool btf_struct_ids_match(struct bpf_verifier_log *log,
2721 int btf_distill_func_proto(struct bpf_verifier_log *log,
2751 struct bpf_verifier_log *log;
2755 bool btf_nested_type_is_trusted(struct bpf_verifier_log *log,
2759 bool btf_type_ids_nocast_alias(struct bpf_verifier_log *log,
[all …]
H A Dfilter.h688 extern int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
/linux-6.15/kernel/bpf/
H A Dlog.c16 static bool bpf_verifier_log_attr_valid(const struct bpf_verifier_log *log) in bpf_verifier_log_attr_valid()
31 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, in bpf_vlog_init()
45 static void bpf_vlog_update_len_max(struct bpf_verifier_log *log, u32 add_len) in bpf_vlog_update_len_max()
60 void bpf_verifier_vlog(struct bpf_verifier_log *log, const char *fmt, in bpf_verifier_vlog()
149 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos) in bpf_vlog_reset()
188 static int bpf_vlog_reverse_ubuf(struct bpf_verifier_log *log, int start, int end) in bpf_vlog_reverse_ubuf()
226 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual) in bpf_vlog_finalize()
318 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, in bpf_log()
H A Dbtf.c316 struct bpf_verifier_log log;
1419 struct bpf_verifier_log *log = &env->log; in btf_verifier_log()
1435 struct bpf_verifier_log *log = &env->log; in __btf_verifier_log_type()
1485 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_member()
1538 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_vsi()
1563 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_hdr()
6241 struct bpf_verifier_log *log; in btf_parse_vmlinux()
6286 struct bpf_verifier_log *log; in btf_parse_module()
6662 struct bpf_verifier_log *log = info->log; in btf_ctx_access()
9403 struct bpf_verifier_log *log) in btf_add_struct_ops()
[all …]
H A Dbpf_lsm.c114 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
H A Doffload.c828 int bpf_dev_bound_kfunc_check(struct bpf_verifier_log *log, in bpf_dev_bound_kfunc_check()
H A Dbpf_struct_ops.c333 struct bpf_verifier_log *log) in bpf_struct_ops_desc_init()
H A Dverifier.c10328 struct bpf_verifier_log *log = &env->log; in btf_check_func_arg_match()
23048 int bpf_check_attach_target(struct bpf_verifier_log *log, in bpf_check_attach_target()
/linux-6.15/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-6.15/net/bpf/
H A Dbpf_dummy_struct_ops.c235 static int bpf_dummy_ops_btf_struct_access(struct bpf_verifier_log *log, in bpf_dummy_ops_btf_struct_access()
/linux-6.15/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-6.15/net/netfilter/
H A Dnf_conntrack_bpf.c236 static int _nf_conntrack_btf_struct_access(struct bpf_verifier_log *log, in BTF_ID()
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1450 static int st_ops_btf_struct_access(struct bpf_verifier_log *log, in st_ops_btf_struct_access()
/linux-6.15/net/core/
H A Dfilter.c9078 int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
9083 static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, in tc_cls_act_btf_struct_access()
9165 static int xdp_btf_struct_access(struct bpf_verifier_log *log, in xdp_btf_struct_access()
/linux-6.15/kernel/sched/
H A Dext.c5603 static int bpf_scx_btf_struct_access(struct bpf_verifier_log *log, in bpf_scx_btf_struct_access()