/Linux-v4.19/arch/x86/kernel/ |
D | signal_compat.c | 28 BUILD_BUG_ON(NSIGILL != 11); in signal_compat_build_tests() 29 BUILD_BUG_ON(NSIGFPE != 15); in signal_compat_build_tests() 30 BUILD_BUG_ON(NSIGSEGV != 7); in signal_compat_build_tests() 31 BUILD_BUG_ON(NSIGBUS != 5); in signal_compat_build_tests() 32 BUILD_BUG_ON(NSIGTRAP != 5); in signal_compat_build_tests() 33 BUILD_BUG_ON(NSIGCHLD != 6); in signal_compat_build_tests() 34 BUILD_BUG_ON(NSIGSYS != 1); in signal_compat_build_tests() 37 BUILD_BUG_ON(sizeof(compat_siginfo_t) != 128); in signal_compat_build_tests() 43 BUILD_BUG_ON(offsetof(compat_siginfo_t, _sifields) != 3 * sizeof(int)); in signal_compat_build_tests() 44 #define CHECK_CSI_OFFSET(name) BUILD_BUG_ON(_sifields_offset != offsetof(compat_siginfo_t, _sifie… in signal_compat_build_tests() [all …]
|
D | head64.c | 411 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel() 412 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel() 413 BUILD_BUG_ON(MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE); in x86_64_start_kernel() 414 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); in x86_64_start_kernel() 415 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel() 416 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel() 419 BUILD_BUG_ON(__fix_to_virt(__end_of_fixed_addresses) <= MODULES_END); in x86_64_start_kernel()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | tables.c | 355 BUILD_BUG_ON(B43_TAB_ROTOR_SIZE != ARRAY_SIZE(b43_tab_rotor)); in assert_sizes() 356 BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard)); in assert_sizes() 357 BUILD_BUG_ON(B43_TAB_FINEFREQA_SIZE != ARRAY_SIZE(b43_tab_finefreqa)); in assert_sizes() 358 BUILD_BUG_ON(B43_TAB_FINEFREQG_SIZE != ARRAY_SIZE(b43_tab_finefreqg)); in assert_sizes() 359 BUILD_BUG_ON(B43_TAB_NOISEA2_SIZE != ARRAY_SIZE(b43_tab_noisea2)); in assert_sizes() 360 BUILD_BUG_ON(B43_TAB_NOISEA3_SIZE != ARRAY_SIZE(b43_tab_noisea3)); in assert_sizes() 361 BUILD_BUG_ON(B43_TAB_NOISEG1_SIZE != ARRAY_SIZE(b43_tab_noiseg1)); in assert_sizes() 362 BUILD_BUG_ON(B43_TAB_NOISEG2_SIZE != ARRAY_SIZE(b43_tab_noiseg2)); in assert_sizes() 363 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes() 365 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes() [all …]
|
/Linux-v4.19/tools/testing/nvdimm/ |
D | config_check.c | 10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); in check() 11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); in check() 12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); in check() 13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN)); in check() 14 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BLK)); in check() 15 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); in check() 16 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX)); in check() 17 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX_PMEM)); in check()
|
/Linux-v4.19/include/linux/ |
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); \
|
D | build_bug.h | 13 #define BUILD_BUG_ON(condition) (0) macro 19 BUILD_BUG_ON(((n) & ((n) - 1)) != 0) 21 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) 66 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro 68 #define BUILD_BUG_ON(condition) \ macro
|
/Linux-v4.19/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 7105 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7107 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7109 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7111 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7113 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7115 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7117 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7119 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in verify_structures() 7122 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in verify_structures() 7124 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in verify_structures() [all …]
|
D | smartpqi_sis.c | 426 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 428 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 430 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 432 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 434 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 436 BUILD_BUG_ON(offsetof(struct sis_base_struct, in verify_structures() 438 BUILD_BUG_ON(sizeof(struct sis_base_struct) != 0x18); in verify_structures()
|
/Linux-v4.19/drivers/virtio/ |
D | virtio_pci_modern.c | 524 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != in check_offsets() 526 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != in check_offsets() 528 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != in check_offsets() 530 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != in check_offsets() 532 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != in check_offsets() 534 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != in check_offsets() 536 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != in check_offsets() 538 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != in check_offsets() 541 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != in check_offsets() 544 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != in check_offsets() [all …]
|
/Linux-v4.19/net/batman-adv/ |
D | main.c | 523 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); in batadv_recv_handler_init() 524 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); in batadv_recv_handler_init() 525 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); in batadv_recv_handler_init() 526 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); in batadv_recv_handler_init() 527 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116); in batadv_recv_handler_init() 528 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); in batadv_recv_handler_init() 529 BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18); in batadv_recv_handler_init() 530 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); in batadv_recv_handler_init() 531 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); in batadv_recv_handler_init() 532 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); in batadv_recv_handler_init() [all …]
|
/Linux-v4.19/drivers/staging/erofs/ |
D | erofs_fs.h | 255 BUILD_BUG_ON(sizeof(struct erofs_super_block) != 128); in erofs_check_ondisk_layout_definitions() 256 BUILD_BUG_ON(sizeof(struct erofs_inode_v1) != 32); in erofs_check_ondisk_layout_definitions() 257 BUILD_BUG_ON(sizeof(struct erofs_inode_v2) != 64); in erofs_check_ondisk_layout_definitions() 258 BUILD_BUG_ON(sizeof(struct erofs_xattr_ibody_header) != 12); in erofs_check_ondisk_layout_definitions() 259 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); in erofs_check_ondisk_layout_definitions() 260 BUILD_BUG_ON(sizeof(struct erofs_extent_header) != 16); in erofs_check_ondisk_layout_definitions() 261 BUILD_BUG_ON(sizeof(struct z_erofs_vle_decompressed_index) != 8); in erofs_check_ondisk_layout_definitions() 262 BUILD_BUG_ON(sizeof(struct erofs_dirent) != 12); in erofs_check_ondisk_layout_definitions()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 42 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg() 43 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); in efx_mcdi_get_phy_cfg() 83 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); in efx_mcdi_set_link() 430 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_probe() 457 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); in efx_mcdi_phy_probe() 458 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); in efx_mcdi_phy_probe() 459 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); in efx_mcdi_phy_probe() 460 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); in efx_mcdi_phy_probe() 461 BUILD_BUG_ON(LOOPBACK_XGXS != MC_CMD_LOOPBACK_XGXS); in efx_mcdi_phy_probe() 462 BUILD_BUG_ON(LOOPBACK_XAUI != MC_CMD_LOOPBACK_XAUI); in efx_mcdi_phy_probe() [all …]
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify.c | 197 BUILD_BUG_ON(FAN_ACCESS != FS_ACCESS); in fanotify_handle_event() 198 BUILD_BUG_ON(FAN_MODIFY != FS_MODIFY); in fanotify_handle_event() 199 BUILD_BUG_ON(FAN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in fanotify_handle_event() 200 BUILD_BUG_ON(FAN_CLOSE_WRITE != FS_CLOSE_WRITE); in fanotify_handle_event() 201 BUILD_BUG_ON(FAN_OPEN != FS_OPEN); in fanotify_handle_event() 202 BUILD_BUG_ON(FAN_EVENT_ON_CHILD != FS_EVENT_ON_CHILD); in fanotify_handle_event() 203 BUILD_BUG_ON(FAN_Q_OVERFLOW != FS_Q_OVERFLOW); in fanotify_handle_event() 204 BUILD_BUG_ON(FAN_OPEN_PERM != FS_OPEN_PERM); in fanotify_handle_event() 205 BUILD_BUG_ON(FAN_ACCESS_PERM != FS_ACCESS_PERM); in fanotify_handle_event() 206 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); in fanotify_handle_event()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bgmac-bcma-mdio.c | 42 BUILD_BUG_ON(BGMAC_PA_DATA_MASK != BCMA_GMAC_CMN_PA_DATA_MASK); in bcma_mdio_phy_read() 43 BUILD_BUG_ON(BGMAC_PA_ADDR_MASK != BCMA_GMAC_CMN_PA_ADDR_MASK); in bcma_mdio_phy_read() 44 BUILD_BUG_ON(BGMAC_PA_ADDR_SHIFT != BCMA_GMAC_CMN_PA_ADDR_SHIFT); in bcma_mdio_phy_read() 45 BUILD_BUG_ON(BGMAC_PA_REG_MASK != BCMA_GMAC_CMN_PA_REG_MASK); in bcma_mdio_phy_read() 46 BUILD_BUG_ON(BGMAC_PA_REG_SHIFT != BCMA_GMAC_CMN_PA_REG_SHIFT); in bcma_mdio_phy_read() 47 BUILD_BUG_ON(BGMAC_PA_WRITE != BCMA_GMAC_CMN_PA_WRITE); in bcma_mdio_phy_read() 48 BUILD_BUG_ON(BGMAC_PA_START != BCMA_GMAC_CMN_PA_START); in bcma_mdio_phy_read() 49 BUILD_BUG_ON(BGMAC_PC_EPA_MASK != BCMA_GMAC_CMN_PC_EPA_MASK); in bcma_mdio_phy_read() 50 BUILD_BUG_ON(BGMAC_PC_MCT_MASK != BCMA_GMAC_CMN_PC_MCT_MASK); in bcma_mdio_phy_read() 51 BUILD_BUG_ON(BGMAC_PC_MCT_SHIFT != BCMA_GMAC_CMN_PC_MCT_SHIFT); in bcma_mdio_phy_read() [all …]
|
/Linux-v4.19/fs/notify/inotify/ |
D | inotify_user.c | 667 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); in do_inotify_init() 668 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in do_inotify_init() 799 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); in inotify_user_setup() 800 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); in inotify_user_setup() 801 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); in inotify_user_setup() 802 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); in inotify_user_setup() 803 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in inotify_user_setup() 804 BUILD_BUG_ON(IN_OPEN != FS_OPEN); in inotify_user_setup() 805 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); in inotify_user_setup() 806 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); in inotify_user_setup() [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/prism54/ |
D | isl_oid.h | 106 BUILD_BUG_ON(sizeof (struct obj_ssid) != 34); in __bug_on_wrong_struct_sizes() 107 BUILD_BUG_ON(sizeof (struct obj_key) != 34); in __bug_on_wrong_struct_sizes() 108 BUILD_BUG_ON(sizeof (struct obj_mlme) != 12); in __bug_on_wrong_struct_sizes() 109 BUILD_BUG_ON(sizeof (struct obj_mlmeex) != 14); in __bug_on_wrong_struct_sizes() 110 BUILD_BUG_ON(sizeof (struct obj_buffer) != 8); in __bug_on_wrong_struct_sizes() 111 BUILD_BUG_ON(sizeof (struct obj_bss) != 60); in __bug_on_wrong_struct_sizes() 112 BUILD_BUG_ON(sizeof (struct obj_bsslist) != 4); in __bug_on_wrong_struct_sizes() 113 BUILD_BUG_ON(sizeof (struct obj_frequencies) != 2); in __bug_on_wrong_struct_sizes()
|
/Linux-v4.19/arch/m68k/kernel/ |
D | signal.c | 585 BUILD_BUG_ON(sizeof(siginfo_t) != 128); in siginfo_build_tests() 588 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in siginfo_build_tests() 589 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in siginfo_build_tests() 590 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in siginfo_build_tests() 593 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() 594 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests() 597 BUILD_BUG_ON(offsetof(siginfo_t, si_tid) != 0x0c); in siginfo_build_tests() 598 BUILD_BUG_ON(offsetof(siginfo_t, si_overrun) != 0x10); in siginfo_build_tests() 599 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); in siginfo_build_tests() 602 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | cpu_entry_area.c | 24 BUILD_BUG_ON(sizeof(struct cpu_entry_area) % PAGE_SIZE != 0); in get_cpu_entry_area() 67 BUILD_BUG_ON(sizeof(struct debug_store) % PAGE_SIZE != 0); in percpu_setup_debug_store() 131 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ in setup_cpu_entry_area() 133 BUILD_BUG_ON(sizeof(struct tss_struct) % PAGE_SIZE != 0); in setup_cpu_entry_area() 143 BUILD_BUG_ON(sizeof(exception_stacks) % PAGE_SIZE != 0); in setup_cpu_entry_area() 144 BUILD_BUG_ON(sizeof(exception_stacks) != in setup_cpu_entry_area() 191 BUILD_BUG_ON(CPU_ENTRY_AREA_PAGES * PAGE_SIZE < CPU_ENTRY_AREA_MAP_SIZE); in setup_cpu_entry_area_ptes()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 532 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_SHADERRESOURCE_VIEW != in vmw_so_build_asserts() 534 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW != in vmw_so_build_asserts() 536 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_RENDERTARGET_VIEW != in vmw_so_build_asserts() 538 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts() 540 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts() 544 BUILD_BUG_ON(sizeof(union vmw_view_destroy) != sizeof(u32)); in vmw_so_build_asserts() 547 BUILD_BUG_ON(SVGA_COTABLE_MAX_IDS >= ((1 << 20) - 1)); in vmw_so_build_asserts() 553 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts() 555 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts() 557 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
|
/Linux-v4.19/arch/powerpc/platforms/ps3/ |
D | smp.c | 77 BUILD_BUG_ON(PPC_MSG_CALL_FUNCTION != 0); in ps3_smp_probe() 78 BUILD_BUG_ON(PPC_MSG_RESCHEDULE != 1); in ps3_smp_probe() 79 BUILD_BUG_ON(PPC_MSG_TICK_BROADCAST != 2); in ps3_smp_probe() 80 BUILD_BUG_ON(PPC_MSG_NMI_IPI != 3); in ps3_smp_probe()
|
/Linux-v4.19/net/ipv4/ |
D | raw_diag.c | 241 BUILD_BUG_ON(sizeof(struct inet_diag_req_v2) != in __check_inet_diag_req_raw() 243 BUILD_BUG_ON(__offset_mismatch(sdiag_family, sdiag_family)); in __check_inet_diag_req_raw() 244 BUILD_BUG_ON(__offset_mismatch(sdiag_protocol, sdiag_protocol)); in __check_inet_diag_req_raw() 245 BUILD_BUG_ON(__offset_mismatch(idiag_ext, idiag_ext)); in __check_inet_diag_req_raw() 246 BUILD_BUG_ON(__offset_mismatch(pad, sdiag_raw_protocol)); in __check_inet_diag_req_raw() 247 BUILD_BUG_ON(__offset_mismatch(idiag_states, idiag_states)); in __check_inet_diag_req_raw() 248 BUILD_BUG_ON(__offset_mismatch(id, id)); in __check_inet_diag_req_raw()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_vma.h | 239 BUILD_BUG_ON(I915_GGTT_VIEW_NORMAL != 0); in i915_vma_compare() 258 BUILD_BUG_ON(I915_GGTT_VIEW_NORMAL >= I915_GGTT_VIEW_PARTIAL); in i915_vma_compare() 259 BUILD_BUG_ON(I915_GGTT_VIEW_PARTIAL >= I915_GGTT_VIEW_ROTATED); in i915_vma_compare() 260 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare() 283 BUILD_BUG_ON(PIN_MBZ != I915_VMA_PIN_OVERFLOW); in i915_vma_pin() 284 BUILD_BUG_ON(PIN_GLOBAL != I915_VMA_GLOBAL_BIND); in i915_vma_pin() 285 BUILD_BUG_ON(PIN_USER != I915_VMA_LOCAL_BIND); in i915_vma_pin()
|
/Linux-v4.19/drivers/net/ethernet/atheros/alx/ |
D | ethtool.c | 119 BUILD_BUG_ON(SUPPORTED_10baseT_Half != ADVERTISED_10baseT_Half); in alx_get_supported_speeds() 120 BUILD_BUG_ON(SUPPORTED_10baseT_Full != ADVERTISED_10baseT_Full); in alx_get_supported_speeds() 121 BUILD_BUG_ON(SUPPORTED_100baseT_Half != ADVERTISED_100baseT_Half); in alx_get_supported_speeds() 122 BUILD_BUG_ON(SUPPORTED_100baseT_Full != ADVERTISED_100baseT_Full); in alx_get_supported_speeds() 123 BUILD_BUG_ON(SUPPORTED_1000baseT_Full != ADVERTISED_1000baseT_Full); in alx_get_supported_speeds() 284 BUILD_BUG_ON(sizeof(hw->stats) - offsetof(struct alx_hw_stats, rx_ok) < in alx_get_ethtool_stats()
|
/Linux-v4.19/arch/parisc/mm/ |
D | init.c | 593 BUILD_BUG_ON(sizeof(struct ipc64_perm) != 48); in mem_init() 595 BUILD_BUG_ON(sizeof(struct semid64_ds) != 80); in mem_init() 596 BUILD_BUG_ON(sizeof(struct msqid64_ds) != 104); in mem_init() 597 BUILD_BUG_ON(sizeof(struct shmid64_ds) != 104); in mem_init() 600 BUILD_BUG_ON(sizeof(struct compat_ipc64_perm) != sizeof(struct ipc64_perm)); in mem_init() 601 BUILD_BUG_ON(sizeof(struct compat_semid64_ds) != 80); in mem_init() 602 BUILD_BUG_ON(sizeof(struct compat_msqid64_ds) != 104); in mem_init() 603 BUILD_BUG_ON(sizeof(struct compat_shmid64_ds) != 104); in mem_init() 607 BUILD_BUG_ON(PTE_ENTRY_SIZE != sizeof(pte_t)); in mem_init() 608 BUILD_BUG_ON(PMD_ENTRY_SIZE != sizeof(pmd_t)); in mem_init() [all …]
|
/Linux-v4.19/drivers/xen/ |
D | efi.c | 50 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 69 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); in xen_efi_set_time() 88 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); in xen_efi_get_wakeup_time() 106 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); in xen_efi_set_wakeup_time() 128 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 153 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 177 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_set_variable()
|