bpf_verifier_log
static int hid_bpf_ops_btf_struct_access(struct bpf_verifier_log *log,
struct bpf_verifier_log *log; /* for verbose logs */
int (*btf_struct_access)(struct bpf_verifier_log *log,
struct bpf_verifier_log *log);
int btf_struct_access(struct bpf_verifier_log *log,
bool btf_struct_ids_match(struct bpf_verifier_log *log,
int btf_distill_func_proto(struct bpf_verifier_log *log,
int btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog,
struct bpf_verifier_log *log;
bool btf_nested_type_is_trusted(struct bpf_verifier_log *log,
bool btf_type_ids_nocast_alias(struct bpf_verifier_log *log,
static inline int btf_struct_access(struct bpf_verifier_log *log,
int bpf_dev_bound_kfunc_check(struct bpf_verifier_log *log,
static inline int bpf_dev_bound_kfunc_check(struct bpf_verifier_log *log,
struct bpf_verifier_log;
int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
static inline int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
static inline bool bpf_verifier_log_needed(const struct bpf_verifier_log *log)
struct bpf_verifier_log log;
__printf(2, 0) void bpf_verifier_vlog(struct bpf_verifier_log *log,
__printf(2, 3) void bpf_log(struct bpf_verifier_log *log,
int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level,
void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos);
int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual);
int bpf_check_attach_target(struct bpf_verifier_log *log,
struct bpf_verifier_log;
bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf,
int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type);
btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf,
static inline int get_kern_ctx_btf_id(struct bpf_verifier_log *log,
extern int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
struct bpf_verifier_log *log)
__printf(2, 3) static void __btf_verifier_log(struct bpf_verifier_log *log,
struct bpf_verifier_log *log = &env->log;
struct bpf_verifier_log *log = &env->log;
struct bpf_verifier_log *log = &env->log;
struct bpf_verifier_log *log = &env->log;
struct bpf_verifier_log *log = &env->log;
struct bpf_verifier_log log;
btf_parse_struct_metas(struct bpf_verifier_log *log, struct btf *btf)
static int finalize_log(struct bpf_verifier_log *log, bpfptr_t uattr, u32 uattr_size)
bool btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf,
static int btf_validate_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf,
static int btf_translate_to_vmlinux(struct bpf_verifier_log *log,
int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type)
struct bpf_verifier_log *log;
struct bpf_verifier_log *log;
struct bpf_verifier_log *log = info->log;
static int btf_struct_walk(struct bpf_verifier_log *log, const struct btf *btf,
int btf_struct_access(struct bpf_verifier_log *log,
bool btf_struct_ids_match(struct bpf_verifier_log *log,
int btf_distill_func_proto(struct bpf_verifier_log *log,
static int btf_check_func_type_match(struct bpf_verifier_log *log,
int btf_check_type_match(struct bpf_verifier_log *log, const struct bpf_prog *prog,
static int btf_get_ptr_to_btf_id(struct bpf_verifier_log *log, int arg_idx,
struct bpf_verifier_log *log = &env->log;
static void __print_cand_cache(struct bpf_verifier_log *log,
static void print_cand_cache(struct bpf_verifier_log *log)
bool btf_nested_type_is_trusted(struct bpf_verifier_log *log,
bool btf_type_ids_nocast_alias(struct bpf_verifier_log *log,
struct bpf_verifier_log *log)
struct bpf_verifier_log *log;
void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos)
static bool bpf_verifier_log_attr_valid(const struct bpf_verifier_log *log)
static int bpf_vlog_reverse_ubuf(struct bpf_verifier_log *log, int start, int end)
int bpf_vlog_finalize(struct bpf_verifier_log *log, u32 *log_size_actual)
int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level,
__printf(2, 3) void bpf_log(struct bpf_verifier_log *log,
static void bpf_vlog_update_len_max(struct bpf_verifier_log *log, u32 add_len)
void bpf_verifier_vlog(struct bpf_verifier_log *log, const char *fmt,
int bpf_dev_bound_kfunc_check(struct bpf_verifier_log *log,
struct bpf_verifier_log *log = &env->log;
int bpf_check_attach_target(struct bpf_verifier_log *log,
static int bpf_scx_btf_struct_access(struct bpf_verifier_log *log,
static int bpf_dummy_ops_btf_struct_access(struct bpf_verifier_log *log,
int (*nfct_btf_struct_access)(struct bpf_verifier_log *log,
static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log,
static int xdp_btf_struct_access(struct bpf_verifier_log *log,
static int bpf_tcp_ca_btf_struct_access(struct bpf_verifier_log *log,
static int _nf_conntrack_btf_struct_access(struct bpf_verifier_log *log,
static int bpf_qdisc_qdisc_access(struct bpf_verifier_log *log,
static int bpf_qdisc_sk_buff_access(struct bpf_verifier_log *log,
static int bpf_qdisc_btf_struct_access(struct bpf_verifier_log *log,
static int st_ops_btf_struct_access(struct bpf_verifier_log *log,