/linux-master/tools/testing/nvdimm/ |
H A D | config_check.c | 10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); 11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); 12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); 13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN)); 15 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); 16 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX)); 17 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX_PMEM));
|
/linux-master/tools/testing/cxl/ |
H A D | config_check.c | 10 BUILD_BUG_ON(!IS_ENABLED(CONFIG_64BIT)); 11 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS)); 12 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI)); 13 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM)); 14 BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST)); 15 BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST)); 16 BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS));
|
/linux-master/tools/virtio/linux/ |
H A D | build_bug.h | 5 #define BUILD_BUG_ON(x) macro
|
/linux-master/include/linux/ |
H A D | average.h | 34 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \ 35 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \ 40 BUILD_BUG_ON((_precision) > 30); \ 47 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \ 48 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \ 49 BUILD_BUG_ON((_precision) > 30); \ 60 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \ 61 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \ 62 BUILD_BUG_ON((_precision) > 30); \
|
H A D | build_bug.h | 21 BUILD_BUG_ON(((n) & ((n) - 1)) != 0) 23 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) 37 * See BUILD_BUG_ON for description. 42 * BUILD_BUG_ON - break compile if a condition is true. 46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 49 #define BUILD_BUG_ON(condition) \ macro 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 68 * Contrary to BUILD_BUG_ON(), static_assert() can be used at global 73 * Also note that BUILD_BUG_ON() fails the build if the condition is
|
H A D | nospec.h | 61 BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \ 62 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
|
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_vma_types.h | 46 BUILD_BUG_ON(sizeof(struct intel_rotation_info) != 2 * sizeof(u32) + 8 * sizeof(u16)); 47 BUILD_BUG_ON(sizeof(struct intel_remapped_info) != 5 * sizeof(u32) + 16 * sizeof(u16)); 50 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) != 52 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) !=
|
/linux-master/arch/arc/mm/ |
H A D | highmem.c | 67 BUILD_BUG_ON(PAGE_OFFSET < (VMALLOC_END + FIXMAP_SIZE + PKMAP_SIZE)); 68 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); 69 BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE);
|
/linux-master/tools/include/linux/ |
H A D | build_bug.h | 21 BUILD_BUG_ON(((n) & ((n) - 1)) != 0) 23 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) 37 * See BUILD_BUG_ON for description. 42 * BUILD_BUG_ON - break compile if a condition is true. 46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 49 #define BUILD_BUG_ON(condition) \ macro 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 68 * Contrary to BUILD_BUG_ON(), static_assert() can be used at global 73 * Also note that BUILD_BUG_ON() fails the build if the condition is
|
/linux-master/arch/mips/include/asm/ |
H A D | compat-signal.h | 17 BUILD_BUG_ON(sizeof(*d) != sizeof(*s)); 18 BUILD_BUG_ON(_NSIG_WORDS != 2);
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace.c | 344 BUILD_BUG_ON(offsetof(struct pt_regs, gpr) != 346 BUILD_BUG_ON(offsetof(struct pt_regs, nip) != 348 BUILD_BUG_ON(offsetof(struct pt_regs, msr) != 350 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != 352 BUILD_BUG_ON(offsetof(struct pt_regs, ctr) != 354 BUILD_BUG_ON(offsetof(struct pt_regs, link) != 356 BUILD_BUG_ON(offsetof(struct pt_regs, xer) != 358 BUILD_BUG_ON(offsetof(struct pt_regs, ccr) != 361 BUILD_BUG_ON(offsetof(struct pt_regs, softe) != 364 BUILD_BUG_ON(offseto [all...] |
H A D | ptrace-novsx.c | 25 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != 54 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
|
/linux-master/arch/arm/include/asm/ |
H A D | mc146818rtc.h | 11 #define RTC_IRQ BUILD_BUG_ON(1)
|
/linux-master/arch/s390/include/asm/ |
H A D | rwonce.h | 20 BUILD_BUG_ON(sizeof(x) != 16); \
|
/linux-master/arch/x86/include/asm/ |
H A D | spec-ctrl.h | 53 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); 59 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); 65 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); 71 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT);
|
H A D | kvm-x86-pmu-ops.h | 3 BUILD_BUG_ON(1)
|
/linux-master/fs/erofs/ |
H A D | erofs_fs.h | 439 BUILD_BUG_ON(sizeof(struct erofs_super_block) != 128); 440 BUILD_BUG_ON(sizeof(struct erofs_inode_compact) != 32); 441 BUILD_BUG_ON(sizeof(struct erofs_inode_extended) != 64); 442 BUILD_BUG_ON(sizeof(struct erofs_xattr_ibody_header) != 12); 443 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); 444 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_info) != 4); 445 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_index) != 8); 446 BUILD_BUG_ON(sizeof(struct z_erofs_map_header) != 8); 447 BUILD_BUG_ON(sizeof(struct z_erofs_lcluster_index) != 8); 448 BUILD_BUG_ON(sizeo [all...] |
/linux-master/include/drm/ttm/ |
H A D | ttm_range_manager.h | 46 BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); 53 BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES);
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | smp.c | 65 BUILD_BUG_ON(PPC_MSG_CALL_FUNCTION != 0); 66 BUILD_BUG_ON(PPC_MSG_RESCHEDULE != 1); 67 BUILD_BUG_ON(PPC_MSG_TICK_BROADCAST != 2); 68 BUILD_BUG_ON(PPC_MSG_NMI_IPI != 3);
|
/linux-master/arch/arm64/include/asm/ |
H A D | vmap_stack.h | 22 BUILD_BUG_ON(!IS_ENABLED(CONFIG_VMAP_STACK));
|
/linux-master/drivers/virtio/ |
H A D | virtio_pci_modern_dev.c | 149 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != 151 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != 153 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != 155 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != 157 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != 159 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != 161 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != 163 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != 166 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != 169 BUILD_BUG_ON(VIRTIO_PCI_COMMON_D [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma_types.h | 140 BUILD_BUG_ON(sizeof(struct intel_rotation_info) != 2 * sizeof(u32) + 8 * sizeof(u16)); 141 BUILD_BUG_ON(sizeof(struct intel_partial_info) != sizeof(u64) + sizeof(unsigned int)); 142 BUILD_BUG_ON(sizeof(struct intel_remapped_info) != 5 * sizeof(u32) + 16 * sizeof(u16)); 145 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) != 147 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) !=
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 505 BUILD_BUG_ON(vmw_view_max != 4); 545 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_SHADERRESOURCE_VIEW != 547 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW != 549 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_RENDERTARGET_VIEW != 551 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_DEPTHSTENCIL_VIEW != 553 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_DEPTHSTENCIL_VIEW != 557 BUILD_BUG_ON(sizeof(union vmw_view_destroy) != sizeof(u32)); 560 BUILD_BUG_ON(SVGA_COTABLE_MAX_IDS >= ((1 << 20) - 1)); 566 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != 568 BUILD_BUG_ON(offseto [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_port_common.c | 22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); 23 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); 76 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); 409 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); 442 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); 469 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); 470 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); 471 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); 472 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); 473 BUILD_BUG_ON(LOOPBACK_XGX [all...] |
/linux-master/arch/x86/kvm/ |
H A D | reverse_cpuid.h | 105 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); 106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); 107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); 108 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); 109 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); 110 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0);
|