Searched refs:btf_param (Results 1 - 24 of 24) sorted by relevance

/linux-master/kernel/trace/
H A Dtrace_btf.h6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
H A Dtrace_btf.c43 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto, s32 *nr)
50 return (const struct btf_param *)(func_proto + 1);
H A Dtrace_probe.h414 const struct btf_param *params; /* Parameter of the function */
H A Dtrace_probe.c440 const struct btf_param *param;
604 const struct btf_param *params;
1666 const struct btf_param *params = NULL;
/linux-master/include/uapi/linux/
H A Dbtf.h141 /* BTF_KIND_FUNC_PROTO is followed by multiple "struct btf_param".
142 * The exact number of btf_param is stored in the vlen (of the
145 struct btf_param { struct
/linux-master/tools/include/uapi/linux/
H A Dbtf.h141 /* BTF_KIND_FUNC_PROTO is followed by multiple "struct btf_param".
142 * The exact number of btf_param is stored in the vlen (of the
145 struct btf_param { struct
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_global_funcs.c26 static void check_ctx_arg_type(const struct btf *btf, const struct btf_param *p)
H A Dbtf_write.c14 const struct btf_param *p;
H A Dbtf.c8007 return base_size + vlen * sizeof(struct btf_param);
/linux-master/include/linux/
H A Dbtf.h476 static inline struct btf_param *btf_params(const struct btf_type *t)
478 return (struct btf_param *)(t + 1);
499 const struct btf_param *arg,
/linux-master/tools/lib/bpf/
H A Dbtf.h549 static inline struct btf_param *btf_params(const struct btf_type *t)
551 return (struct btf_param *)(t + 1);
H A Drelo_core.c193 struct btf_param *local_p = btf_params(local_type);
194 struct btf_param *targ_p = btf_params(targ_type);
1658 struct btf_param *local_p = btf_params(local_t);
1659 struct btf_param *targ_p = btf_params(targ_t);
H A Dbtf.c316 return base_size + vlen * sizeof(struct btf_param);
342 struct btf_param *p;
562 const struct btf_param *m = btf_params(t);
2599 struct btf_param *p;
2616 sz = sizeof(struct btf_param);
3779 const struct btf_param *member = btf_params(t);
3801 const struct btf_param *m1, *m2;
3827 const struct btf_param *m1, *m2;
4326 const struct btf_param *cand_p, *canon_p;
4642 struct btf_param *para
[all...]
H A Dbtf_dump.c357 const struct btf_param *p = btf_params(t);
586 const struct btf_param *p = btf_params(t);
818 const struct btf_param *p = btf_params(t);
1537 const struct btf_param *p = btf_params(t);
H A Dlinker.c1474 const struct btf_param *m1, *m2;
1766 struct btf_param *src_p, *dst_p;
H A Dlibbpf.c4259 struct btf_param *param;
6715 struct btf_param *p;
6786 struct btf_param *p;
/linux-master/tools/testing/selftests/bpf/
H A Dbtf_helpers.c176 const struct btf_param *p = btf_params(t);
/linux-master/kernel/bpf/
H A Dbtf.c4341 u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param);
4368 const struct btf_param *args = (const struct btf_param *)(t + 1);
4392 const struct btf_param *last_arg = &args[nr_args - 1];
4872 const struct btf_param *args;
4878 args = (const struct btf_param *)(t + 1);
4967 const struct btf_param *args;
4979 args = (const struct btf_param *)(proto_type + 1);
6130 const struct btf_param *args;
6139 args = (const struct btf_param *)(func_prot
[all...]
H A Dbpf_lsm.c75 const struct btf_param *args __maybe_unused;
H A Dverifier.c7770 const struct btf_param *arg;
10747 const struct btf_param *arg,
10760 const struct btf_param *arg,
10772 static bool is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg)
10777 static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg)
10782 static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg)
10787 static bool is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg)
10792 static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg)
10797 static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg)
10802 static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *ar
[all...]
H A Dbpf_struct_ops.c207 const struct btf_param *stub_args, *args;
/linux-master/tools/bpf/bpftool/
H A Dbtf_dumper.c723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i];
H A Dgen.c1986 struct btf_param *param;
2181 struct btf_param *param;
H A Dbtf.c309 const struct btf_param *p = (const void *)(t + 1);

Completed in 598 milliseconds