| /linux-6.15/tools/lib/bpf/ |
| H A D | btf_iter.c | 63 sizeof(struct btf_param), in btf_field_iter_init() 64 1, {offsetof(struct btf_param, type)} in btf_field_iter_init() 126 sizeof(struct btf_param), in btf_field_iter_init() 127 1, {offsetof(struct btf_param, name_off)} in btf_field_iter_init()
|
| H A D | btf.h | 591 static inline struct btf_param *btf_params(const struct btf_type *t) in btf_params() 593 return (struct btf_param *)(t + 1); in btf_params()
|
| H A 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() 1674 struct btf_param *local_p = btf_params(local_t); in __bpf_core_types_match() 1675 struct btf_param *targ_p = btf_params(targ_t); in __bpf_core_types_match()
|
| H A D | btf.c | 320 return base_size + vlen * sizeof(struct btf_param); in btf_type_size() 346 struct btf_param *p; in btf_bswap_type_rest() 566 const struct btf_param *m = btf_params(t); in btf_validate_type() 2699 struct btf_param *p; in btf__add_func_param() 2716 sz = sizeof(struct btf_param); in btf__add_func_param() 4072 const struct btf_param *member = btf_params(t); in btf_hash_fnproto() 4094 const struct btf_param *m1, *m2; in btf_equal_fnproto() 4120 const struct btf_param *m1, *m2; in btf_compat_fnproto() 4619 const struct btf_param *cand_p, *canon_p; in btf_dedup_is_equiv() 4935 struct btf_param *param; in btf_dedup_ref_type()
|
| H A D | btf_dump.c | 358 const struct btf_param *p = btf_params(t); in btf_dump_mark_referenced() 587 const struct btf_param *p = btf_params(t); in btf_dump_order_type() 819 const struct btf_param *p = btf_params(t); in btf_dump_emit_type() 1541 const struct btf_param *p = btf_params(t); in btf_dump_emit_type_chain()
|
| H A D | linker.c | 1640 const struct btf_param *m1, *m2; in glob_sym_btf_matches() 1932 struct btf_param *src_p, *dst_p; in complete_extern_btf_info()
|
| /linux-6.15/kernel/trace/ |
| H A 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()
|
| H A D | trace_btf.h | 6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
|
| H A D | trace_probe.h | 414 const struct btf_param *params; /* Parameter of the function */
|
| H A D | trace_probe.c | 450 const struct btf_param *param; in query_btf_context() 618 const struct btf_param *params; in parse_btf_arg() 1698 const struct btf_param *params = NULL; in traceprobe_expand_meta_args()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | btf.h | 146 struct btf_param { struct
|
| /linux-6.15/include/uapi/linux/ |
| H A D | btf.h | 146 struct btf_param { struct
|
| /linux-6.15/include/linux/ |
| H A D | btf.h | 493 static inline struct btf_param *btf_params(const struct btf_type *t) in btf_params() 495 return (struct btf_param *)(t + 1); in btf_params() 521 const struct btf_param *arg,
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_global_funcs.c | 26 static void check_ctx_arg_type(const struct btf *btf, const struct btf_param *p) in check_ctx_arg_type()
|
| H A D | btf_write.c | 14 const struct btf_param *p; in gen_btf()
|
| /linux-6.15/kernel/bpf/ |
| H A D | btf.c | 4550 const struct btf_param *args = (const struct btf_param *)(t + 1); in btf_func_proto_log() 5049 const struct btf_param *args; in btf_func_proto_check() 5144 const struct btf_param *args; in btf_func_check() 6397 const struct btf_param *args; in get_ctx_arg_idx() 6441 const struct btf_param *args; in btf_ctx_arg_offset() 6663 const struct btf_param *args; in btf_ctx_access() 7339 const struct btf_param *args; in btf_distill_func_proto() 7656 const struct btf_param *args; in btf_prepare_func_args() 8367 const struct btf_param *arg; in BTF_ID_LIST_GLOBAL() 8773 const struct btf_param *args; in btf_check_dtor_kfuncs() [all …]
|
| H A D | bpf_lsm.c | 92 const struct btf_param *args __maybe_unused; in BTF_SET_END()
|
| H A D | verifier.c | 8622 const struct btf_param *arg) in is_kfunc_arg_iter() 11825 const struct btf_param *arg, in is_kfunc_arg_mem_size() 11838 const struct btf_param *arg, in is_kfunc_arg_const_mem_size() 11901 const struct btf_param *arg, in is_kfunc_arg_scalar_with_name() 11939 const struct btf_param *arg, int type) in BTF_ID() 11991 const struct btf_param *arg) in is_kfunc_arg_callback() 12880 const struct btf_param *args; in check_kfunc_args() 13262 const struct btf_param *buff_arg = &args[i]; in check_kfunc_args() 13264 const struct btf_param *size_arg = &args[i + 1]; in check_kfunc_args() 13436 const struct btf_param *args; in check_kfunc_call() [all …]
|
| H A D | bpf_struct_ops.c | 179 const struct btf_param *stub_args, *args; in prepare_arg_info()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 176 const struct btf_param *p = btf_params(t); in fprintf_btf_type_raw()
|
| /linux-6.15/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 101 const struct btf_param *param = &btf_params(func_proto)[arg_no]; in check_test_run_args()
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | btf_dumper.c | 723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
|
| H A D | gen.c | 2035 struct btf_param *param; in btfgen_mark_type() 2230 struct btf_param *param; in btfgen_mark_type_match()
|
| H A D | btf.c | 326 const struct btf_param *p = (const void *)(t + 1); in dump_btf_type()
|
| /linux-6.15/Documentation/bpf/ |
| H A D | btf.rst | 396 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_param``.:: 398 struct btf_param { 404 ``btf_param.name_off`` must point to a valid C identifier except for the 405 possible last argument representing the variable argument. The btf_param.type
|