Searched refs:bpf_verifier_log (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/kernel/bpf/ |
D | log.c | 13 static bool bpf_verifier_log_attr_valid(const struct bpf_verifier_log *log) in bpf_verifier_log_attr_valid() 28 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, in bpf_vlog_init() 42 static void bpf_vlog_update_len_max(struct bpf_verifier_log *log, u32 add_len) in bpf_vlog_update_len_max() 57 void bpf_verifier_vlog(struct bpf_verifier_log *log, const char *fmt, in bpf_verifier_vlog() 146 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos) in bpf_vlog_reset() 185 static int bpf_vlog_reverse_ubuf(struct bpf_verifier_log *log, int start, int end) in bpf_vlog_reverse_ubuf() 223 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual) in bpf_vlog_finalize() 315 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, in bpf_log()
|
D | btf.c | 306 struct bpf_verifier_log log; 1384 __printf(2, 3) static void __btf_verifier_log(struct bpf_verifier_log *log, in __btf_verifier_log() 1397 struct bpf_verifier_log *log = &env->log; in btf_verifier_log() 1413 struct bpf_verifier_log *log = &env->log; in __btf_verifier_log_type() 1463 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_member() 1516 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_vsi() 1541 struct bpf_verifier_log *log = &env->log; in btf_verifier_log_hdr() 5316 btf_parse_struct_metas(struct bpf_verifier_log *log, struct btf *btf) in btf_parse_struct_metas() 5459 static int finalize_log(struct bpf_verifier_log *log, bpfptr_t uattr, u32 uattr_size) in finalize_log() 5612 btf_get_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_get_prog_ctx_type() [all …]
|
D | bpf_lsm.c | 97 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
|
D | bpf_struct_ops.c | 113 void bpf_struct_ops_init(struct btf *btf, struct bpf_verifier_log *log) in bpf_struct_ops_init()
|
D | offload.c | 816 int bpf_dev_bound_kfunc_check(struct bpf_verifier_log *log, in bpf_dev_bound_kfunc_check()
|
D | verifier.c | 19787 int bpf_check_attach_target(struct bpf_verifier_log *log, in bpf_check_attach_target()
|
/linux-6.6.21/include/linux/ |
D | bpf_verifier.h | 532 struct bpf_verifier_log { struct 560 static inline bool bpf_verifier_log_needed(const struct bpf_verifier_log *log) in bpf_verifier_log_needed() argument 631 struct bpf_verifier_log log; 677 __printf(2, 0) void bpf_verifier_vlog(struct bpf_verifier_log *log, 681 __printf(2, 3) void bpf_log(struct bpf_verifier_log *log, 683 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, 685 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos); 686 int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual); 737 int bpf_check_attach_target(struct bpf_verifier_log *log,
|
D | bpf_lsm.h | 27 int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, 60 static inline int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog, in bpf_lsm_verify_prog()
|
D | btf.h | 485 struct bpf_verifier_log; 504 btf_get_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, 507 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type); 547 btf_get_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, in btf_get_prog_ctx_type() 553 static inline int get_kern_ctx_btf_id(struct bpf_verifier_log *log, in get_kern_ctx_btf_id()
|
D | bpf.h | 34 struct bpf_verifier_log; 906 struct bpf_verifier_log *log; /* for verbose logs */ 951 int (*btf_struct_access)(struct bpf_verifier_log *log, 1643 void bpf_struct_ops_init(struct btf *btf, struct bpf_verifier_log *log); 1690 struct bpf_verifier_log *log) in bpf_struct_ops_init() 2407 int btf_struct_access(struct bpf_verifier_log *log, 2411 bool btf_struct_ids_match(struct bpf_verifier_log *log, 2416 int btf_distill_func_proto(struct bpf_verifier_log *log, 2429 int btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog, 2446 struct bpf_verifier_log *log; [all …]
|
D | filter.h | 581 extern int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
|
/linux-6.6.21/net/bpf/ |
D | bpf_dummy_struct_ops.c | 174 static int bpf_dummy_ops_btf_struct_access(struct bpf_verifier_log *log, in bpf_dummy_ops_btf_struct_access()
|
/linux-6.6.21/net/ipv4/ |
D | bpf_tcp_ca.c | 71 static int bpf_tcp_ca_btf_struct_access(struct bpf_verifier_log *log, in bpf_tcp_ca_btf_struct_access()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_bpf.c | 194 static int _nf_conntrack_btf_struct_access(struct bpf_verifier_log *log, in BTF_ID()
|
/linux-6.6.21/net/core/ |
D | filter.c | 8899 int (*nfct_btf_struct_access)(struct bpf_verifier_log *log, 8904 static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, in tc_cls_act_btf_struct_access() 8977 static int xdp_btf_struct_access(struct bpf_verifier_log *log, in xdp_btf_struct_access()
|