Lines Matching refs:type
24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \
25 (type), (index_type), (nr_elems)
26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \
28 BTF_ARRAY_ENC(type, index_type, nr_elems)
36 #define BTF_VAR_ENC(name, type, linkage) \
37 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), type), (linkage)
38 #define BTF_VAR_SECINFO_ENC(type, offset, size) \
39 (type), (offset), (size)
41 #define BTF_MEMBER_ENC(name, type, bits_offset) \
42 (name), (type), (bits_offset)
48 #define BTF_TYPEDEF_ENC(name, type) \
49 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_TYPEDEF, 0, 0), type)
51 #define BTF_PTR_ENC(type) \
52 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), type)
54 #define BTF_CONST_ENC(type) \
55 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_CONST, 0, 0), type)
57 #define BTF_VOLATILE_ENC(type) \
58 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_VOLATILE, 0, 0), type)
60 #define BTF_RESTRICT_ENC(type) \
61 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_RESTRICT, 0, 0), type)
66 #define BTF_FUNC_PROTO_ARG_ENC(name, type) \
67 (name), (type)
75 #define BTF_DECL_TAG_ENC(value, type, component_idx) \
76 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
78 #define BTF_TYPE_TAG_ENC(value, type) \
79 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_TYPE_TAG, 0, 0), type)