btf_param
static inline struct btf_param *btf_params(const struct btf_type *t)
return (struct btf_param *)(t + 1);
const struct btf_param *arg,
const struct btf_param *args __maybe_unused;
const struct btf_param *stub_args, *args;
u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param);
const struct btf_param *args = (const struct btf_param *)(t + 1);
const struct btf_param *last_arg = &args[nr_args - 1];
const struct btf_param *args;
args = (const struct btf_param *)(t + 1);
const struct btf_param *args;
args = (const struct btf_param *)(proto_type + 1);
const struct btf_param *args;
args = (const struct btf_param *)(func_proto + 1);
const struct btf_param *args;
const struct btf_param *args;
args = (const struct btf_param *)(t + 1);
const struct btf_param *args;
args = (const struct btf_param *)(func + 1);
const struct btf_param *args1, *args2;
args1 = (const struct btf_param *)(t1 + 1);
args2 = (const struct btf_param *)(t2 + 1);
const struct btf_param *args;
args = (const struct btf_param *)(t + 1);
const struct btf_param *arg;
const struct btf_param *args;
const struct btf_param *arg,
const struct btf_param *arg,
const struct btf_param *arg,
static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_nonown_allowed(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_irq_flag(const struct btf *btf, const struct btf_param *arg)
const struct btf_param *arg,
const struct btf_param *arg, int type)
static bool is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_timer(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_wq(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_task_work(const struct btf *btf, const struct btf_param *arg)
static bool is_kfunc_arg_res_spin_lock(const struct btf *btf, const struct btf_param *arg)
const struct btf_param *arg)
static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg)
const char *ref_tname, const struct btf_param *args,
const struct btf_param *args;
args = (const struct btf_param *)(meta->func_proto + 1);
const struct btf_param *buff_arg = &args[i];
const struct btf_param *size_arg = &args[i + 1];
const struct btf_param *args;
const struct btf_param *args;
args = (const struct btf_param *)(meta.func_proto + 1);
const struct btf_param *arg)
const struct btf_param *btf_get_func_param(const struct btf_type *func_proto, s32 *nr)
return (const struct btf_param *)(func_proto + 1);
const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
const struct btf_param *param;
const struct btf_param *params = NULL;
const struct btf_param *param;
const struct btf_param *params;
const struct btf_param *params; /* Parameter of the function */
const struct btf_param *param = &btf_params(func_proto)[arg_no];
const struct btf_param *p = (const void *)(t + 1);
struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i];
struct btf_param *param;
struct btf_param *param;
static bool is_kf_implicit_arg(const struct btf *btf, const struct btf_param *p)
const struct btf_param *params;
struct btf_param *p;
sz = sizeof(struct btf_param);
const struct btf_param *member = btf_params(t);
const struct btf_param *m1, *m2;
const struct btf_param *m1, *m2;
return base_size + vlen * sizeof(struct btf_param);
const struct btf_param *p1, *p2;
struct btf_param *p;
const struct btf_param *cand_p, *canon_p;
[BTF_KIND_FUNC_PROTO] = { 0, sizeof(struct btf_param), 0 },
struct btf_param *param;
const struct btf_param *m = btf_params(t);
static inline struct btf_param *btf_params(const struct btf_type *t)
return (struct btf_param *)(t + 1);
const struct btf_param *p = btf_params(t);
const struct btf_param *p = btf_params(t);
const struct btf_param *p = btf_params(t);
const struct btf_param *p = btf_params(t);
sizeof(struct btf_param),
1, {offsetof(struct btf_param, name_off)}
sizeof(struct btf_param),
1, {offsetof(struct btf_param, type)}
const struct btf_param *args;
args = (const struct btf_param *)(proto + 1);
struct btf_param *param;
struct btf_param *p;
struct btf_param *p;
const struct btf_param *m1, *m2;
struct btf_param *src_p, *dst_p;
struct btf_param *local_p = btf_params(local_t);
struct btf_param *targ_p = btf_params(targ_t);
struct btf_param *local_p = btf_params(local_type);
struct btf_param *targ_p = btf_params(targ_type);
const struct btf_param *p = btf_params(t);
return base_size + vlen * sizeof(struct btf_param);
const struct btf_param *p;
const struct btf_param *p;
static void check_ctx_arg_type(const struct btf *btf, const struct btf_param *p)
const struct btf_param *params, *custom_params;