Lines Matching refs:type

11  * type. These macros may also be useful elsewhere. It would seem more obvious
23 * macros also produce sensible values for the exotic type _Bool. [The
33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type)))
48 * both the type-agnostic benefits of the macros while also being able to
72 * @type: type for result of calculation
79 #define wrapping_add(type, a, b) \
81 type __val; \
118 * @type: type for result of calculation
125 #define wrapping_sub(type, a, b) \
127 type __val; \
164 * @type: type for result of calculation
171 #define wrapping_mul(type, a, b) \
173 type __val; \
224 * or data type
227 * @T: destination variable or data type proposed to store @x
230 * the storage of the type in @T. @x and @T can have different types.
245 * @T: variable or data type
249 * of the second argument's type, it returns true. Otherwise, this falls
264 * lvalue must be size_t to avoid implicit type conversion.
283 * lvalue must be size_t to avoid implicit type conversion.
304 * The lvalue must be size_t to avoid implicit type conversion.
377 * @type: structure type name.
381 * Calculates size of memory needed for structure @type followed by an
384 * instance variable of type @type.
388 #define struct_size_t(type, member, count) \
389 struct_size((type *)NULL, member, count)
395 * @type: structure type name, including "struct" keyword.
401 #define _DEFINE_FLEX(type, name, member, count, initializer...) \
405 u8 bytes[struct_size_t(type, member, count)]; \
406 type obj; \
408 type *name = (type *)&name##_u
414 * @type: structure type name, including "struct" keyword.
419 * Define a zeroed, on-stack, instance of @type structure with a trailing
423 #define DEFINE_RAW_FLEX(type, name, member, count) \
424 _DEFINE_FLEX(type, name, member, count, = {})
430 * @TYPE: structure type name, including "struct" keyword.