/linux-4.4.14/drivers/net/wireless/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 …]
|
D | pio.c | 347 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 2); in tx_write_2byte_queue() 401 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 4); in tx_write_4byte_queue() 471 BUILD_BUG_ON(sizeof(wl->pio_scratchspace) < sizeof(struct b43_txhdr)); in pio_tx_frame() 622 BUILD_BUG_ON(sizeof(wl->pio_scratchspace) < sizeof(*rxhdr)); in pio_rx_frame() 723 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 4); in pio_rx_frame() 750 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 2); in pio_rx_frame()
|
/linux-4.4.14/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_BLK)); in check() 14 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); in check()
|
/linux-4.4.14/include/linux/ |
D | average.h | 12 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \ 13 BUILD_BUG_ON(!__builtin_constant_p(_weight)); \ 21 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \ 22 BUILD_BUG_ON(!__builtin_constant_p(_weight)); \ 34 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \ 35 BUILD_BUG_ON(!__builtin_constant_p(_weight)); \
|
D | bug.h | 21 #define BUILD_BUG_ON(condition) (0) macro 27 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) 71 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro 73 #define BUILD_BUG_ON(condition) \ macro
|
D | virtio_config.h | 97 BUILD_BUG_ON(fbit >= 64); in __virtio_test_bit() 114 BUILD_BUG_ON(fbit >= 64); in __virtio_set_bit() 131 BUILD_BUG_ON(fbit >= 64); in __virtio_clear_bit()
|
D | flex_array.h | 60 BUILD_BUG_ON((__total) > FLEX_ARRAY_NR_BASE_PTRS * \
|
D | genl_magic_func.h | 134 #ifndef BUILD_BUG_ON 136 #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition)) macro 156 BUILD_BUG_ON(ARRAY_SIZE(s_name ## _nl_policy) > ARRAY_SIZE(nested_attr_tb)); \
|
D | kmemcheck.h | 79 BUILD_BUG_ON(_n < 0); \
|
D | netdevice.h | 3779 BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3780 BUILD_BUG_ON(SKB_GSO_UDP != (NETIF_F_UFO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3781 BUILD_BUG_ON(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3782 BUILD_BUG_ON(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3783 BUILD_BUG_ON(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3784 BUILD_BUG_ON(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3785 BUILD_BUG_ON(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3786 BUILD_BUG_ON(SKB_GSO_GRE_CSUM != (NETIF_F_GSO_GRE_CSUM >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3787 BUILD_BUG_ON(SKB_GSO_IPIP != (NETIF_F_GSO_IPIP >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3788 BUILD_BUG_ON(SKB_GSO_SIT != (NETIF_F_GSO_SIT >> NETIF_F_GSO_SHIFT)); in net_gso_ok() [all …]
|
D | gfp.h | 260 BUILD_BUG_ON((1UL << GFP_MOVABLE_SHIFT) != ___GFP_MOVABLE); in gfpflags_to_migratetype() 261 BUILD_BUG_ON((___GFP_MOVABLE >> GFP_MOVABLE_SHIFT) != MIGRATE_MOVABLE); in gfpflags_to_migratetype()
|
D | highmem.h | 126 BUILD_BUG_ON(__same_type((addr), struct page *)); \
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 43 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg() 44 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); in efx_mcdi_get_phy_cfg() 84 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); in efx_mcdi_set_link() 353 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_probe() 380 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); in efx_mcdi_phy_probe() 381 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); in efx_mcdi_phy_probe() 382 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); in efx_mcdi_phy_probe() 383 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); in efx_mcdi_phy_probe() 384 BUILD_BUG_ON(LOOPBACK_XGXS != MC_CMD_LOOPBACK_XGXS); in efx_mcdi_phy_probe() 385 BUILD_BUG_ON(LOOPBACK_XAUI != MC_CMD_LOOPBACK_XAUI); in efx_mcdi_phy_probe() [all …]
|
D | mcdi.c | 1161 BUILD_BUG_ON(MCDI_EVENT_TX_FLUSH_TO_DRIVER_LBN != in efx_mcdi_process_event() 1195 BUILD_BUG_ON(MC_CMD_GET_VERSION_IN_LEN != 0); in efx_mcdi_print_fwver() 1310 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_IN_LEN != 0); in efx_mcdi_get_board_cfg() 1312 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0_OFST & 1); in efx_mcdi_get_board_cfg() 1313 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1_OFST & 1); in efx_mcdi_get_board_cfg() 1372 BUILD_BUG_ON(MC_CMD_LOG_CTRL_OUT_LEN != 0); in efx_mcdi_log_ctrl() 1385 BUILD_BUG_ON(MC_CMD_NVRAM_TYPES_IN_LEN != 0); in efx_mcdi_nvram_types() 1566 BUILD_BUG_ON(MC_CMD_REBOOT_OUT_LEN != 0); in efx_mcdi_exit_assertion() 1595 BUILD_BUG_ON(EFX_LED_OFF != MC_CMD_LED_OFF); in efx_mcdi_set_id_led() 1596 BUILD_BUG_ON(EFX_LED_ON != MC_CMD_LED_ON); in efx_mcdi_set_id_led() [all …]
|
D | farch.c | 301 BUILD_BUG_ON(FRF_AZ_TX_DESC_LBN != 0); in efx_farch_push_tx_desc() 302 BUILD_BUG_ON(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0); in efx_farch_push_tx_desc() 337 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); in efx_farch_tx_write() 404 BUILD_BUG_ON(EFX_MAX_TX_QUEUES > 128); in efx_farch_tx_init() 807 BUILD_BUG_ON(FRF_AZ_DRV_EV_DATA_LBN != 0 || in efx_farch_generate_event() 1665 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_indir_table) != in efx_farch_rx_push_indir_table() 1755 BUILD_BUG_ON(TX_DC_ENTRIES != (8 << TX_DC_ENTRIES_ORDER)); in efx_farch_init_common() 1762 BUILD_BUG_ON(RX_DC_ENTRIES != (8 << RX_DC_ENTRIES_ORDER)); in efx_farch_init_common() 1935 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != in efx_farch_filter_spec_table_id() 1937 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != in efx_farch_filter_spec_table_id() [all …]
|
D | ef10.c | 161 BUILD_BUG_ON(MC_CMD_GET_CAPABILITIES_IN_LEN != 0); in efx_ef10_init_datapath_caps() 219 BUILD_BUG_ON(MC_CMD_GET_MAC_ADDRESSES_IN_LEN != 0); in efx_ef10_get_mac_address_pf() 312 BUILD_BUG_ON(MCDI_CTL_SDU_LEN_MAX_V2 % 4); in efx_ef10_probe() 472 BUILD_BUG_ON(MC_CMD_FREE_PIOBUF_OUT_LEN != 0); in efx_ef10_free_piobufs() 493 BUILD_BUG_ON(MC_CMD_ALLOC_PIOBUF_IN_LEN != 0); in efx_ef10_alloc_piobufs() 528 BUILD_BUG_ON(MC_CMD_LINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs() 529 BUILD_BUG_ON(MC_CMD_UNLINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs() 1728 BUILD_BUG_ON(MC_CMD_TRIGGER_INTERRUPT_OUT_LEN != 0); in efx_ef10_irq_test_generate() 1771 BUILD_BUG_ON(MC_CMD_INIT_TXQ_OUT_LEN != 0); in efx_ef10_tx_init() 1888 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); in efx_ef10_tx_write() [all …]
|
D | ef10_sriov.c | 676 BUILD_BUG_ON(IFLA_VF_LINK_STATE_AUTO != in efx_ef10_sriov_set_vf_link_state() 678 BUILD_BUG_ON(IFLA_VF_LINK_STATE_ENABLE != in efx_ef10_sriov_set_vf_link_state() 680 BUILD_BUG_ON(IFLA_VF_LINK_STATE_DISABLE != in efx_ef10_sriov_set_vf_link_state()
|
/linux-4.4.14/drivers/virtio/ |
D | virtio_pci_modern.c | 541 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != in check_offsets() 543 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != in check_offsets() 545 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != in check_offsets() 547 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != in check_offsets() 549 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != in check_offsets() 551 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != in check_offsets() 553 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != in check_offsets() 555 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != in check_offsets() 558 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != in check_offsets() 561 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != in check_offsets() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | head64.c | 149 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel() 150 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel() 151 BUILD_BUG_ON(MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE); in x86_64_start_kernel() 152 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); in x86_64_start_kernel() 153 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel() 154 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel() 155 BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel() 157 BUILD_BUG_ON(__fix_to_virt(__end_of_fixed_addresses) <= MODULES_END); in x86_64_start_kernel()
|
D | kvmclock.c | 115 BUILD_BUG_ON(sizeof(kvm_sched_clock_offset) > in kvm_sched_clock_init()
|
/linux-4.4.14/fs/notify/fanotify/ |
D | fanotify.c | 198 BUILD_BUG_ON(FAN_ACCESS != FS_ACCESS); in fanotify_handle_event() 199 BUILD_BUG_ON(FAN_MODIFY != FS_MODIFY); in fanotify_handle_event() 200 BUILD_BUG_ON(FAN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in fanotify_handle_event() 201 BUILD_BUG_ON(FAN_CLOSE_WRITE != FS_CLOSE_WRITE); in fanotify_handle_event() 202 BUILD_BUG_ON(FAN_OPEN != FS_OPEN); in fanotify_handle_event() 203 BUILD_BUG_ON(FAN_EVENT_ON_CHILD != FS_EVENT_ON_CHILD); in fanotify_handle_event() 204 BUILD_BUG_ON(FAN_Q_OVERFLOW != FS_Q_OVERFLOW); in fanotify_handle_event() 205 BUILD_BUG_ON(FAN_OPEN_PERM != FS_OPEN_PERM); in fanotify_handle_event() 206 BUILD_BUG_ON(FAN_ACCESS_PERM != FS_ACCESS_PERM); in fanotify_handle_event() 207 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); in fanotify_handle_event()
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 675 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); in SYSCALL_DEFINE1() 676 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE1() 798 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); in inotify_user_setup() 799 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); in inotify_user_setup() 800 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); in inotify_user_setup() 801 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); in inotify_user_setup() 802 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in inotify_user_setup() 803 BUILD_BUG_ON(IN_OPEN != FS_OPEN); in inotify_user_setup() 804 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); in inotify_user_setup() 805 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); in inotify_user_setup() [all …]
|
/linux-4.4.14/drivers/net/wireless/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-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 528 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_SHADERRESOURCE_VIEW != in vmw_so_build_asserts() 530 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW != in vmw_so_build_asserts() 532 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_RENDERTARGET_VIEW != in vmw_so_build_asserts() 534 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts() 536 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts() 540 BUILD_BUG_ON(sizeof(union vmw_view_destroy) != sizeof(u32)); in vmw_so_build_asserts() 543 BUILD_BUG_ON(SVGA_COTABLE_MAX_IDS >= ((1 << 20) - 1)); in vmw_so_build_asserts() 549 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts() 551 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts() 553 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
|
D | vmwgfx_binding.c | 1274 BUILD_BUG_ON(SVGA3D_NUM_SHADERTYPE_DX10 != 3); in vmw_binding_build_asserts() 1275 BUILD_BUG_ON(SVGA3D_MAX_SIMULTANEOUS_RENDER_TARGETS > SVGA3D_RT_MAX); in vmw_binding_build_asserts() 1276 BUILD_BUG_ON(sizeof(uint32) != sizeof(u32)); in vmw_binding_build_asserts() 1282 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_RT_MAX); in vmw_binding_build_asserts() 1283 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_DX_MAX_SRVIEWS); in vmw_binding_build_asserts() 1284 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_DX_MAX_CONSTBUFFERS); in vmw_binding_build_asserts() 1290 BUILD_BUG_ON(SVGA3D_DX_MAX_SOTARGETS*sizeof(SVGA3dSoTarget) > in vmw_binding_build_asserts() 1292 BUILD_BUG_ON(SVGA3D_DX_MAX_VERTEXBUFFERS*sizeof(SVGA3dVertexBuffer) > in vmw_binding_build_asserts()
|
/linux-4.4.14/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_DEBUGGER_BREAK != 3); in ps3_smp_probe()
|
D | os-area.c | 593 BUILD_BUG_ON(sizeof(struct db_index) != 1); in os_area_db_init() 594 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); in os_area_db_init() 595 BUILD_BUG_ON(INDEX_64_COUNT & 0x7); in os_area_db_init() 596 BUILD_BUG_ON(VALUES_64_COUNT > INDEX_64_COUNT); in os_area_db_init() 597 BUILD_BUG_ON(INDEX_32_COUNT & 0x7); in os_area_db_init() 598 BUILD_BUG_ON(VALUES_32_COUNT > INDEX_32_COUNT); in os_area_db_init() 599 BUILD_BUG_ON(INDEX_16_COUNT & 0x7); in os_area_db_init() 600 BUILD_BUG_ON(VALUES_16_COUNT > INDEX_16_COUNT); in os_area_db_init() 601 BUILD_BUG_ON(HEADER_SIZE in os_area_db_init()
|
/linux-4.4.14/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() 273 BUILD_BUG_ON(sizeof(hw->stats) - offsetof(struct alx_hw_stats, rx_ok) < in alx_get_ethtool_stats()
|
/linux-4.4.14/net/batman-adv/ |
D | main.c | 466 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); in batadv_recv_handler_init() 467 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); in batadv_recv_handler_init() 468 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); in batadv_recv_handler_init() 469 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); in batadv_recv_handler_init() 470 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116); in batadv_recv_handler_init() 471 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); in batadv_recv_handler_init() 472 BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18); in batadv_recv_handler_init() 473 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); in batadv_recv_handler_init() 474 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); in batadv_recv_handler_init() 475 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); in batadv_recv_handler_init() [all …]
|
/linux-4.4.14/arch/arc/mm/ |
D | highmem.c | 133 BUILD_BUG_ON(PAGE_OFFSET < (VMALLOC_END + FIXMAP_SIZE + PKMAP_SIZE)); in kmap_init() 135 BUILD_BUG_ON(KM_TYPE_NR > PTRS_PER_PTE); in kmap_init() 138 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
|
/linux-4.4.14/drivers/edac/ |
D | cell_edac.c | 256 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init() 258 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init() 260 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init() 262 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init() 264 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init() 266 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, in cell_edac_init()
|
/linux-4.4.14/drivers/nvme/host/ |
D | lightnvm.c | 222 BUILD_BUG_ON(sizeof(struct nvme_nvm_identity) != 64); in _nvme_nvm_check_size() 223 BUILD_BUG_ON(sizeof(struct nvme_nvm_hb_rw) != 64); in _nvme_nvm_check_size() 224 BUILD_BUG_ON(sizeof(struct nvme_nvm_ph_rw) != 64); in _nvme_nvm_check_size() 225 BUILD_BUG_ON(sizeof(struct nvme_nvm_getbbtbl) != 64); in _nvme_nvm_check_size() 226 BUILD_BUG_ON(sizeof(struct nvme_nvm_setbbtbl) != 64); in _nvme_nvm_check_size() 227 BUILD_BUG_ON(sizeof(struct nvme_nvm_l2ptbl) != 64); in _nvme_nvm_check_size() 228 BUILD_BUG_ON(sizeof(struct nvme_nvm_erase_blk) != 64); in _nvme_nvm_check_size() 229 BUILD_BUG_ON(sizeof(struct nvme_nvm_id_group) != 960); in _nvme_nvm_check_size() 230 BUILD_BUG_ON(sizeof(struct nvme_nvm_addr_format) != 128); in _nvme_nvm_check_size() 231 BUILD_BUG_ON(sizeof(struct nvme_nvm_id) != 4096); in _nvme_nvm_check_size() [all …]
|
D | pci.c | 137 BUILD_BUG_ON(sizeof(struct nvme_rw_command) != 64); in _nvme_check_size() 138 BUILD_BUG_ON(sizeof(struct nvme_create_cq) != 64); in _nvme_check_size() 139 BUILD_BUG_ON(sizeof(struct nvme_create_sq) != 64); in _nvme_check_size() 140 BUILD_BUG_ON(sizeof(struct nvme_delete_queue) != 64); in _nvme_check_size() 141 BUILD_BUG_ON(sizeof(struct nvme_features) != 64); in _nvme_check_size() 142 BUILD_BUG_ON(sizeof(struct nvme_format_cmd) != 64); in _nvme_check_size() 143 BUILD_BUG_ON(sizeof(struct nvme_abort_cmd) != 64); in _nvme_check_size() 144 BUILD_BUG_ON(sizeof(struct nvme_command) != 64); in _nvme_check_size() 145 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != 4096); in _nvme_check_size() 146 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != 4096); in _nvme_check_size() [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | super.c | 2192 BUILD_BUG_ON(sizeof(struct ubifs_ch) != 24); in ubifs_init() 2195 BUILD_BUG_ON(UBIFS_CH_SZ & 7); in ubifs_init() 2196 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); in ubifs_init() 2197 BUILD_BUG_ON(UBIFS_DENT_NODE_SZ & 7); in ubifs_init() 2198 BUILD_BUG_ON(UBIFS_XENT_NODE_SZ & 7); in ubifs_init() 2199 BUILD_BUG_ON(UBIFS_DATA_NODE_SZ & 7); in ubifs_init() 2200 BUILD_BUG_ON(UBIFS_TRUN_NODE_SZ & 7); in ubifs_init() 2201 BUILD_BUG_ON(UBIFS_SB_NODE_SZ & 7); in ubifs_init() 2202 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init() 2203 BUILD_BUG_ON(UBIFS_REF_NODE_SZ & 7); in ubifs_init() [all …]
|
/linux-4.4.14/arch/parisc/mm/ |
D | init.c | 590 BUILD_BUG_ON(sizeof(struct ipc64_perm) != 48); in mem_init() 592 BUILD_BUG_ON(sizeof(struct semid64_ds) != 80); in mem_init() 593 BUILD_BUG_ON(sizeof(struct msqid64_ds) != 104); in mem_init() 594 BUILD_BUG_ON(sizeof(struct shmid64_ds) != 104); in mem_init() 597 BUILD_BUG_ON(sizeof(struct compat_ipc64_perm) != sizeof(struct ipc64_perm)); in mem_init() 598 BUILD_BUG_ON(sizeof(struct compat_semid64_ds) != 80); in mem_init() 599 BUILD_BUG_ON(sizeof(struct compat_msqid64_ds) != 104); in mem_init() 600 BUILD_BUG_ON(sizeof(struct compat_shmid64_ds) != 104); in mem_init() 604 BUILD_BUG_ON(PTE_ENTRY_SIZE != sizeof(pte_t)); in mem_init() 605 BUILD_BUG_ON(PMD_ENTRY_SIZE != sizeof(pmd_t)); in mem_init() [all …]
|
D | hugetlbpage.c | 102 BUILD_BUG_ON(REAL_HPAGE_SHIFT > HPAGE_SHIFT); in purge_tlb_entries_huge()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | cmpxchg_64.h | 11 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 17 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
D | cmpxchg.h | 213 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 214 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
D | stackprotector.h | 66 BUILD_BUG_ON(offsetof(union irq_stack_union, stack_canary) != 40); in boot_init_stack_canary()
|
D | pgtable-2level.h | 69 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)
|
D | pgtable-3level.h | 180 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > 5)
|
D | pgtable_64.h | 147 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)
|
D | spinlock.h | 152 BUILD_BUG_ON(((__ticket_t)NR_CPUS) != NR_CPUS); in arch_spin_unlock()
|
/linux-4.4.14/drivers/soc/tegra/fuse/ |
D | speedo-tegra124.c | 118 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != in tegra124_init_speedo_data() 120 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != in tegra124_init_speedo_data() 122 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != in tegra124_init_speedo_data()
|
D | speedo-tegra210.c | 120 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != in tegra210_init_speedo_data() 122 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != in tegra210_init_speedo_data() 124 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != in tegra210_init_speedo_data()
|
D | speedo-tegra114.c | 91 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != in tegra114_init_speedo_data() 93 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != in tegra114_init_speedo_data()
|
D | speedo-tegra20.c | 71 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != SPEEDO_ID_COUNT); in tegra20_init_speedo_data() 72 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != SPEEDO_ID_COUNT); in tegra20_init_speedo_data()
|
D | speedo-tegra30.c | 252 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != in tegra30_init_speedo_data() 254 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != in tegra30_init_speedo_data()
|
/linux-4.4.14/drivers/xen/ |
D | efi.c | 49 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 67 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); in xen_efi_set_time() 86 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); in xen_efi_get_wakeup_time() 103 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); in xen_efi_set_wakeup_time() 126 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 150 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 175 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_set_variable()
|
D | balloon.c | 333 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in reserve_additional_memory() 455 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in increase_reservation() 533 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in decrease_reservation() 660 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in alloc_xenballooned_pages()
|
D | xen-acpi-processor.c | 148 BUILD_BUG_ON(sizeof(struct xen_processor_px) != in xen_copy_pss_data() 169 BUILD_BUG_ON(sizeof(struct xen_psd_package) != in xen_copy_psd_data()
|
/linux-4.4.14/drivers/mfd/ |
D | max14577.c | 545 BUILD_BUG_ON(ARRAY_SIZE(max14577_i2c_id) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 546 BUILD_BUG_ON(ARRAY_SIZE(max14577_dt_match) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 549 BUILD_BUG_ON(ARRAY_SIZE(maxim_charger_currents) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 552 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_START + in max14577_i2c_init() 555 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); in max14577_i2c_init() 557 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_START + in max14577_i2c_init() 560 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); in max14577_i2c_init()
|
/linux-4.4.14/net/core/ |
D | filter.c | 159 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access() 174 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access() 182 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 183 BUILD_BUG_ON(VLAN_TAG_PRESENT != 0x1000); in convert_skb_access() 211 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); in convert_bpf_extensions() 227 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in convert_bpf_extensions() 228 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in convert_bpf_extensions() 229 BUILD_BUG_ON(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)) < 0); in convert_bpf_extensions() 251 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in convert_bpf_extensions() 275 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() [all …]
|
D | flow_dissector.c | 520 BUILD_BUG_ON(FLOW_KEYS_HASH_OFFSET % sizeof(u32)); in flow_keys_hash_start() 527 BUILD_BUG_ON((sizeof(*flow) - FLOW_KEYS_HASH_OFFSET) % sizeof(u32)); in flow_keys_hash_length() 528 BUILD_BUG_ON(offsetof(typeof(*flow), addrs) != in flow_keys_hash_length() 653 BUILD_BUG_ON(sizeof(*data) > sizeof(*digest)); in make_flow_keys_digest()
|
/linux-4.4.14/drivers/ps3/ |
D | ps3-sys-manager.c | 275 BUILD_BUG_ON(sizeof(payload) != 8); in ps3_sys_manager_send_attr() 312 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_next_op() 354 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_request_shutdown() 391 BUILD_BUG_ON(sizeof(payload) != 16); in ps3_sys_manager_send_response() 425 BUILD_BUG_ON(sizeof(event) != 16); in ps3_sys_manager_handle_event() 505 BUILD_BUG_ON(sizeof(cmd) != 16); in ps3_sys_manager_handle_cmd() 555 BUILD_BUG_ON(sizeof(header) != 16); in ps3_sys_manager_handle_msg()
|
/linux-4.4.14/arch/tile/lib/ |
D | atomic_32.c | 184 BUILD_BUG_ON(ATOMIC_HASH_SIZE & (ATOMIC_HASH_SIZE-1)); in __init_atomic_per_cpu() 198 BUILD_BUG_ON(ATOMIC_HASH_SIZE * sizeof(int) > PAGE_SIZE); in __init_atomic_per_cpu() 205 BUILD_BUG_ON((PAGE_SIZE >> 3) > ATOMIC_HASH_SIZE); in __init_atomic_per_cpu()
|
/linux-4.4.14/arch/arm64/mm/ |
D | kasan_init.c | 93 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != KASAN_SHADOW_END - (1UL << 61)); in kasan_early_init() 94 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init() 95 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
|
D | init.c | 344 BUILD_BUG_ON(TASK_SIZE_32 > TASK_SIZE_64); in mem_init() 346 BUILD_BUG_ON(TASK_SIZE_64 > MODULES_VADDR); in mem_init()
|
D | mmu.c | 608 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_fixmap_init() 659 BUILD_BUG_ON(MIN_FDT_ALIGN < 8); in fixmap_remap_fdt() 673 BUILD_BUG_ON(dt_virt_base % SZ_2M); in fixmap_remap_fdt() 675 BUILD_BUG_ON(__fix_to_virt(FIX_FDT_END) >> SWAPPER_TABLE_SHIFT != in fixmap_remap_fdt()
|
/linux-4.4.14/arch/powerpc/net/ |
D | bpf_jit_comp.c | 329 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in bpf_jit_build_body() 338 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body() 345 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body() 347 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body() 370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body() 375 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in bpf_jit_build_body() 381 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in bpf_jit_build_body() 382 BUILD_BUG_ON(VLAN_TAG_PRESENT != 0x1000); in bpf_jit_build_body() 394 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
|
D | bpf_jit.h | 160 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \ 165 do { BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); \
|
/linux-4.4.14/arch/s390/include/asm/ |
D | ctl_reg.h | 15 BUILD_BUG_ON(sizeof(addrtype) != (high - low + 1) * sizeof(long));\ 24 BUILD_BUG_ON(sizeof(addrtype) != (high - low + 1) * sizeof(long));\
|
D | cmpxchg.h | 57 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 58 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
D | processor.h | 313 BUILD_BUG_ON(sizeof(__tmp) != sizeof(val)); \
|
/linux-4.4.14/arch/mips/include/asm/ |
D | cmpxchg.h | 135 BUILD_BUG_ON(sizeof(*(ptr)) & ~0xc); \ 233 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 239 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
D | io.h | 396 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 409 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842-powernv.c | 612 BUILD_BUG_ON(WORKMEM_ALIGN % CRB_ALIGN); in nx842_powernv_init() 613 BUILD_BUG_ON(CRB_ALIGN % DDE_ALIGN); in nx842_powernv_init() 614 BUILD_BUG_ON(CRB_SIZE % DDE_ALIGN); in nx842_powernv_init() 616 BUILD_BUG_ON(PAGE_SIZE % DDE_BUFFER_ALIGN); in nx842_powernv_init() 617 BUILD_BUG_ON(DDE_BUFFER_ALIGN % DDE_BUFFER_SIZE_MULT); in nx842_powernv_init() 618 BUILD_BUG_ON(DDE_BUFFER_SIZE_MULT % DDE_BUFFER_LAST_MULT); in nx842_powernv_init()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | cmpxchg.h | 31 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 62 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/drivers/nvdimm/ |
D | claim.c | 191 BUILD_BUG_ON(sizeof(struct btt_sb) != SZ_4K); in nd_sb_checksum() 192 BUILD_BUG_ON(sizeof(struct nd_pfn_sb) != SZ_4K); in nd_sb_checksum() 193 BUILD_BUG_ON(sizeof(struct nd_gen_sb) != SZ_4K); in nd_sb_checksum()
|
/linux-4.4.14/drivers/vhost/ |
D | vringh.c | 667 BUILD_BUG_ON(sizeof(struct vringh_kiov) != sizeof(struct vringh_iov)); in vringh_getdesc_user() 668 BUILD_BUG_ON(offsetof(struct vringh_kiov, iov) != in vringh_getdesc_user() 670 BUILD_BUG_ON(offsetof(struct vringh_kiov, i) != in vringh_getdesc_user() 672 BUILD_BUG_ON(offsetof(struct vringh_kiov, used) != in vringh_getdesc_user() 674 BUILD_BUG_ON(offsetof(struct vringh_kiov, max_num) != in vringh_getdesc_user() 676 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec)); in vringh_getdesc_user() 677 BUILD_BUG_ON(offsetof(struct iovec, iov_base) != in vringh_getdesc_user() 679 BUILD_BUG_ON(offsetof(struct iovec, iov_len) != in vringh_getdesc_user() 681 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_base) in vringh_getdesc_user() 683 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len) in vringh_getdesc_user()
|
/linux-4.4.14/fs/jffs2/ |
D | super.c | 373 BUILD_BUG_ON(sizeof(struct jffs2_unknown_node) != 12); in init_jffs2_fs() 374 BUILD_BUG_ON(sizeof(struct jffs2_raw_dirent) != 40); in init_jffs2_fs() 375 BUILD_BUG_ON(sizeof(struct jffs2_raw_inode) != 68); in init_jffs2_fs() 376 BUILD_BUG_ON(sizeof(struct jffs2_raw_summary) != 32); in init_jffs2_fs()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | io.h | 89 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 101 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 116 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 129 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
|
/linux-4.4.14/drivers/misc/cxl/ |
D | file.c | 550 BUILD_BUG_ON(CXL_API_VERSION != 2); in cxl_file_init() 551 BUILD_BUG_ON(sizeof(struct cxl_ioctl_start_work) != 64); in cxl_file_init() 552 BUILD_BUG_ON(sizeof(struct cxl_event_header) != 8); in cxl_file_init() 553 BUILD_BUG_ON(sizeof(struct cxl_event_afu_interrupt) != 8); in cxl_file_init() 554 BUILD_BUG_ON(sizeof(struct cxl_event_data_storage) != 32); in cxl_file_init() 555 BUILD_BUG_ON(sizeof(struct cxl_event_afu_error) != 16); in cxl_file_init()
|
/linux-4.4.14/fs/logfs/ |
D | logfs_abi.h | 14 #ifndef BUILD_BUG_ON 15 #define BUILD_BUG_ON(condition) /**/ macro 21 BUILD_BUG_ON(sizeof(struct type) != (size)); \
|
/linux-4.4.14/arch/arm/net/ |
D | bpf_jit_32.c | 539 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 859 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 869 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); in build_body() 884 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 886 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 907 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 913 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 920 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in build_body() 932 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 943 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() [all …]
|
/linux-4.4.14/tools/virtio/linux/ |
D | bug.h | 6 #define BUILD_BUG_ON(x) macro
|
/linux-4.4.14/drivers/regulator/ |
D | max14577.c | 316 BUILD_BUG_ON(ARRAY_SIZE(max14577_supported_regulators) != MAX14577_REGULATOR_NUM); in max14577_regulator_init() 317 BUILD_BUG_ON(ARRAY_SIZE(max77836_supported_regulators) != MAX77836_REGULATOR_NUM); in max14577_regulator_init() 319 BUILD_BUG_ON(MAX77836_REGULATOR_LDO_VOLTAGE_MIN + in max14577_regulator_init()
|
D | s2mps11.c | 981 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); in s2mps11_pmic_probe() 986 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); in s2mps11_pmic_probe() 991 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); in s2mps11_pmic_probe() 996 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); in s2mps11_pmic_probe()
|
/linux-4.4.14/arch/tile/mm/ |
D | hugetlbpage.c | 329 BUILD_BUG_ON(ADDITIONAL_HUGE_SIZE >= PMD_SIZE || in add_default_hugepagesz() 331 BUILD_BUG_ON((PAGE_SIZE << ADDITIONAL_HUGE_SHIFT) != in add_default_hugepagesz() 333 BUILD_BUG_ON(ADDITIONAL_HUGE_SHIFT & 1); in add_default_hugepagesz()
|
D | fault.c | 889 BUILD_BUG_ON(pgd_index(VMALLOC_END - PAGE_SIZE) != in vmalloc_sync_all() 902 BUILD_BUG_ON(PAGE_OFFSET & ~PGDIR_MASK); in vmalloc_sync_all()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | mc146818rtc.h | 10 #define RTC_IRQ BUILD_BUG_ON(1)
|
/linux-4.4.14/include/net/ |
D | flow.h | 203 BUILD_BUG_ON(sizeof(struct flowi4) % sizeof(flow_compare_t)); in flow_key_size() 206 BUILD_BUG_ON(sizeof(struct flowi6) % sizeof(flow_compare_t)); in flow_key_size() 209 BUILD_BUG_ON(sizeof(struct flowidn) % sizeof(flow_compare_t)); in flow_key_size()
|
D | garp.h | 38 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
|
D | 6lowpan.h | 121 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(skb->cb)); in lowpan_802154_cb()
|
D | mrp.h | 40 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
|
D | ip6_fib.h | 182 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
|
/linux-4.4.14/net/ipv4/ |
D | ip_input.c | 416 BUILD_BUG_ON(IPSTATS_MIB_ECT1PKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_ECT_1); in ip_rcv() 417 BUILD_BUG_ON(IPSTATS_MIB_ECT0PKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_ECT_0); in ip_rcv() 418 BUILD_BUG_ON(IPSTATS_MIB_CEPKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_CE); in ip_rcv()
|
D | inet_diag.c | 321 BUILD_BUG_ON(offsetof(struct inet_request_sock, ir_cookie) != in inet_req_diag_fill() 709 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_family) != in twsk_build_assert() 712 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_num) != in twsk_build_assert() 715 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_dport) != in twsk_build_assert() 718 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_rcv_saddr) != in twsk_build_assert() 721 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_daddr) != in twsk_build_assert() 725 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_rcv_saddr) != in twsk_build_assert() 728 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_daddr) != in twsk_build_assert()
|
D | tcp_highspeed.c | 171 BUILD_BUG_ON(sizeof(struct hstcp) > ICSK_CA_PRIV_SIZE); in hstcp_register()
|
D | tcp_htcp.c | 302 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE); in htcp_register() 303 BUILD_BUG_ON(BETA_MIN >= BETA_MAX); in htcp_register()
|
D | tcp_veno.c | 217 BUILD_BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE); in tcp_veno_register()
|
D | tcp_hybla.c | 178 BUILD_BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE); in hybla_register()
|
D | tcp_bic.c | 225 BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); in bictcp_register()
|
D | tcp_vegas.c | 322 BUILD_BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE); in tcp_vegas_register()
|
/linux-4.4.14/include/linux/ssb/ |
D | ssb_driver_extif.h | 38 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \ 42 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
|
/linux-4.4.14/security/selinux/ |
D | nlmsgtab.c | 157 BUILD_BUG_ON(RTM_MAX != (RTM_NEWNSID + 3)); in selinux_nlmsg_lookup() 168 BUILD_BUG_ON(XFRM_MSG_MAX != XFRM_MSG_MAPPING); in selinux_nlmsg_lookup()
|
/linux-4.4.14/drivers/thermal/ |
D | power_allocator.c | 368 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*max_power)); in allocate_power() 369 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*granted_power)); in allocate_power() 370 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*extra_actor_power)); in allocate_power() 371 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*weighted_req_power)); in allocate_power()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 612 BUILD_BUG_ON(BGMAC_MAX_TX_RINGS > ARRAY_SIZE(ring_base)); in bgmac_dma_alloc() 613 BUILD_BUG_ON(BGMAC_MAX_RX_RINGS > ARRAY_SIZE(ring_base)); in bgmac_dma_alloc() 742 BUILD_BUG_ON(BGMAC_PA_DATA_MASK != BCMA_GMAC_CMN_PA_DATA_MASK); in bgmac_phy_read() 743 BUILD_BUG_ON(BGMAC_PA_ADDR_MASK != BCMA_GMAC_CMN_PA_ADDR_MASK); in bgmac_phy_read() 744 BUILD_BUG_ON(BGMAC_PA_ADDR_SHIFT != BCMA_GMAC_CMN_PA_ADDR_SHIFT); in bgmac_phy_read() 745 BUILD_BUG_ON(BGMAC_PA_REG_MASK != BCMA_GMAC_CMN_PA_REG_MASK); in bgmac_phy_read() 746 BUILD_BUG_ON(BGMAC_PA_REG_SHIFT != BCMA_GMAC_CMN_PA_REG_SHIFT); in bgmac_phy_read() 747 BUILD_BUG_ON(BGMAC_PA_WRITE != BCMA_GMAC_CMN_PA_WRITE); in bgmac_phy_read() 748 BUILD_BUG_ON(BGMAC_PA_START != BCMA_GMAC_CMN_PA_START); in bgmac_phy_read() 749 BUILD_BUG_ON(BGMAC_PC_EPA_MASK != BCMA_GMAC_CMN_PC_EPA_MASK); in bgmac_phy_read() [all …]
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smd.c | 257 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \ 265 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u32)); \ 273 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \ 282 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u32)); \ 291 BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u8)); \ 299 BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u32)); \ 307 BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u8)); \ 316 BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u32)); \
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | cmpxchg.h | 294 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 299 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
D | hugetlb.h | 21 BUILD_BUG_ON((MMU_PAGE_COUNT - 1) > 0xf); in hugepd_page()
|
D | pgtable-ppc64.h | 351 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \ 356 BUILD_BUG_ON(_PAGE_HPTEFLAGS & (0x1f << _PAGE_BIT_SWAP_TYPE)); \
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | offloading.c | 167 BUILD_BUG_ON(sizeof(cmd.v2.target_ipv6_addr[0]) != in iwl_mvm_send_proto_offload() 181 BUILD_BUG_ON(sizeof(cmd.v1.target_ipv6_addr[0]) != in iwl_mvm_send_proto_offload()
|
D | sf.c | 197 BUILD_BUG_ON(sizeof(sf_full_timeout) != in iwl_mvm_fill_sf_command() 204 BUILD_BUG_ON(sizeof(sf_full_timeout_def) != in iwl_mvm_fill_sf_command()
|
D | quota.c | 99 BUILD_BUG_ON(NUM_PHY_CTX > MAX_BINDINGS); in iwl_mvm_quota_iterator() 195 BUILD_BUG_ON(MAX_BINDINGS != 4); in iwl_mvm_update_quotas()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | isci.h | 109 BUILD_BUG_ON(SCU_MAX_UNSOLICITED_FRAMES <= 8); in check_sizes() 112 BUILD_BUG_ON(SCU_MAX_UNSOLICITED_FRAMES > SCU_ABSOLUTE_MAX_UNSOLICITED_FRAMES); in check_sizes()
|
/linux-4.4.14/fs/ |
D | signalfd.c | 85 BUILD_BUG_ON(sizeof(struct signalfd_siginfo) != 128); in signalfd_copyinfo() 262 BUILD_BUG_ON(SFD_CLOEXEC != O_CLOEXEC); in SYSCALL_DEFINE4() 263 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE4()
|
D | eventfd.c | 397 BUILD_BUG_ON(EFD_CLOEXEC != O_CLOEXEC); in eventfd_file_create() 398 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in eventfd_file_create()
|
/linux-4.4.14/fs/sysv/ |
D | super.c | 359 BUILD_BUG_ON(1024 != sizeof (struct xenix_super_block)); in sysv_fill_super() 360 BUILD_BUG_ON(512 != sizeof (struct sysv4_super_block)); in sysv_fill_super() 361 BUILD_BUG_ON(512 != sizeof (struct sysv2_super_block)); in sysv_fill_super() 362 BUILD_BUG_ON(500 != sizeof (struct coh_super_block)); in sysv_fill_super() 363 BUILD_BUG_ON(64 != sizeof (struct sysv_inode)); in sysv_fill_super()
|
/linux-4.4.14/sound/usb/caiaq/ |
D | input.c | 625 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk2)); in snd_usb_caiaq_input_init() 637 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk3)); in snd_usb_caiaq_input_init() 648 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_ak1)); in snd_usb_caiaq_input_init() 664 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_kore)); in snd_usb_caiaq_input_init() 690 BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLX1_INPUTS); in snd_usb_caiaq_input_init() 728 BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLS4_BUTTONS); in snd_usb_caiaq_input_init() 774 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_maschine)); in snd_usb_caiaq_input_init()
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 679 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 1083 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1108 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, in build_body() 1124 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 1131 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 1137 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 1144 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1169 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1171 BUILD_BUG_ON(offsetof(struct sk_buff, in build_body()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | fixmap.h | 62 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | hv-common.h | 36 BUILD_BUG_ON((bit_start > bit_end) \
|
/linux-4.4.14/drivers/thunderbolt/ |
D | tb.c | 353 BUILD_BUG_ON(sizeof(struct tb_regs_switch_header) != 5 * 4); in thunderbolt_alloc_and_start() 354 BUILD_BUG_ON(sizeof(struct tb_regs_port_header) != 8 * 4); in thunderbolt_alloc_and_start() 355 BUILD_BUG_ON(sizeof(struct tb_regs_hop) != 2 * 4); in thunderbolt_alloc_and_start()
|
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 22 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | util.h | 63 BUILD_BUG_ON(!(__mask) || !is_valid_mask(__mask))
|
D | usb.c | 220 BUILD_BUG_ON(sizeof(dev->in_eps) < __MT_EP_IN_MAX); in mt7601u_assign_pipes() 221 BUILD_BUG_ON(sizeof(dev->out_eps) < __MT_EP_OUT_MAX); in mt7601u_assign_pipes()
|
/linux-4.4.14/arch/arm/crypto/ |
D | sha1_glue.c | 37 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update_arm()
|
D | sha256_glue.c | 40 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in crypto_sha256_arm_update()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_output.c | 170 BUILD_BUG_ON(sizeof(*IPCB(skb)) > SKB_SGO_CB_OFFSET); in xfrm_output_gso() 171 BUILD_BUG_ON(sizeof(*IP6CB(skb)) > SKB_SGO_CB_OFFSET); in xfrm_output_gso()
|
/linux-4.4.14/kernel/trace/ |
D | trace_export.c | 97 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \ 108 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \
|
D | trace_event_perf.c | 271 BUILD_BUG_ON(PERF_MAX_TRACE_SIZE % sizeof(unsigned long)); in perf_trace_buf_prepare() 317 BUILD_BUG_ON(ENTRY_SIZE > PERF_MAX_TRACE_SIZE); in perf_ftrace_function_call()
|
/linux-4.4.14/drivers/base/ |
D | node.c | 34 BUILD_BUG_ON((NR_CPUS/32 * 9) > (PAGE_SIZE-1)); in node_read_cpumap() 193 BUILD_BUG_ON(MAX_NUMNODES * 4 > PAGE_SIZE); in node_read_distance() 683 BUILD_BUG_ON(ARRAY_SIZE(node_state_attr) != NR_NODE_STATES); in register_node_type() 684 BUILD_BUG_ON(ARRAY_SIZE(node_state_attrs)-1 != NR_NODE_STATES); in register_node_type()
|
/linux-4.4.14/include/asm-generic/ |
D | fixmap.h | 31 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
/linux-4.4.14/drivers/mtd/maps/ |
D | pismo.c | 277 BUILD_BUG_ON(sizeof(struct pismo_cs_block) != 48); in pismo_init() 278 BUILD_BUG_ON(sizeof(struct pismo_eeprom) != 256); in pismo_init()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-dln2.c | 86 BUILD_BUG_ON(sizeof(*tx) > DLN2_I2C_BUF_SIZE); in dln2_i2c_write() 120 BUILD_BUG_ON(sizeof(*rx) > DLN2_I2C_BUF_SIZE); in dln2_i2c_read()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | util.h | 57 BUILD_BUG_ON(sizeof(struct mwifiex_cb) > sizeof(skb->cb)); in MWIFIEX_SKB_RXCB()
|
/linux-4.4.14/arch/x86/mm/ |
D | init_32.c | 803 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 804 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init() 807 BUILD_BUG_ON(VMALLOC_START >= VMALLOC_END); in mem_init() 811 BUILD_BUG_ON(CONFIG_RANDOMIZE_BASE_MAX_OFFSET > KERNEL_IMAGE_SIZE); in mem_init()
|
D | ioremap.c | 450 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init() 466 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_ioremap_init()
|
/linux-4.4.14/drivers/leds/trigger/ |
D | ledtrig-cpu.c | 121 BUILD_BUG_ON(CONFIG_NR_CPUS > 9999); in ledtrig_cpu_init()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | cmpxchg.h | 107 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/s390/kernel/ |
D | irq.c | 95 BUILD_BUG_ON(ARRAY_SIZE(irqclass_sub_desc) != NR_ARCH_IRQS); in init_IRQ() 206 BUILD_BUG_ON(!is_power_of_2(ARRAY_SIZE(ext_int_hash))); in ext_hash()
|
/linux-4.4.14/arch/mips/sgi-ip32/ |
D | ip32-irq.c | 372 BUILD_BUG_ON(CRIME_VICE_IRQ - MACE_VID_IN1_IRQ != 31); in ip32_irq0() 373 BUILD_BUG_ON(MACEISA_SERIAL2_RDMAOR_IRQ - MACEISA_AUDIO_SW_IRQ != 31); in ip32_irq0()
|
/linux-4.4.14/drivers/dma/ |
D | cppi41.c | 743 BUILD_BUG_ON(sizeof(struct cppi41_desc) & in init_descs() 745 BUILD_BUG_ON(sizeof(struct cppi41_desc) < 32); in init_descs() 746 BUILD_BUG_ON(ALLOC_DECS_NUM < 32); in init_descs() 758 BUILD_BUG_ON(DESCS_AREAS != 1); in init_descs() 799 BUILD_BUG_ON(QMGR_SCRATCH_SIZE > ((1 << 14) - 1)); in init_cppi41() 854 BUILD_BUG_ON(ARRAY_SIZE(usb_queues_rx) != ARRAY_SIZE(usb_queues_tx)); in cpp41_dma_filter_fn()
|
/linux-4.4.14/net/hsr/ |
D | hsr_main.c | 120 BUILD_BUG_ON(sizeof(struct hsr_tag) != HSR_HLEN); in hsr_init()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_opregion.c | 906 BUILD_BUG_ON(sizeof(struct opregion_header) != 0x100); in intel_opregion_setup() 907 BUILD_BUG_ON(sizeof(struct opregion_acpi) != 0x100); in intel_opregion_setup() 908 BUILD_BUG_ON(sizeof(struct opregion_swsci) != 0x100); in intel_opregion_setup() 909 BUILD_BUG_ON(sizeof(struct opregion_asle) != 0x100); in intel_opregion_setup()
|
D | i915_vgpu.c | 67 BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE); in i915_check_vgpu()
|
D | intel_sdvo.c | 665 BUILD_BUG_ON(sizeof(response) != 1); in intel_sdvo_get_trained_inputs() 721 BUILD_BUG_ON(sizeof(clocks) != 4); in intel_sdvo_get_input_pixel_clock_range() 803 BUILD_BUG_ON(sizeof(dtd->part1) != 8); in intel_sdvo_get_preferred_input_timing() 804 BUILD_BUG_ON(sizeof(dtd->part2) != 8); in intel_sdvo_get_preferred_input_timing() 919 BUILD_BUG_ON(sizeof(encode) != 2); in intel_sdvo_check_supp_encode() 1050 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_set_tv_format() 1547 BUILD_BUG_ON(sizeof(*caps) != 8); in intel_sdvo_get_capabilities() 1890 BUILD_BUG_ON(sizeof(tv_res) != 3); in intel_sdvo_get_tv_modes() 2693 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_tv_create_property() 2886 BUILD_BUG_ON(sizeof(enhancements) != 2); in intel_sdvo_create_enhance_property()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | ptrace.c | 290 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != in gpr_get() 329 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != in gpr_set() 378 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != in fpr_get() 406 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != in fpr_set() 443 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_get() 474 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_set() 581 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get() 604 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 278 BUILD_BUG_ON( in carl9170_tx_release() 875 BUILD_BUG_ON(IEEE80211_TX_MAX_RATES < CARL9170_TX_MAX_RATES); in carl9170_tx_get_rates() 876 BUILD_BUG_ON(IEEE80211_TX_MAX_RATES > IEEE80211_TX_RATE_TABLE_SIZE); in carl9170_tx_get_rates() 968 BUILD_BUG_ON(sizeof(*arinfo) > sizeof(info->rate_driver_data)); in carl9170_tx_prepare() 969 BUILD_BUG_ON(sizeof(struct _carl9170_tx_superdesc) != in carl9170_tx_prepare() 972 BUILD_BUG_ON(sizeof(struct _ar9170_tx_hwdesc) != in carl9170_tx_prepare() 975 BUILD_BUG_ON(AR9170_MAX_VIRTUAL_MAC > in carl9170_tx_prepare() 1246 BUILD_BUG_ON(sizeof(*arinfo) > sizeof(info->rate_driver_data)); in carl9170_tx_pick_skb()
|
D | rx.c | 296 BUILD_BUG_ON(sizeof(struct ar9170_rx_head) != 12); in carl9170_rx_mac_status() 297 BUILD_BUG_ON(sizeof(struct ar9170_rx_macstatus) != 4); in carl9170_rx_mac_status() 447 BUILD_BUG_ON(sizeof(struct ar9170_rx_phystatus) != 20); in carl9170_rx_phy_status()
|
D | main.c | 301 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_SOFT < 1); in carl9170_zap_queues() 302 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_HARD < CARL9170_NUM_TX_LIMIT_SOFT); in carl9170_zap_queues() 303 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_HARD >= CARL9170_BAW_BITS); in carl9170_zap_queues() 1559 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_PAYLOAD_LEN); in carl9170_rng_get() 1890 BUILD_BUG_ON(sizeof(ar->eeprom) & 3); in carl9170_read_eeprom() 1892 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_LEN - 4); in carl9170_read_eeprom() 1895 BUILD_BUG_ON(sizeof(ar->eeprom) % RB); in carl9170_read_eeprom()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | wil_crash_dump.c | 31 BUILD_BUG_ON(ARRAY_SIZE(fw_mapping) == 0); in wil_fw_get_crash_dump_bounds()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 139 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/x86/boot/ |
D | main.c | 39 BUILD_BUG_ON(sizeof boot_params != 4096); in copy_boot_params()
|
/linux-4.4.14/arch/x86/entry/ |
D | common.c | 129 BUILD_BUG_ON(SECCOMP_PHASE1_OK != 0); in syscall_trace_enter_phase1() 130 BUILD_BUG_ON(SECCOMP_PHASE1_SKIP != 1); in syscall_trace_enter_phase1()
|
/linux-4.4.14/arch/tile/kernel/ |
D | signal.c | 57 BUILD_BUG_ON(sizeof(struct sigcontext) != sizeof(struct pt_regs)); in restore_sigcontext() 58 BUILD_BUG_ON(sizeof(struct sigcontext) % 8 != 0); in restore_sigcontext()
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice.c | 210 BUILD_BUG_ON(NICK_NAME_SIZE < sizeof(card->shortname)); in dice_card_strings() 216 BUILD_BUG_ON(sizeof(card->shortname) % 4 != 0); in dice_card_strings()
|
/linux-4.4.14/net/mac80211/ |
D | key.c | 907 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_get_key_tx_seq() 911 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_get_key_tx_seq() 915 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_get_key_tx_seq() 1001 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_set_key_tx_seq() 1005 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_set_key_tx_seq() 1009 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != in ieee80211_set_key_tx_seq()
|
/linux-4.4.14/lib/ |
D | lockref.c | 12 BUILD_BUG_ON(sizeof(old) != 8); \
|
D | test-string_helpers.c | 332 BUILD_BUG_ON(sizeof(exp_result10) >= string_get_size_maxbuf); \ 333 BUILD_BUG_ON(sizeof(exp_result2) >= string_get_size_maxbuf); \
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
D | smp-shx3.c | 78 BUILD_BUG_ON(SMP_MSG_NR >= 8); in shx3_prepare_cpus()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | futex.h | 120 BUILD_BUG_ON(sizeof(atomic_t) != sizeof(int)); in futex_atomic_op_inuser()
|
/linux-4.4.14/drivers/sbus/char/ |
D | openprom.c | 202 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opromnext() 527 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opiocgetnext() 576 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in openprom_bsd_ioctl()
|
/linux-4.4.14/drivers/net/ |
D | mdio.c | 193 BUILD_BUG_ON(MDIO_SUPPORTS_C22 != ETH_MDIO_SUPPORTS_C22); in mdio45_ethtool_gset_npage() 194 BUILD_BUG_ON(MDIO_SUPPORTS_C45 != ETH_MDIO_SUPPORTS_C45); in mdio45_ethtool_gset_npage()
|
/linux-4.4.14/drivers/power/ |
D | test_power.c | 201 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_supplies)); in test_power_init() 202 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_configs)); in test_power_init()
|
D | max14577_charger.c | 444 BUILD_BUG_ON(ARRAY_SIZE(model_names) != MAXIM_DEVICE_TYPE_NUM); in max14577_charger_get_property() 608 BUILD_BUG_ON(MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN + in max14577_charger_probe()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo.c | 592 BUILD_BUG_ON(sizeof(response) != 1); in psb_intel_sdvo_get_trained_inputs() 640 BUILD_BUG_ON(sizeof(clocks) != 4); in psb_intel_sdvo_get_input_pixel_clock_range() 708 BUILD_BUG_ON(sizeof(dtd->part1) != 8); in psb_intel_sdvo_get_preferred_input_timing() 709 BUILD_BUG_ON(sizeof(dtd->part2) != 8); in psb_intel_sdvo_get_preferred_input_timing() 807 BUILD_BUG_ON(sizeof(encode) != 2); in psb_intel_sdvo_check_supp_encode() 901 BUILD_BUG_ON(sizeof(format) != 6); in psb_intel_sdvo_set_tv_format() 1188 BUILD_BUG_ON(sizeof(*caps) != 8); in psb_intel_sdvo_get_capabilities() 1559 BUILD_BUG_ON(sizeof(tv_res) != 3); in psb_intel_sdvo_get_tv_modes() 2259 BUILD_BUG_ON(sizeof(format) != 6); in psb_intel_sdvo_tv_create_property() 2450 BUILD_BUG_ON(sizeof(enhancements) != 2); in psb_intel_sdvo_create_enhance_property()
|
/linux-4.4.14/include/linux/mlx5/ |
D | device.h | 69 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \ 77 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \ 95 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \ 96 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
|
/linux-4.4.14/arch/sparc/net/ |
D | bpf_jit_comp.c | 211 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(void *)); \ 217 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u32)); \ 223 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u16)); \ 233 do { BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u8)); \
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_eld.c | 163 BUILD_BUG_ON(lowbit > 7); \ 164 BUILD_BUG_ON(bits > 8); \ 165 BUILD_BUG_ON(bits <= 0); \
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00reg.h | 218 BUILD_BUG_ON(!(__mask) || \
|
D | rt2x00queue.h | 129 BUILD_BUG_ON(sizeof(struct skb_frame_desc) > in get_skb_frame_desc()
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | md5-glue.c | 32 BUILD_BUG_ON(sizeof(struct md5_state) % 4); in ppc_md5_clear_context()
|
D | sha1-spe-glue.c | 59 BUILD_BUG_ON(sizeof(struct sha1_state) % 4); in ppc_sha1_clear_context()
|
/linux-4.4.14/drivers/bus/ |
D | arm-ccn.c | 1039 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL != CCN_SBAS_PMU_EVENT_SEL); in arm_ccn_pmu_node_event_config() 1040 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL != CCN_RNI_PMU_EVENT_SEL); in arm_ccn_pmu_node_event_config() 1041 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(1) != in arm_ccn_pmu_node_event_config() 1043 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__SHIFT(1) != in arm_ccn_pmu_node_event_config() 1045 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__MASK != in arm_ccn_pmu_node_event_config() 1047 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__MASK != in arm_ccn_pmu_node_event_config() 1141 BUILD_BUG_ON(CCN_IDX_PMU_CYCLE_COUNTER != CCN_NUM_PMU_EVENT_COUNTERS); in arm_ccn_pmu_overflow_handler()
|
/linux-4.4.14/arch/x86/net/ |
D | bpf_jit_comp.c | 239 BUILD_BUG_ON(cnt != PROLOGUE_SIZE); in emit_prologue() 312 BUILD_BUG_ON(cnt - label1 != OFFSET1); in emit_bpf_tail_call() 313 BUILD_BUG_ON(cnt - label2 != OFFSET2); in emit_bpf_tail_call() 314 BUILD_BUG_ON(cnt - label3 != OFFSET3); in emit_bpf_tail_call()
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
D | init.c | 148 BUILD_BUG_ON(sizeof(TYPE) != offsetofend(TYPE, MEMBER))
|
/linux-4.4.14/arch/arc/kernel/ |
D | unwind.c | 332 BUILD_BUG_ON(offsetof(typeof(*header), fde_count) in init_unwind_hdr() 336 BUILD_BUG_ON(offsetof(typeof(*header), table) in init_unwind_hdr() 566 BUILD_BUG_ON(sizeof(u64) != sizeof(value)); in read_pointer() 568 BUILD_BUG_ON(sizeof(u32) != sizeof(value)); in read_pointer() 576 BUILD_BUG_ON(sizeof(uleb128_t) > sizeof(value)); in read_pointer()
|
/linux-4.4.14/net/openvswitch/ |
D | flow_table.c | 424 BUILD_BUG_ON(sizeof(long) % sizeof(u32)); in flow_hash() 755 BUILD_BUG_ON(__alignof__(struct sw_flow_key) % __alignof__(long)); in ovs_flow_init() 756 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); in ovs_flow_init()
|
/linux-4.4.14/include/scsi/ |
D | fc_frame.h | 99 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb)); in fcoe_dev_from_skb()
|
/linux-4.4.14/net/netfilter/ |
D | xt_connlimit.c | 448 BUILD_BUG_ON(CONNLIMIT_LOCK_SLOTS > CONNLIMIT_SLOTS); in connlimit_mt_init() 449 BUILD_BUG_ON((CONNLIMIT_SLOTS % CONNLIMIT_LOCK_SLOTS) != 0); in connlimit_mt_init()
|
/linux-4.4.14/fs/afs/ |
D | dir.c | 219 BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); in afs_dir_open() 220 BUILD_BUG_ON(sizeof(union afs_dirent) != 32); in afs_dir_open() 405 BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); in afs_lookup_filldir() 406 BUILD_BUG_ON(sizeof(union afs_dirent) != 32); in afs_lookup_filldir()
|
/linux-4.4.14/net/bridge/ |
D | br.c | 192 BUILD_BUG_ON(sizeof(struct br_input_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); in br_init()
|
/linux-4.4.14/kernel/locking/ |
D | qspinlock_paravirt.h | 153 BUILD_BUG_ON(sizeof(struct pv_node) > 5*sizeof(struct mcs_spinlock)); in pv_init_node()
|
D | qspinlock.c | 287 BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS)); in queued_spin_lock_slowpath()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_isr.c | 168 BUILD_BUG_ON((ARRAY_SIZE(snic->wq) + SNIC_CQ_IO_CMPL_MAX) > in snic_set_intr_mode()
|
/linux-4.4.14/arch/powerpc/perf/req-gen/ |
D | perf.h | 77 BUILD_BUG_ON(offsetof(struct STRUCT_NAME(r_name), f_name) != f_offset);
|
/linux-4.4.14/fs/f2fs/ |
D | crypto_policy.c | 81 BUILD_BUG_ON(sizeof(ctx.nonce) != F2FS_KEY_DERIVATION_NONCE_SIZE); in f2fs_create_encryption_context_from_policy()
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_irq.c | 32 BUILD_BUG_ON(sizeof(struct uv_IO_APIC_route_entry) != in uv_program_mmr()
|
/linux-4.4.14/net/sched/ |
D | sch_mqprio.c | 101 BUILD_BUG_ON(TC_MAX_QUEUE != TC_QOPT_MAX_QUEUE); in mqprio_init() 102 BUILD_BUG_ON(TC_BITMASK != TC_QOPT_BITMASK); in mqprio_init()
|
/linux-4.4.14/drivers/spi/ |
D | spi-dln2.c | 432 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE); in dln2_spi_write_one() 465 BUILD_BUG_ON(sizeof(*rx) > DLN2_SPI_BUF_SIZE); in dln2_spi_read_one() 507 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE || in dln2_spi_read_write_one()
|
/linux-4.4.14/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 1055 BUILD_BUG_ON(sizeof(struct i596_rfd) != 32); in i82596_probe() 1056 BUILD_BUG_ON(sizeof(struct i596_rbd) & 31); in i82596_probe() 1057 BUILD_BUG_ON(sizeof(struct tx_cmd) & 31); in i82596_probe() 1058 BUILD_BUG_ON(sizeof(struct i596_tbd) != 32); in i82596_probe() 1060 BUILD_BUG_ON(sizeof(struct i596_dma) > 4096); in i82596_probe()
|
/linux-4.4.14/drivers/acpi/ |
D | nfit.c | 1870 BUILD_BUG_ON(sizeof(struct acpi_table_nfit) != 40); in nfit_init() 1871 BUILD_BUG_ON(sizeof(struct acpi_nfit_system_address) != 56); in nfit_init() 1872 BUILD_BUG_ON(sizeof(struct acpi_nfit_memory_map) != 48); in nfit_init() 1873 BUILD_BUG_ON(sizeof(struct acpi_nfit_interleave) != 20); in nfit_init() 1874 BUILD_BUG_ON(sizeof(struct acpi_nfit_smbios) != 9); in nfit_init() 1875 BUILD_BUG_ON(sizeof(struct acpi_nfit_control_region) != 80); in nfit_init() 1876 BUILD_BUG_ON(sizeof(struct acpi_nfit_data_region) != 40); in nfit_init()
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-ops.c | 915 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); in ccp_run_aes_cmac_cmd() 916 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); in ccp_run_aes_cmac_cmd() 1068 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); in ccp_run_aes_cmd() 1069 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); in ccp_run_aes_cmd() 1245 BUILD_BUG_ON(CCP_XTS_AES_KEY_KSB_COUNT != 1); in ccp_run_xts_aes_cmd() 1246 BUILD_BUG_ON(CCP_XTS_AES_CTX_KSB_COUNT != 1); in ccp_run_xts_aes_cmd() 1420 BUILD_BUG_ON(CCP_SHA_KSB_COUNT != 1); in ccp_run_sha_cmd() 1706 BUILD_BUG_ON(CCP_PASSTHRU_KSB_COUNT != 1); in ccp_run_passthru_cmd()
|
/linux-4.4.14/mm/ |
D | debug.c | 88 BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) != __NR_PAGEFLAGS); in dump_page_badflags()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | uaccess.h | 136 BUILD_BUG_ON(ptr_size >= 8); \
|
/linux-4.4.14/net/sctp/ |
D | probe.c | 208 BUILD_BUG_ON(__same_type(sctp_sf_eat_sack_6_2, in sctpprobe_init()
|
/linux-4.4.14/arch/arm/kernel/ |
D | kgdb.c | 248 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-4.4.14/drivers/auxdisplay/ |
D | cfag12864b.c | 340 BUILD_BUG_ON(PAGE_SIZE < CFAG12864B_SIZE); in cfag12864b_init()
|
/linux-4.4.14/include/xen/ |
D | grant_table.h | 233 BUILD_BUG_ON(sizeof(struct xen_page_foreign) > BITS_PER_LONG); in xen_page_foreign()
|
/linux-4.4.14/kernel/ |
D | tsacct.c | 37 BUILD_BUG_ON(TS_COMM_LEN < TASK_COMM_LEN); in bacct_add_tsk()
|
/linux-4.4.14/arch/arm/mm/ |
D | init.c | 552 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init() 557 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | core.h | 113 BUILD_BUG_ON(sizeof(struct ath10k_skb_cb) > in ATH10K_SKB_CB() 120 BUILD_BUG_ON(sizeof(struct ath10k_skb_rxcb) > sizeof(skb->cb)); in ATH10K_SKB_RXCB()
|
/linux-4.4.14/arch/x86/crypto/ |
D | poly1305_glue.c | 73 BUILD_BUG_ON(offsetof(struct poly1305_simd_desc_ctx, base)); in poly1305_simd_blocks()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | common-init.c | 130 BUILD_BUG_ON(ARRAY_SIZE(ath9k_2ghz_chantable) + in ath9k_cmn_init_channels_rates()
|
/linux-4.4.14/fs/ext4/ |
D | crypto_policy.c | 80 BUILD_BUG_ON(sizeof(ctx.nonce) != EXT4_KEY_DERIVATION_NONCE_SIZE); in ext4_create_encryption_context_from_policy()
|
/linux-4.4.14/net/wireless/ |
D | mesh.c | 104 BUILD_BUG_ON(IEEE80211_MAX_SSID_LEN != IEEE80211_MAX_MESH_ID_LEN); in __cfg80211_join_mesh()
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 340 BUILD_BUG_ON((unsigned long)__fix_to_virt(VSYSCALL_PAGE) != in map_vsyscall()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
D | tx.c | 522 BUILD_BUG_ON(IWL_HCMD_SCRATCHBUF_SIZE != sizeof(*txq->scratchbufs)); in iwl_pcie_txq_alloc() 523 BUILD_BUG_ON(offsetof(struct iwl_pcie_txq_scratch_buf, scratch) != in iwl_pcie_txq_alloc() 560 BUILD_BUG_ON(TFD_QUEUE_SIZE_MAX & (TFD_QUEUE_SIZE_MAX - 1)); in iwl_pcie_txq_init() 1352 BUILD_BUG_ON(IWL_MAX_CMD_TBS_PER_TFD > IWL_NUM_OF_TBS - 1); in iwl_pcie_enqueue_hcmd() 1556 BUILD_BUG_ON(IWL_NUM_OF_TBS + CMD_TB_BITMAP_POS > in iwl_pcie_enqueue_hcmd() 1887 BUILD_BUG_ON(sizeof(struct iwl_tx_cmd) < IWL_HCMD_SCRATCHBUF_SIZE); in iwl_trans_pcie_tx()
|