Searched refs:compiletime_assert (Results 1 – 16 of 16) sorted by relevance
/linux/include/asm-generic/ |
H A D | rwonce.h | 36 compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ 77 compiletime_assert(sizeof(x) == sizeof(unsigned long), \
|
/linux/arch/riscv/include/asm/ |
H A D | cpufeature-macros.h | 48 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_unlikely() 58 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_likely()
|
H A D | cpufeature.h | 133 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_cpu_has_extension_likely() 144 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_cpu_has_extension_unlikely()
|
/linux/arch/arm64/include/asm/ |
H A D | cpucaps.h | 16 compiletime_assert(__builtin_constant_p(cap), in cpucap_is_possible() 18 compiletime_assert(cap < ARM64_NCAPS, in cpucap_is_possible()
|
/linux/include/linux/ |
H A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
|
H A D | compiler_types.h | 571 #define compiletime_assert(condition, msg) \ macro 575 compiletime_assert(__native_word(t), \
|
/linux/tools/include/linux/ |
H A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
|
H A D | compiler.h | 36 #define compiletime_assert(condition, msg) \ macro
|
/linux/net/core/ |
H A D | ieee8021q_helpers.c | 12 compiletime_assert(ARRAY_SIZE(tbl) == IEEE8021Q_TT_MAX, \
|
/linux/drivers/input/misc/ |
H A D | ariel-pwrbutton.c | 43 compiletime_assert(sizeof(read_request) == sizeof(*response), in ec_input_read()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 24 compiletime_assert(width <= 40, \
|
/linux/drivers/usb/mtu3/ |
H A D | mtu3_qmu.c | 672 compiletime_assert(QMU_GPD_SIZE == 16, "QMU_GPD size SHOULD be 16B"); in mtu3_qmu_init()
|
/linux/drivers/input/keyboard/ |
H A D | applespi.c | 1134 compiletime_assert(ARRAY_SIZE(applespi_controlcodes) == in applespi_handle_keyboard_event()
|
/linux/drivers/usb/gadget/ |
H A D | composite.c | 1302 compiletime_assert( in get_string()
|
/linux/kernel/bpf/ |
H A D | helpers.c | 294 compiletime_assert(u.val == 0, "__ARCH_SPIN_LOCK_UNLOCKED not 0"); in __bpf_spin_lock()
|
/linux/net/ethtool/ |
H A D | ioctl.c | 546 compiletime_assert(__ETHTOOL_LINK_MODE_MASK_NU32 <= S8_MAX, in ethtool_get_link_ksettings()
|