Home
last modified time | relevance | path

Searched refs:btf_param (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/kernel/trace/
Dtrace_btf.c43 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto, s32 *nr) in btf_get_func_param()
50 return (const struct btf_param *)(func_proto + 1); in btf_get_func_param()
Dtrace_btf.h6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
Dtrace_probe.h389 const struct btf_param *params; /* Parameter of the function */
Dtrace_probe.c440 const struct btf_param *param; in query_btf_context()
602 const struct btf_param *params; in parse_btf_arg()
1492 const struct btf_param *params = NULL; in traceprobe_expand_meta_args()
/Linux-v6.6/tools/include/uapi/linux/
Dbtf.h145 struct btf_param { struct
/Linux-v6.6/include/uapi/linux/
Dbtf.h145 struct btf_param { struct
/Linux-v6.6/include/linux/
Dbtf.h463 static inline struct btf_param *btf_params(const struct btf_type *t) in btf_params()
465 return (struct btf_param *)(t + 1); in btf_params()
/Linux-v6.6/tools/lib/bpf/
Dbtf.h549 static inline struct btf_param *btf_params(const struct btf_type *t) in btf_params()
551 return (struct btf_param *)(t + 1); in btf_params()
Dbtf.c316 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
342 struct btf_param *p; in btf_bswap_type_rest()
2428 struct btf_param *p; in btf__add_func_param()
2445 sz = sizeof(struct btf_param); in btf__add_func_param()
3604 const struct btf_param *member = btf_params(t); in btf_hash_fnproto()
3626 const struct btf_param *m1, *m2; in btf_equal_fnproto()
3652 const struct btf_param *m1, *m2; in btf_compat_fnproto()
4151 const struct btf_param *cand_p, *canon_p; in btf_dedup_is_equiv()
4467 struct btf_param *param; in btf_dedup_ref_type()
4861 struct btf_param *m = btf_params(t); in btf_type_visit_type_ids()
[all …]
Drelo_core.c193 struct btf_param *local_p = btf_params(local_type); in __bpf_core_types_are_compat()
194 struct btf_param *targ_p = btf_params(targ_type); in __bpf_core_types_are_compat()
1658 struct btf_param *local_p = btf_params(local_t); in __bpf_core_types_match()
1659 struct btf_param *targ_p = btf_params(targ_t); in __bpf_core_types_match()
Dbtf_dump.c357 const struct btf_param *p = btf_params(t); in btf_dump_mark_referenced()
586 const struct btf_param *p = btf_params(t); in btf_dump_order_type()
818 const struct btf_param *p = btf_params(t); in btf_dump_emit_type()
1537 const struct btf_param *p = btf_params(t); in btf_dump_emit_type_chain()
Dlinker.c1455 const struct btf_param *m1, *m2; in glob_sym_btf_matches()
1747 struct btf_param *src_p, *dst_p; in complete_extern_btf_info()
Dlibbpf.c3930 struct btf_param *param; in bpf_object__collect_externs()
/Linux-v6.6/kernel/bpf/
Dbtf.c4273 u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param); in btf_func_proto_check_meta()
4300 const struct btf_param *args = (const struct btf_param *)(t + 1); in btf_func_proto_log()
4324 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
4804 const struct btf_param *args; in btf_func_proto_check()
4810 args = (const struct btf_param *)(t + 1); in btf_func_proto_check()
4899 const struct btf_param *args; in btf_func_check()
4911 args = (const struct btf_param *)(proto_type + 1); in btf_func_check()
5885 const struct btf_param *args; in get_ctx_arg_idx()
5894 args = (const struct btf_param *)(func_proto + 1); in get_ctx_arg_idx()
5935 const struct btf_param *args; in btf_ctx_access()
[all …]
Dbpf_lsm.c75 const struct btf_param *args __maybe_unused; in BTF_SET_END()
Dverifier.c7467 const struct btf_param *arg; in process_iter_arg()
10032 const struct btf_param *arg, in __kfunc_param_match_suffix()
10050 const struct btf_param *arg, in is_kfunc_arg_mem_size()
10063 const struct btf_param *arg, in is_kfunc_arg_const_mem_size()
10075 static bool is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_optional()
10080 static bool is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_constant()
10085 static bool is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_ignore()
10090 static bool is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_alloc_obj()
10095 static bool is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_uninit()
10100 static bool is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) in is_kfunc_arg_refcounted_kptr()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/
Dbtf_helpers.c176 const struct btf_param *p = btf_params(t); in fprintf_btf_type_raw()
/Linux-v6.6/tools/bpf/bpftool/
Dbtf_dumper.c723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
Dgen.c1729 struct btf_param *param; in btfgen_mark_type()
1924 struct btf_param *param; in btfgen_mark_type_match()
Dbtf.c309 const struct btf_param *p = (const void *)(t + 1); in dump_btf_type()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c14 const struct btf_param *p; in gen_btf()
Dbtf.c7982 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
/Linux-v6.6/Documentation/bpf/
Dbtf.rst397 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_param``.::
399 struct btf_param {
405 ``btf_param.name_off`` must point to a valid C identifier except for the
406 possible last argument representing the variable argument. The btf_param.type