Searched refs:BUILD_BUG_ON_MSG (Results 1 – 8 of 8) sorted by relevance
| /include/linux/ |
| A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) macro 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 59 #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") 85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
|
| A D | bitfield.h | 65 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ 67 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ 68 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ 72 BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
|
| A D | random.h | 73 BUILD_BUG_ON_MSG(!ceil, "get_random_u32_below() must take ceil > 0"); in get_random_u32_below() 100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above() 112 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) && in get_random_u32_inclusive()
|
| A D | packing.h | 45 BUILD_BUG_ON_MSG(_ascending && _f1.startbit >= _f2.startbit, \ 48 BUILD_BUG_ON_MSG(!_ascending && _f1.startbit <= _f2.startbit, \ 51 BUILD_BUG_ON_MSG(max(_f1.endbit, _f2.endbit) <= \ 60 BUILD_BUG_ON_MSG(__f.startbit < __f.endbit, \ 63 BUILD_BUG_ON_MSG(__f.size != 1 && __f.size != 2 && \ 67 BUILD_BUG_ON_MSG(__f.startbit - __f.endbit >= BITS_PER_BYTE * __f.size, \ 83 BUILD_BUG_ON_MSG(!__builtin_constant_p(_len), \ 86 BUILD_BUG_ON_MSG(_f[0].startbit >= BITS_PER_BYTE * _len, \ 88 BUILD_BUG_ON_MSG(_f[num_fields - 1].startbit >= BITS_PER_BYTE * _len, \ 433 …({ BUILD_BUG_ON_MSG(1, "CHECK_PACKED_FIELDS() must be regenerated to support array sizes larger th…
|
| A D | minmax.h | 93 BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \ 133 BUILD_BUG_ON_MSG(!__types_ok3(ux, uy, uz), \ 188 BUILD_BUG_ON_MSG(statically_true(ulo > uhi), \ 190 BUILD_BUG_ON_MSG(!__types_ok3(uval, ulo, uhi), \
|
| A D | dynamic_debug.h | 175 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \ 293 BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
|
| A D | string.h | 254 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
|
| A D | slab.h | 715 BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()"); in __kmalloc_index()
|
Completed in 15 milliseconds