Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbtf.h138 struct btf_param { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbtf.h138 struct btf_param { struct
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c3278 u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param); in btf_func_proto_check_meta()
3305 const struct btf_param *args = (const struct btf_param *)(t + 1); in btf_func_proto_log()
3329 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3619 const struct btf_param *args; in btf_func_proto_check()
3625 args = (const struct btf_param *)(t + 1); in btf_func_proto_check()
3708 const struct btf_param *args; in btf_func_check()
3720 args = (const struct btf_param *)(proto_type + 1); in btf_func_check()
4436 const struct btf_param *args; in btf_ctx_access()
4446 args = (const struct btf_param *)(t + 1); in btf_ctx_access()
4929 const struct btf_param *args; in btf_distill_func_proto()
[all …]
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.h341 static inline struct btf_param *btf_params(const struct btf_type *t) in btf_params()
343 return (struct btf_param *)(t + 1); in btf_params()
H A Dbtf_dump.c310 const struct btf_param *p = btf_params(t); in btf_dump_mark_referenced()
536 const struct btf_param *p = btf_params(t); in btf_dump_order_type()
765 const struct btf_param *p = btf_params(t); in btf_dump_emit_type()
1330 const struct btf_param *p = btf_params(t); in btf_dump_emit_type_chain()
H A Dbtf.c277 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
300 struct btf_param *p; in btf_bswap_type_rest()
2134 struct btf_param *p; in btf__add_func_param()
2151 sz = sizeof(struct btf_param); in btf__add_func_param()
3052 struct btf_param *m = btf_params(t); in btf_for_each_str_off()
3482 const struct btf_param *member = btf_params(t); in btf_hash_fnproto()
3504 const struct btf_param *m1, *m2; in btf_equal_fnproto()
3530 const struct btf_param *m1, *m2; in btf_compat_fnproto()
3900 const struct btf_param *cand_p, *canon_p; in btf_dedup_is_equiv()
4179 struct btf_param *param; in btf_dedup_ref_type()
[all …]
H A Dlibbpf.c4958 struct btf_param *local_p = btf_params(local_type); in bpf_core_types_are_compat()
4959 struct btf_param *targ_p = btf_params(targ_type); in bpf_core_types_are_compat()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dbtf_dumper.c683 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
H A Dbtf.c259 const struct btf_param *p = (const void *)(t + 1); in dump_btf_type()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c13 const struct btf_param *p; in test_btf_write()
H A Dbtf.c6623 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbtf.rst385 ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_param``.::
387 struct btf_param {
393 ``btf_param.name_off`` must point to a valid C identifier except for the
394 possible last argument representing the variable argument. The btf_param.type