| /linux/kernel/bpf/ |
| H A D | log.c | 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() 850 struct bpf_verifier_log *bpf_log_attr_create_vlog(struct bpf_log_attr *attr_log, in bpf_log_attr_create_vlog() 854 struct bpf_verifier_log *log; in bpf_log_attr_create_vlog() 879 int bpf_log_attr_finalize(struct bpf_log_attr *attr, struct bpf_verifier_log *log) in bpf_log_attr_finalize()
|
| H A D | btf.c | 320 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() 5779 btf_parse_struct_metas(struct bpf_verifier_log *log, struct btf *btf) in btf_parse_struct_metas() 6131 bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_is_prog_ctx_type() 6217 static int btf_validate_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_validate_prog_ctx_type() [all …]
|
| H A D | bpf_lsm.c | 119 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
|
| H A D | bpf_struct_ops.c | 360 struct bpf_verifier_log *log) in bpf_struct_ops_desc_init()
|
| H A D | syscall.c | 1382 static int map_create_alloc(union bpf_attr *attr, bpfptr_t uattr, struct bpf_verifier_log *log, in map_create_alloc() 1634 struct bpf_verifier_log *log; in map_create()
|
| H A D | verifier.c | 2700 static const struct btf_type *find_kfunc_impl_proto(struct bpf_verifier_log *log, in find_kfunc_impl_proto() 9624 struct bpf_verifier_log *log = &env->log; in btf_check_func_arg_match() 19831 btf_attach_func_proto(struct bpf_verifier_log *log, struct btf *btf, u32 func_id) in btf_attach_func_proto() 19880 int bpf_check_attach_target(struct bpf_verifier_log *log, in bpf_check_attach_target()
|
| /linux/include/linux/ |
| H A D | bpf_lsm.h | 30 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, 73 static inline int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
|
| H A D | bpf_verifier.h | 735 struct bpf_verifier_log { struct 763 static inline bool bpf_verifier_log_needed(const struct bpf_verifier_log *log) in bpf_verifier_log_needed() argument 779 struct bpf_verifier_log *bpf_log_attr_create_vlog(struct bpf_log_attr *attr_log, 782 int bpf_log_attr_finalize(struct bpf_log_attr *attr, struct bpf_verifier_log *log); 958 struct bpf_verifier_log log; 1082 __printf(2, 0) void bpf_verifier_vlog(struct bpf_verifier_log *log, 1086 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, 1088 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, 1090 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos); 1091 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual); [all …]
|
| H A D | btf.h | 536 struct bpf_verifier_log; 597 bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, 600 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type); 673 btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_is_prog_ctx_type() 679 static inline int get_kern_ctx_btf_id(struct bpf_verifier_log *log, in get_kern_ctx_btf_id()
|
| H A D | bpf.h | 41 struct bpf_verifier_log; 1116 struct bpf_verifier_log *log; /* for verbose logs */ 1164 int (*btf_struct_access)(struct bpf_verifier_log *log, 2272 struct bpf_verifier_log *log); 3147 int btf_struct_access(struct bpf_verifier_log *log, 3151 bool btf_struct_ids_match(struct bpf_verifier_log *log, 3156 int btf_distill_func_proto(struct bpf_verifier_log *log, 3164 int btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog, 3185 struct bpf_verifier_log *log; 3189 bool btf_nested_type_is_trusted(struct bpf_verifier_log *log, [all …]
|
| H A D | filter.h | 747 extern int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
|
| /linux/net/sched/ |
| H A D | bpf_qdisc.c | 54 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/io_uring/ |
| H A D | bpf-ops.c | 89 static int bpf_io_btf_struct_access(struct bpf_verifier_log *log, in bpf_io_btf_struct_access()
|
| /linux/drivers/hid/bpf/ |
| H A D | hid_bpf_struct_ops.c | 65 static int hid_bpf_ops_btf_struct_access(struct bpf_verifier_log *log, in hid_bpf_ops_btf_struct_access()
|
| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 61 static int bpf_tcp_ca_btf_struct_access(struct bpf_verifier_log *log, in bpf_tcp_ca_btf_struct_access()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_bpf.c | 268 static int _nf_conntrack_btf_struct_access(struct bpf_verifier_log *log, in BTF_ID()
|
| /linux/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.c | 1900 static int st_ops_btf_struct_access(struct bpf_verifier_log *log, in st_ops_btf_struct_access()
|
| /linux/net/core/ |
| H A D | filter.c | 9481 int (*nfct_btf_struct_access)(struct bpf_verifier_log *log, 9486 static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, in tc_cls_act_btf_struct_access() 9568 static int xdp_btf_struct_access(struct bpf_verifier_log *log, in xdp_btf_struct_access()
|
| /linux/kernel/sched/ext/ |
| H A D | ext.c | 7962 static int bpf_scx_btf_struct_access(struct bpf_verifier_log *log, in bpf_scx_btf_struct_access() 7981 static int bpf_scx_cid_btf_struct_access(struct bpf_verifier_log *log, in bpf_scx_cid_btf_struct_access()
|