Home
last modified time | relevance | path

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

12

/linux-6.15/tools/lib/bpf/
H A Dbtf_iter.c63 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 Dbtf.h591 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 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()
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 Dbtf.c320 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 Dbtf_dump.c358 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 Dlinker.c1640 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 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()
H A Dtrace_btf.h6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
H A Dtrace_probe.h414 const struct btf_param *params; /* Parameter of the function */
H A Dtrace_probe.c450 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 Dbtf.h146 struct btf_param { struct
/linux-6.15/include/uapi/linux/
H A Dbtf.h146 struct btf_param { struct
/linux-6.15/include/linux/
H A Dbtf.h493 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 Dtest_global_funcs.c26 static void check_ctx_arg_type(const struct btf *btf, const struct btf_param *p) in check_ctx_arg_type()
H A Dbtf_write.c14 const struct btf_param *p; in gen_btf()
/linux-6.15/kernel/bpf/
H A Dbtf.c4550 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 Dbpf_lsm.c92 const struct btf_param *args __maybe_unused; in BTF_SET_END()
H A Dverifier.c8622 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 Dbpf_struct_ops.c179 const struct btf_param *stub_args, *args; in prepare_arg_info()
/linux-6.15/tools/testing/selftests/bpf/
H A Dbtf_helpers.c176 const struct btf_param *p = btf_params(t); in fprintf_btf_type_raw()
/linux-6.15/net/bpf/
H A Dbpf_dummy_struct_ops.c101 const struct btf_param *param = &btf_params(func_proto)[arg_no]; in check_test_run_args()
/linux-6.15/tools/bpf/bpftool/
H A Dbtf_dumper.c723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
H A Dgen.c2035 struct btf_param *param; in btfgen_mark_type()
2230 struct btf_param *param; in btfgen_mark_type_match()
H A Dbtf.c326 const struct btf_param *p = (const void *)(t + 1); in dump_btf_type()
/linux-6.15/Documentation/bpf/
H A Dbtf.rst396 ``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

12