/Linux-v6.6/kernel/trace/ |
D | trace_btf.c | 43 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()
|
D | trace_btf.h | 6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
|
D | trace_probe.h | 389 const struct btf_param *params; /* Parameter of the function */
|
D | trace_probe.c | 440 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/ |
D | btf.h | 145 struct btf_param { struct
|
/Linux-v6.6/include/uapi/linux/ |
D | btf.h | 145 struct btf_param { struct
|
/Linux-v6.6/include/linux/ |
D | btf.h | 463 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/ |
D | btf.h | 549 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()
|
D | btf.c | 316 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 …]
|
D | relo_core.c | 193 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()
|
D | btf_dump.c | 357 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()
|
D | linker.c | 1455 const struct btf_param *m1, *m2; in glob_sym_btf_matches() 1747 struct btf_param *src_p, *dst_p; in complete_extern_btf_info()
|
D | libbpf.c | 3930 struct btf_param *param; in bpf_object__collect_externs()
|
/Linux-v6.6/kernel/bpf/ |
D | btf.c | 4273 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 …]
|
D | bpf_lsm.c | 75 const struct btf_param *args __maybe_unused; in BTF_SET_END()
|
D | verifier.c | 7467 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/ |
D | btf_helpers.c | 176 const struct btf_param *p = btf_params(t); in fprintf_btf_type_raw()
|
/Linux-v6.6/tools/bpf/bpftool/ |
D | btf_dumper.c | 723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
|
D | gen.c | 1729 struct btf_param *param; in btfgen_mark_type() 1924 struct btf_param *param; in btfgen_mark_type_match()
|
D | btf.c | 309 const struct btf_param *p = (const void *)(t + 1); in dump_btf_type()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 14 const struct btf_param *p; in gen_btf()
|
D | btf.c | 7982 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
|
/Linux-v6.6/Documentation/bpf/ |
D | btf.rst | 397 ``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
|