Searched refs:ret_type_id (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/lib/bpf/
H A Dbtf.h209 LIBBPF_API int btf__add_func_proto(struct btf *btf, int ret_type_id);
H A Dbtf.c2552 * - *ret_type_id* - type ID for return result of a function.
2562 int btf__add_func_proto(struct btf *btf, int ret_type_id) argument
2567 if (validate_type_id(ret_type_id))
2583 t->type = ret_type_id;
H A Dlibbpf.c6712 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; local
6733 ret_type_id = fn_proto_t->type; /* fn_proto_t will be invalidated */
6737 fn_proto_id = btf__add_func_proto(btf, ret_type_id);
/linux-master/kernel/bpf/
H A Dbtf.c4883 u32 ret_type_id = t->type; local
4885 ret_type = btf_type_by_id(btf, ret_type_id);
4897 !env_type_is_resolved(env, ret_type_id)) {
4898 err = btf_resolve(env, ret_type, ret_type_id);
4904 if (!btf_type_id_size(btf, &ret_type_id, NULL)) {

Completed in 209 milliseconds