/linux-4.4.14/tools/testing/nvdimm/ |
H A D | config_check.c | 10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); check() 11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); check() 12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); check() 13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BLK)); check() 14 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); check()
|
/linux-4.4.14/tools/virtio/linux/ |
H A D | bug.h | 6 #define BUILD_BUG_ON(x) macro
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 11 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 17 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
H A D | pgtable-2level.h | 69 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)
|
H A D | pgtable_64.h | 147 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) pgd_large()
|
H A D | cmpxchg.h | 213 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 214 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
H A D | stackprotector.h | 66 BUILD_BUG_ON(offsetof(union irq_stack_union, stack_canary) != 40); boot_init_stack_canary()
|
H A D | pgtable-3level.h | 180 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > 5)
|
H A D | spinlock.h | 152 BUILD_BUG_ON(((__ticket_t)NR_CPUS) != NR_CPUS); arch_spin_unlock()
|
/linux-4.4.14/include/linux/ |
H A 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)); \
|
H A D | bug.h | 21 #define BUILD_BUG_ON(condition) (0) macro 27 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0)) 48 * See BUILD_BUG_ON for description. 53 * BUILD_BUG_ON - break compile if a condition is true. 57 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 71 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro 73 #define BUILD_BUG_ON(condition) \ macro 74 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
H A D | flex_array.h | 60 BUILD_BUG_ON((__total) > FLEX_ARRAY_NR_BASE_PTRS * \
|
H A D | virtio_config.h | 97 BUILD_BUG_ON(fbit >= 64); __virtio_test_bit() 114 BUILD_BUG_ON(fbit >= 64); __virtio_set_bit() 131 BUILD_BUG_ON(fbit >= 64); __virtio_clear_bit()
|
H A 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)); \
|
H A D | kmemcheck.h | 79 BUILD_BUG_ON(_n < 0); \
|
H A D | highmem.h | 126 BUILD_BUG_ON(__same_type((addr), struct page *)); \
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | mcdi_port.c | 43 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); efx_mcdi_get_phy_cfg() 44 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); efx_mcdi_get_phy_cfg() 84 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); efx_mcdi_set_link() 353 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); efx_mcdi_phy_probe() 380 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); efx_mcdi_phy_probe() 381 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); efx_mcdi_phy_probe() 382 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); efx_mcdi_phy_probe() 383 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); efx_mcdi_phy_probe() 384 BUILD_BUG_ON(LOOPBACK_XGXS != MC_CMD_LOOPBACK_XGXS); efx_mcdi_phy_probe() 385 BUILD_BUG_ON(LOOPBACK_XAUI != MC_CMD_LOOPBACK_XAUI); efx_mcdi_phy_probe() 386 BUILD_BUG_ON(LOOPBACK_GMII != MC_CMD_LOOPBACK_GMII); efx_mcdi_phy_probe() 387 BUILD_BUG_ON(LOOPBACK_SGMII != MC_CMD_LOOPBACK_SGMII); efx_mcdi_phy_probe() 388 BUILD_BUG_ON(LOOPBACK_XGBR != MC_CMD_LOOPBACK_XGBR); efx_mcdi_phy_probe() 389 BUILD_BUG_ON(LOOPBACK_XFI != MC_CMD_LOOPBACK_XFI); efx_mcdi_phy_probe() 390 BUILD_BUG_ON(LOOPBACK_XAUI_FAR != MC_CMD_LOOPBACK_XAUI_FAR); efx_mcdi_phy_probe() 391 BUILD_BUG_ON(LOOPBACK_GMII_FAR != MC_CMD_LOOPBACK_GMII_FAR); efx_mcdi_phy_probe() 392 BUILD_BUG_ON(LOOPBACK_SGMII_FAR != MC_CMD_LOOPBACK_SGMII_FAR); efx_mcdi_phy_probe() 393 BUILD_BUG_ON(LOOPBACK_XFI_FAR != MC_CMD_LOOPBACK_XFI_FAR); efx_mcdi_phy_probe() 394 BUILD_BUG_ON(LOOPBACK_GPHY != MC_CMD_LOOPBACK_GPHY); efx_mcdi_phy_probe() 395 BUILD_BUG_ON(LOOPBACK_PHYXS != MC_CMD_LOOPBACK_PHYXS); efx_mcdi_phy_probe() 396 BUILD_BUG_ON(LOOPBACK_PCS != MC_CMD_LOOPBACK_PCS); efx_mcdi_phy_probe() 397 BUILD_BUG_ON(LOOPBACK_PMAPMD != MC_CMD_LOOPBACK_PMAPMD); efx_mcdi_phy_probe() 398 BUILD_BUG_ON(LOOPBACK_XPORT != MC_CMD_LOOPBACK_XPORT); efx_mcdi_phy_probe() 399 BUILD_BUG_ON(LOOPBACK_XGMII_WS != MC_CMD_LOOPBACK_XGMII_WS); efx_mcdi_phy_probe() 400 BUILD_BUG_ON(LOOPBACK_XAUI_WS != MC_CMD_LOOPBACK_XAUI_WS); efx_mcdi_phy_probe() 401 BUILD_BUG_ON(LOOPBACK_XAUI_WS_FAR != MC_CMD_LOOPBACK_XAUI_WS_FAR); efx_mcdi_phy_probe() 402 BUILD_BUG_ON(LOOPBACK_XAUI_WS_NEAR != MC_CMD_LOOPBACK_XAUI_WS_NEAR); efx_mcdi_phy_probe() 403 BUILD_BUG_ON(LOOPBACK_GMII_WS != MC_CMD_LOOPBACK_GMII_WS); efx_mcdi_phy_probe() 404 BUILD_BUG_ON(LOOPBACK_XFI_WS != MC_CMD_LOOPBACK_XFI_WS); efx_mcdi_phy_probe() 405 BUILD_BUG_ON(LOOPBACK_XFI_WS_FAR != MC_CMD_LOOPBACK_XFI_WS_FAR); efx_mcdi_phy_probe() 406 BUILD_BUG_ON(LOOPBACK_PHYXS_WS != MC_CMD_LOOPBACK_PHYXS_WS); efx_mcdi_phy_probe() 482 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); efx_mcdi_phy_poll() 524 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); efx_mcdi_phy_get_settings() 583 BUILD_BUG_ON(MC_CMD_GET_PHY_STATE_IN_LEN != 0); efx_mcdi_phy_test_alive() 620 BUILD_BUG_ON(MC_CMD_START_BIST_OUT_LEN != 0); efx_mcdi_bist() 629 BUILD_BUG_ON(MC_CMD_POLL_BIST_IN_LEN != 0); efx_mcdi_bist() 751 BUILD_BUG_ON(SFP_PAGE_SIZE * SFP_NUM_PAGES != ETH_MODULE_SFF_8079_LEN); efx_mcdi_phy_get_module_eeprom() 866 BUILD_BUG_ON(MC_CMD_SET_MAC_OUT_LEN != 0); efx_mcdi_set_mac() 908 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); efx_mcdi_mac_check_fault() 937 BUILD_BUG_ON(MC_CMD_MAC_STATS_OUT_DMA_LEN != 0); efx_mcdi_mac_stats()
|
H A D | mcdi.c | 1161 BUILD_BUG_ON(MCDI_EVENT_TX_FLUSH_TO_DRIVER_LBN != efx_mcdi_process_event() 1195 BUILD_BUG_ON(MC_CMD_GET_VERSION_IN_LEN != 0); efx_mcdi_print_fwver() 1310 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_IN_LEN != 0); efx_mcdi_get_board_cfg() 1312 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0_OFST & 1); efx_mcdi_get_board_cfg() 1313 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1_OFST & 1); efx_mcdi_get_board_cfg() 1372 BUILD_BUG_ON(MC_CMD_LOG_CTRL_OUT_LEN != 0); efx_mcdi_log_ctrl() 1385 BUILD_BUG_ON(MC_CMD_NVRAM_TYPES_IN_LEN != 0); efx_mcdi_nvram_types() 1566 BUILD_BUG_ON(MC_CMD_REBOOT_OUT_LEN != 0); efx_mcdi_exit_assertion() 1595 BUILD_BUG_ON(EFX_LED_OFF != MC_CMD_LED_OFF); efx_mcdi_set_id_led() 1596 BUILD_BUG_ON(EFX_LED_ON != MC_CMD_LED_ON); efx_mcdi_set_id_led() 1597 BUILD_BUG_ON(EFX_LED_DEFAULT != MC_CMD_LED_DEFAULT); efx_mcdi_set_id_led() 1599 BUILD_BUG_ON(MC_CMD_SET_ID_LED_OUT_LEN != 0); efx_mcdi_set_id_led() 1612 BUILD_BUG_ON(MC_CMD_ENTITY_RESET_OUT_LEN != 0); efx_mcdi_reset_func() 1625 BUILD_BUG_ON(MC_CMD_REBOOT_OUT_LEN != 0); efx_mcdi_reset_mc() 1761 BUILD_BUG_ON(EFX_MAX_CHANNELS > efx_mcdi_flush_rxqs() 1801 BUILD_BUG_ON(MC_CMD_WORKAROUND_OUT_LEN != 0); efx_mcdi_set_workaround() 1865 BUILD_BUG_ON(MC_CMD_NVRAM_UPDATE_START_OUT_LEN != 0); efx_mcdi_nvram_update_start() 1906 BUILD_BUG_ON(MC_CMD_NVRAM_WRITE_OUT_LEN != 0); efx_mcdi_nvram_write() 1924 BUILD_BUG_ON(MC_CMD_NVRAM_ERASE_OUT_LEN != 0); efx_mcdi_nvram_erase() 1938 BUILD_BUG_ON(MC_CMD_NVRAM_UPDATE_FINISH_OUT_LEN != 0); efx_mcdi_nvram_update_finish()
|
H A D | ef10_sriov.c | 676 BUILD_BUG_ON(IFLA_VF_LINK_STATE_AUTO != efx_ef10_sriov_set_vf_link_state() 678 BUILD_BUG_ON(IFLA_VF_LINK_STATE_ENABLE != efx_ef10_sriov_set_vf_link_state() 680 BUILD_BUG_ON(IFLA_VF_LINK_STATE_DISABLE != efx_ef10_sriov_set_vf_link_state()
|
H A D | farch.c | 301 BUILD_BUG_ON(FRF_AZ_TX_DESC_LBN != 0); efx_farch_push_tx_desc() 302 BUILD_BUG_ON(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0); efx_farch_push_tx_desc() 337 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); efx_farch_tx_write() 404 BUILD_BUG_ON(EFX_MAX_TX_QUEUES > 128); efx_farch_tx_init() 807 BUILD_BUG_ON(FRF_AZ_DRV_EV_DATA_LBN != 0 || efx_farch_generate_event() 1665 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_indir_table) != efx_farch_rx_push_indir_table() 1755 BUILD_BUG_ON(TX_DC_ENTRIES != (8 << TX_DC_ENTRIES_ORDER)); efx_farch_init_common() 1762 BUILD_BUG_ON(RX_DC_ENTRIES != (8 << RX_DC_ENTRIES_ORDER)); efx_farch_init_common() 1935 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != efx_farch_filter_spec_table_id() 1937 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != efx_farch_filter_spec_table_id() 1939 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != efx_farch_filter_spec_table_id() 1941 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != efx_farch_filter_spec_table_id() 1943 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_MAC != efx_farch_filter_spec_table_id() 1945 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_MAC != efx_farch_filter_spec_table_id() 1947 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_TX_MAC != efx_farch_filter_spec_table_id() 2431 BUILD_BUG_ON(EFX_FARCH_FILTER_INDEX_UC_DEF != 0); efx_farch_filter_insert() 2432 BUILD_BUG_ON(EFX_FARCH_FILTER_INDEX_MC_DEF != efx_farch_filter_insert()
|
H A D | ef10.c | 161 BUILD_BUG_ON(MC_CMD_GET_CAPABILITIES_IN_LEN != 0); efx_ef10_init_datapath_caps() 219 BUILD_BUG_ON(MC_CMD_GET_MAC_ADDRESSES_IN_LEN != 0); efx_ef10_get_mac_address_pf() 312 BUILD_BUG_ON(MCDI_CTL_SDU_LEN_MAX_V2 % 4); efx_ef10_probe() 472 BUILD_BUG_ON(MC_CMD_FREE_PIOBUF_OUT_LEN != 0); efx_ef10_free_piobufs() 493 BUILD_BUG_ON(MC_CMD_ALLOC_PIOBUF_IN_LEN != 0); efx_ef10_alloc_piobufs() 528 BUILD_BUG_ON(MC_CMD_LINK_PIOBUF_OUT_LEN != 0); efx_ef10_link_piobufs() 529 BUILD_BUG_ON(MC_CMD_UNLINK_PIOBUF_OUT_LEN != 0); efx_ef10_link_piobufs() 1728 BUILD_BUG_ON(MC_CMD_TRIGGER_INTERRUPT_OUT_LEN != 0); efx_ef10_irq_test_generate() 1771 BUILD_BUG_ON(MC_CMD_INIT_TXQ_OUT_LEN != 0); efx_ef10_tx_init() 1888 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); efx_ef10_tx_write() 1976 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_indir_table) != efx_ef10_populate_rss_table() 1991 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_hash_key) != efx_ef10_populate_rss_table() 2146 BUILD_BUG_ON(MC_CMD_INIT_RXQ_OUT_LEN != 0); efx_ef10_rx_init() 2736 BUILD_BUG_ON(EFX_MIN_EVQ_SIZE < efx_ef10_ev_read_ack() 2738 BUILD_BUG_ON(EFX_MAX_EVQ_SIZE > efx_ef10_ev_read_ack() 2862 BUILD_BUG_ON(offsetof(struct efx_filter_spec, outer_vid) & 3); efx_ef10_filter_hash() 2954 BUILD_BUG_ON( \ efx_ef10_filter_push_prep() 4499 BUILD_BUG_ON(MC_CMD_NVRAM_PARTITIONS_IN_LEN != 0); efx_ef10_mtd_probe()
|
H A D | mdio_10g.c | 289 BUILD_BUG_ON(EFX_FC_AUTO & (EFX_FC_RX | EFX_FC_TX)); efx_mdio_get_pause()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | head64.c | 149 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); x86_64_start_kernel() 150 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); x86_64_start_kernel() 151 BUILD_BUG_ON(MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE); x86_64_start_kernel() 152 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); x86_64_start_kernel() 153 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); x86_64_start_kernel() 154 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); x86_64_start_kernel() 155 BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == x86_64_start_kernel() 157 BUILD_BUG_ON(__fix_to_virt(__end_of_fixed_addresses) <= MODULES_END); x86_64_start_kernel()
|
H A D | kvmclock.c | 115 BUILD_BUG_ON(sizeof(kvm_sched_clock_offset) > kvm_sched_clock_init()
|
H A D | ldt.c | 49 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); alloc_ldt_struct()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 31 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 62 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
H A D | smp.c | 77 BUILD_BUG_ON(PPC_MSG_CALL_FUNCTION != 0); ps3_smp_probe() 78 BUILD_BUG_ON(PPC_MSG_RESCHEDULE != 1); ps3_smp_probe() 79 BUILD_BUG_ON(PPC_MSG_TICK_BROADCAST != 2); ps3_smp_probe() 80 BUILD_BUG_ON(PPC_MSG_DEBUGGER_BREAK != 3); ps3_smp_probe()
|
H A D | os-area.c | 593 BUILD_BUG_ON(sizeof(struct db_index) != 1); os_area_db_init() 594 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); os_area_db_init() 595 BUILD_BUG_ON(INDEX_64_COUNT & 0x7); os_area_db_init() 596 BUILD_BUG_ON(VALUES_64_COUNT > INDEX_64_COUNT); os_area_db_init() 597 BUILD_BUG_ON(INDEX_32_COUNT & 0x7); os_area_db_init() 598 BUILD_BUG_ON(VALUES_32_COUNT > INDEX_32_COUNT); os_area_db_init() 599 BUILD_BUG_ON(INDEX_16_COUNT & 0x7); os_area_db_init() 600 BUILD_BUG_ON(VALUES_16_COUNT > INDEX_16_COUNT); os_area_db_init() 601 BUILD_BUG_ON(HEADER_SIZE os_area_db_init()
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | mc146818rtc.h | 10 #define RTC_IRQ BUILD_BUG_ON(1)
|
/linux-4.4.14/drivers/virtio/ |
H A D | virtio_pci_modern.c | 541 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != check_offsets() 543 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != check_offsets() 545 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != check_offsets() 547 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != check_offsets() 549 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != check_offsets() 551 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != check_offsets() 553 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != check_offsets() 555 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != check_offsets() 558 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != check_offsets() 561 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != check_offsets() 563 BUILD_BUG_ON(VIRTIO_PCI_COMMON_GFSELECT != check_offsets() 566 BUILD_BUG_ON(VIRTIO_PCI_COMMON_GF != check_offsets() 568 BUILD_BUG_ON(VIRTIO_PCI_COMMON_MSIX != check_offsets() 570 BUILD_BUG_ON(VIRTIO_PCI_COMMON_NUMQ != check_offsets() 572 BUILD_BUG_ON(VIRTIO_PCI_COMMON_STATUS != check_offsets() 574 BUILD_BUG_ON(VIRTIO_PCI_COMMON_CFGGENERATION != check_offsets() 576 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_SELECT != check_offsets() 578 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_SIZE != check_offsets() 580 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_MSIX != check_offsets() 582 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_ENABLE != check_offsets() 584 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_NOFF != check_offsets() 586 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_DESCLO != check_offsets() 588 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_DESCHI != check_offsets() 590 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_AVAILLO != check_offsets() 592 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_AVAILHI != check_offsets() 594 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_USEDLO != check_offsets() 596 BUILD_BUG_ON(VIRTIO_PCI_COMMON_Q_USEDHI != check_offsets()
|
/linux-4.4.14/fs/notify/fanotify/ |
H A D | fanotify.c | 198 BUILD_BUG_ON(FAN_ACCESS != FS_ACCESS); fanotify_handle_event() 199 BUILD_BUG_ON(FAN_MODIFY != FS_MODIFY); fanotify_handle_event() 200 BUILD_BUG_ON(FAN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); fanotify_handle_event() 201 BUILD_BUG_ON(FAN_CLOSE_WRITE != FS_CLOSE_WRITE); fanotify_handle_event() 202 BUILD_BUG_ON(FAN_OPEN != FS_OPEN); fanotify_handle_event() 203 BUILD_BUG_ON(FAN_EVENT_ON_CHILD != FS_EVENT_ON_CHILD); fanotify_handle_event() 204 BUILD_BUG_ON(FAN_Q_OVERFLOW != FS_Q_OVERFLOW); fanotify_handle_event() 205 BUILD_BUG_ON(FAN_OPEN_PERM != FS_OPEN_PERM); fanotify_handle_event() 206 BUILD_BUG_ON(FAN_ACCESS_PERM != FS_ACCESS_PERM); fanotify_handle_event() 207 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); fanotify_handle_event()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | tables.c | 355 BUILD_BUG_ON(B43_TAB_ROTOR_SIZE != ARRAY_SIZE(b43_tab_rotor)); assert_sizes() 356 BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard)); assert_sizes() 357 BUILD_BUG_ON(B43_TAB_FINEFREQA_SIZE != ARRAY_SIZE(b43_tab_finefreqa)); assert_sizes() 358 BUILD_BUG_ON(B43_TAB_FINEFREQG_SIZE != ARRAY_SIZE(b43_tab_finefreqg)); assert_sizes() 359 BUILD_BUG_ON(B43_TAB_NOISEA2_SIZE != ARRAY_SIZE(b43_tab_noisea2)); assert_sizes() 360 BUILD_BUG_ON(B43_TAB_NOISEA3_SIZE != ARRAY_SIZE(b43_tab_noisea3)); assert_sizes() 361 BUILD_BUG_ON(B43_TAB_NOISEG1_SIZE != ARRAY_SIZE(b43_tab_noiseg1)); assert_sizes() 362 BUILD_BUG_ON(B43_TAB_NOISEG2_SIZE != ARRAY_SIZE(b43_tab_noiseg2)); assert_sizes() 363 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != assert_sizes() 365 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != assert_sizes() 367 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != assert_sizes() 369 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != assert_sizes() 371 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != assert_sizes() 373 BUILD_BUG_ON(B43_TAB_SIGMASQR_SIZE != ARRAY_SIZE(b43_tab_sigmasqr1)); assert_sizes() 374 BUILD_BUG_ON(B43_TAB_SIGMASQR_SIZE != ARRAY_SIZE(b43_tab_sigmasqr2)); assert_sizes() 375 BUILD_BUG_ON(B43_TAB_RSSIAGC1_SIZE != ARRAY_SIZE(b43_tab_rssiagc1)); assert_sizes() 376 BUILD_BUG_ON(B43_TAB_RSSIAGC2_SIZE != ARRAY_SIZE(b43_tab_rssiagc2)); assert_sizes()
|
H A D | pio.c | 347 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 2); tx_write_2byte_queue() 401 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 4); tx_write_4byte_queue() 471 BUILD_BUG_ON(sizeof(wl->pio_scratchspace) < sizeof(struct b43_txhdr)); pio_tx_frame() 622 BUILD_BUG_ON(sizeof(wl->pio_scratchspace) < sizeof(*rxhdr)); pio_rx_frame() 723 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 4); pio_rx_frame() 750 BUILD_BUG_ON(sizeof(wl->pio_tailspace) < 2); pio_rx_frame()
|
H A D | ppr.c | 31 BUILD_BUG_ON(sizeof(struct b43_ppr) != B43_PPR_RATES_NUM * sizeof(u8)); b43_ppr_clear()
|
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/ |
H A D | kernel.h | 22 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | cmpxchg.h | 57 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 58 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
H A 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));\
|
H A D | compat.h | 13 BUILD_BUG_ON(sizeof(t) > 4 && !__TYPE_IS_PTR(t)); \
|
H A D | processor.h | 313 BUILD_BUG_ON(sizeof(__tmp) != sizeof(val)); \
|
/linux-4.4.14/fs/notify/inotify/ |
H A D | inotify_user.c | 675 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); SYSCALL_DEFINE1() 676 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); SYSCALL_DEFINE1() 798 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); inotify_user_setup() 799 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); inotify_user_setup() 800 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); inotify_user_setup() 801 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); inotify_user_setup() 802 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); inotify_user_setup() 803 BUILD_BUG_ON(IN_OPEN != FS_OPEN); inotify_user_setup() 804 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); inotify_user_setup() 805 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); inotify_user_setup() 806 BUILD_BUG_ON(IN_CREATE != FS_CREATE); inotify_user_setup() 807 BUILD_BUG_ON(IN_DELETE != FS_DELETE); inotify_user_setup() 808 BUILD_BUG_ON(IN_DELETE_SELF != FS_DELETE_SELF); inotify_user_setup() 809 BUILD_BUG_ON(IN_MOVE_SELF != FS_MOVE_SELF); inotify_user_setup() 810 BUILD_BUG_ON(IN_UNMOUNT != FS_UNMOUNT); inotify_user_setup() 811 BUILD_BUG_ON(IN_Q_OVERFLOW != FS_Q_OVERFLOW); inotify_user_setup() 812 BUILD_BUG_ON(IN_IGNORED != FS_IN_IGNORED); inotify_user_setup() 813 BUILD_BUG_ON(IN_EXCL_UNLINK != FS_EXCL_UNLINK); inotify_user_setup() 814 BUILD_BUG_ON(IN_ISDIR != FS_ISDIR); inotify_user_setup() 815 BUILD_BUG_ON(IN_ONESHOT != FS_IN_ONESHOT); inotify_user_setup()
|
/linux-4.4.14/drivers/xen/ |
H A D | efi.c | 49 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); xen_efi_get_time() 67 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); xen_efi_set_time() 86 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); xen_efi_get_wakeup_time() 103 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); xen_efi_set_wakeup_time() 126 BUILD_BUG_ON(sizeof(*vendor) != xen_efi_get_variable() 150 BUILD_BUG_ON(sizeof(*vendor) != xen_efi_get_next_variable() 175 BUILD_BUG_ON(sizeof(*vendor) != xen_efi_set_variable()
|
H A D | balloon.c | 333 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); reserve_additional_memory() 455 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); increase_reservation() 533 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); decrease_reservation() 660 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); alloc_xenballooned_pages()
|
H A D | xen-acpi-processor.c | 148 BUILD_BUG_ON(sizeof(struct xen_processor_px) != xen_copy_pss_data() 169 BUILD_BUG_ON(sizeof(struct xen_psd_package) != xen_copy_psd_data()
|
/linux-4.4.14/drivers/soc/tegra/fuse/ |
H A D | speedo-tegra124.c | 118 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != tegra124_init_speedo_data() 120 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != tegra124_init_speedo_data() 122 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != tegra124_init_speedo_data()
|
H A D | speedo-tegra210.c | 120 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != tegra210_init_speedo_data() 122 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != tegra210_init_speedo_data() 124 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != tegra210_init_speedo_data()
|
H A D | speedo-tegra114.c | 91 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != tegra114_init_speedo_data() 93 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != tegra114_init_speedo_data()
|
H A D | speedo-tegra20.c | 71 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != SPEEDO_ID_COUNT); tegra20_init_speedo_data() 72 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != SPEEDO_ID_COUNT); tegra20_init_speedo_data()
|
H A D | speedo-tegra30.c | 252 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != tegra30_init_speedo_data() 254 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) != tegra30_init_speedo_data()
|
/linux-4.4.14/include/xen/ |
H A D | page.h | 14 * XXX: Add a BUILD_BUG_ON?
|
/linux-4.4.14/arch/powerpc/perf/ |
H A D | hv-common.h | 36 BUILD_BUG_ON((bit_start > bit_end) \
|
/linux-4.4.14/drivers/nvme/host/ |
H A D | lightnvm.c | 222 BUILD_BUG_ON(sizeof(struct nvme_nvm_identity) != 64); _nvme_nvm_check_size() 223 BUILD_BUG_ON(sizeof(struct nvme_nvm_hb_rw) != 64); _nvme_nvm_check_size() 224 BUILD_BUG_ON(sizeof(struct nvme_nvm_ph_rw) != 64); _nvme_nvm_check_size() 225 BUILD_BUG_ON(sizeof(struct nvme_nvm_getbbtbl) != 64); _nvme_nvm_check_size() 226 BUILD_BUG_ON(sizeof(struct nvme_nvm_setbbtbl) != 64); _nvme_nvm_check_size() 227 BUILD_BUG_ON(sizeof(struct nvme_nvm_l2ptbl) != 64); _nvme_nvm_check_size() 228 BUILD_BUG_ON(sizeof(struct nvme_nvm_erase_blk) != 64); _nvme_nvm_check_size() 229 BUILD_BUG_ON(sizeof(struct nvme_nvm_id_group) != 960); _nvme_nvm_check_size() 230 BUILD_BUG_ON(sizeof(struct nvme_nvm_addr_format) != 128); _nvme_nvm_check_size() 231 BUILD_BUG_ON(sizeof(struct nvme_nvm_id) != 4096); _nvme_nvm_check_size() 232 BUILD_BUG_ON(sizeof(struct nvme_nvm_bb_tbl) != 512); _nvme_nvm_check_size()
|
H A D | pci.c | 137 BUILD_BUG_ON(sizeof(struct nvme_rw_command) != 64); _nvme_check_size() 138 BUILD_BUG_ON(sizeof(struct nvme_create_cq) != 64); _nvme_check_size() 139 BUILD_BUG_ON(sizeof(struct nvme_create_sq) != 64); _nvme_check_size() 140 BUILD_BUG_ON(sizeof(struct nvme_delete_queue) != 64); _nvme_check_size() 141 BUILD_BUG_ON(sizeof(struct nvme_features) != 64); _nvme_check_size() 142 BUILD_BUG_ON(sizeof(struct nvme_format_cmd) != 64); _nvme_check_size() 143 BUILD_BUG_ON(sizeof(struct nvme_abort_cmd) != 64); _nvme_check_size() 144 BUILD_BUG_ON(sizeof(struct nvme_command) != 64); _nvme_check_size() 145 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != 4096); _nvme_check_size() 146 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != 4096); _nvme_check_size() 147 BUILD_BUG_ON(sizeof(struct nvme_lba_range_type) != 64); _nvme_check_size() 148 BUILD_BUG_ON(sizeof(struct nvme_smart_log) != 512); _nvme_check_size()
|
/linux-4.4.14/drivers/net/wireless/prism54/ |
H A D | isl_oid.h | 106 BUILD_BUG_ON(sizeof (struct obj_ssid) != 34); __bug_on_wrong_struct_sizes() 107 BUILD_BUG_ON(sizeof (struct obj_key) != 34); __bug_on_wrong_struct_sizes() 108 BUILD_BUG_ON(sizeof (struct obj_mlme) != 12); __bug_on_wrong_struct_sizes() 109 BUILD_BUG_ON(sizeof (struct obj_mlmeex) != 14); __bug_on_wrong_struct_sizes() 110 BUILD_BUG_ON(sizeof (struct obj_buffer) != 8); __bug_on_wrong_struct_sizes() 111 BUILD_BUG_ON(sizeof (struct obj_bss) != 60); __bug_on_wrong_struct_sizes() 112 BUILD_BUG_ON(sizeof (struct obj_bsslist) != 4); __bug_on_wrong_struct_sizes() 113 BUILD_BUG_ON(sizeof (struct obj_frequencies) != 2); __bug_on_wrong_struct_sizes()
|
/linux-4.4.14/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 119 BUILD_BUG_ON(SUPPORTED_10baseT_Half != ADVERTISED_10baseT_Half); alx_get_supported_speeds() 120 BUILD_BUG_ON(SUPPORTED_10baseT_Full != ADVERTISED_10baseT_Full); alx_get_supported_speeds() 121 BUILD_BUG_ON(SUPPORTED_100baseT_Half != ADVERTISED_100baseT_Half); alx_get_supported_speeds() 122 BUILD_BUG_ON(SUPPORTED_100baseT_Full != ADVERTISED_100baseT_Full); alx_get_supported_speeds() 123 BUILD_BUG_ON(SUPPORTED_1000baseT_Full != ADVERTISED_1000baseT_Full); alx_get_supported_speeds() 273 BUILD_BUG_ON(sizeof(hw->stats) - offsetof(struct alx_hw_stats, rx_ok) < alx_get_ethtool_stats()
|
/linux-4.4.14/drivers/edac/ |
H A D | cell_edac.c | 256 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init() 258 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init() 260 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init() 262 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init() 264 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init() 266 BUILD_BUG_ON(offsetof(struct cbe_mic_tm_regs, cell_edac_init()
|
/linux-4.4.14/drivers/nvdimm/ |
H A D | claim.c | 191 BUILD_BUG_ON(sizeof(struct btt_sb) != SZ_4K); nd_sb_checksum() 192 BUILD_BUG_ON(sizeof(struct nd_pfn_sb) != SZ_4K); nd_sb_checksum() 193 BUILD_BUG_ON(sizeof(struct nd_gen_sb) != SZ_4K); nd_sb_checksum()
|
/linux-4.4.14/arch/arc/mm/ |
H A D | highmem.c | 133 BUILD_BUG_ON(PAGE_OFFSET < (VMALLOC_END + FIXMAP_SIZE + PKMAP_SIZE)); kmap_init() 135 BUILD_BUG_ON(KM_TYPE_NR > PTRS_PER_PTE); kmap_init() 138 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); kmap_init()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | cmpxchg.h | 135 BUILD_BUG_ON(sizeof(*(ptr)) & ~0xc); \ 233 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 239 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/parisc/mm/ |
H A D | init.c | 590 BUILD_BUG_ON(sizeof(struct ipc64_perm) != 48); mem_init() 592 BUILD_BUG_ON(sizeof(struct semid64_ds) != 80); mem_init() 593 BUILD_BUG_ON(sizeof(struct msqid64_ds) != 104); mem_init() 594 BUILD_BUG_ON(sizeof(struct shmid64_ds) != 104); mem_init() 597 BUILD_BUG_ON(sizeof(struct compat_ipc64_perm) != sizeof(struct ipc64_perm)); mem_init() 598 BUILD_BUG_ON(sizeof(struct compat_semid64_ds) != 80); mem_init() 599 BUILD_BUG_ON(sizeof(struct compat_msqid64_ds) != 104); mem_init() 600 BUILD_BUG_ON(sizeof(struct compat_shmid64_ds) != 104); mem_init() 604 BUILD_BUG_ON(PTE_ENTRY_SIZE != sizeof(pte_t)); mem_init() 605 BUILD_BUG_ON(PMD_ENTRY_SIZE != sizeof(pmd_t)); mem_init() 606 BUILD_BUG_ON(PGD_ENTRY_SIZE != sizeof(pgd_t)); mem_init() 607 BUILD_BUG_ON(PAGE_SHIFT + BITS_PER_PTE + BITS_PER_PMD + BITS_PER_PGD mem_init()
|
H A D | hugetlbpage.c | 102 BUILD_BUG_ON(REAL_HPAGE_SHIFT > HPAGE_SHIFT); purge_tlb_entries_huge()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | kasan_init.c | 93 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != KASAN_SHADOW_END - (1UL << 61)); kasan_early_init() 94 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); kasan_early_init() 95 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); kasan_early_init()
|
H A D | init.c | 344 BUILD_BUG_ON(TASK_SIZE_32 > TASK_SIZE_64); mem_init() 346 BUILD_BUG_ON(TASK_SIZE_64 > MODULES_VADDR); mem_init()
|
H A D | mmu.c | 608 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) early_fixmap_init() 659 BUILD_BUG_ON(MIN_FDT_ALIGN < 8); fixmap_remap_fdt() 673 BUILD_BUG_ON(dt_virt_base % SZ_2M); fixmap_remap_fdt() 675 BUILD_BUG_ON(__fix_to_virt(FIX_FDT_END) >> SWAPPER_TABLE_SHIFT != fixmap_remap_fdt()
|
/linux-4.4.14/security/selinux/ |
H A D | nlmsgtab.c | 157 BUILD_BUG_ON(RTM_MAX != (RTM_NEWNSID + 3)); selinux_nlmsg_lookup() 168 BUILD_BUG_ON(XFRM_MSG_MAX != XFRM_MSG_MAPPING); selinux_nlmsg_lookup()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | timing.h | 52 /* The BUILD_BUG_ON below breaks in funny ways, commented out kvmppc_account_exit_stat() 54 BUILD_BUG_ON(!__builtin_constant_p(type)); kvmppc_account_exit_stat()
|
/linux-4.4.14/fs/ubifs/ |
H A D | super.c | 2192 BUILD_BUG_ON(sizeof(struct ubifs_ch) != 24); ubifs_init() 2195 BUILD_BUG_ON(UBIFS_CH_SZ & 7); ubifs_init() 2196 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); ubifs_init() 2197 BUILD_BUG_ON(UBIFS_DENT_NODE_SZ & 7); ubifs_init() 2198 BUILD_BUG_ON(UBIFS_XENT_NODE_SZ & 7); ubifs_init() 2199 BUILD_BUG_ON(UBIFS_DATA_NODE_SZ & 7); ubifs_init() 2200 BUILD_BUG_ON(UBIFS_TRUN_NODE_SZ & 7); ubifs_init() 2201 BUILD_BUG_ON(UBIFS_SB_NODE_SZ & 7); ubifs_init() 2202 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); ubifs_init() 2203 BUILD_BUG_ON(UBIFS_REF_NODE_SZ & 7); ubifs_init() 2204 BUILD_BUG_ON(UBIFS_CS_NODE_SZ & 7); ubifs_init() 2205 BUILD_BUG_ON(UBIFS_ORPH_NODE_SZ & 7); ubifs_init() 2207 BUILD_BUG_ON(UBIFS_MAX_DENT_NODE_SZ & 7); ubifs_init() 2208 BUILD_BUG_ON(UBIFS_MAX_XENT_NODE_SZ & 7); ubifs_init() 2209 BUILD_BUG_ON(UBIFS_MAX_DATA_NODE_SZ & 7); ubifs_init() 2210 BUILD_BUG_ON(UBIFS_MAX_INO_NODE_SZ & 7); ubifs_init() 2211 BUILD_BUG_ON(UBIFS_MAX_NODE_SZ & 7); ubifs_init() 2212 BUILD_BUG_ON(MIN_WRITE_SZ & 7); ubifs_init() 2215 BUILD_BUG_ON(UBIFS_INO_NODE_SZ < MIN_WRITE_SZ); ubifs_init() 2216 BUILD_BUG_ON(UBIFS_DENT_NODE_SZ < MIN_WRITE_SZ); ubifs_init() 2217 BUILD_BUG_ON(UBIFS_XENT_NODE_SZ < MIN_WRITE_SZ); ubifs_init() 2218 BUILD_BUG_ON(UBIFS_TRUN_NODE_SZ < MIN_WRITE_SZ); ubifs_init() 2220 BUILD_BUG_ON(UBIFS_MAX_DENT_NODE_SZ > UBIFS_MAX_NODE_SZ); ubifs_init() 2221 BUILD_BUG_ON(UBIFS_MAX_XENT_NODE_SZ > UBIFS_MAX_NODE_SZ); ubifs_init() 2222 BUILD_BUG_ON(UBIFS_MAX_DATA_NODE_SZ > UBIFS_MAX_NODE_SZ); ubifs_init() 2223 BUILD_BUG_ON(UBIFS_MAX_INO_NODE_SZ > UBIFS_MAX_NODE_SZ); ubifs_init() 2226 BUILD_BUG_ON(UBIFS_SB_NODE_SZ != 4096); ubifs_init() 2227 BUILD_BUG_ON(UBIFS_MST_NODE_SZ != 512); ubifs_init() 2228 BUILD_BUG_ON(UBIFS_INO_NODE_SZ != 160); ubifs_init() 2229 BUILD_BUG_ON(UBIFS_REF_NODE_SZ != 64); ubifs_init() 2237 BUILD_BUG_ON(UBIFS_COMPR_TYPES_CNT > 4); ubifs_init()
|
/linux-4.4.14/fs/jffs2/ |
H A D | super.c | 373 BUILD_BUG_ON(sizeof(struct jffs2_unknown_node) != 12); init_jffs2_fs() 374 BUILD_BUG_ON(sizeof(struct jffs2_raw_dirent) != 40); init_jffs2_fs() 375 BUILD_BUG_ON(sizeof(struct jffs2_raw_inode) != 68); init_jffs2_fs() 376 BUILD_BUG_ON(sizeof(struct jffs2_raw_summary) != 32); init_jffs2_fs()
|
/linux-4.4.14/net/batman-adv/ |
H A D | main.c | 466 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); batadv_recv_handler_init() 467 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); batadv_recv_handler_init() 468 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); batadv_recv_handler_init() 469 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); batadv_recv_handler_init() 470 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116); batadv_recv_handler_init() 471 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); batadv_recv_handler_init() 472 BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18); batadv_recv_handler_init() 473 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); batadv_recv_handler_init() 474 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); batadv_recv_handler_init() 475 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); batadv_recv_handler_init() 476 BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20); batadv_recv_handler_init() 477 BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4); batadv_recv_handler_init() 478 BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8); batadv_recv_handler_init() 479 BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8); batadv_recv_handler_init() 480 BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12); batadv_recv_handler_init() 481 BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8); batadv_recv_handler_init()
|
/linux-4.4.14/include/net/ |
H A D | garp.h | 38 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > garp_cb()
|
H A D | mrp.h | 40 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > mrp_cb()
|
H A D | flow.h | 203 BUILD_BUG_ON(sizeof(struct flowi4) % sizeof(flow_compare_t)); flow_key_size() 206 BUILD_BUG_ON(sizeof(struct flowi6) % sizeof(flow_compare_t)); flow_key_size() 209 BUILD_BUG_ON(sizeof(struct flowidn) % sizeof(flow_compare_t)); flow_key_size()
|
H A D | 6lowpan.h | 121 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(skb->cb)); lowpan_802154_cb()
|
H A D | ieee802154_netdev.h | 231 BUILD_BUG_ON(sizeof(struct ieee802154_mac_cb) > sizeof(skb->cb)); mac_cb_init()
|
H A D | ip6_fib.h | 182 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); ip6_rt_put()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A 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/mfd/ |
H A D | max14577.c | 545 BUILD_BUG_ON(ARRAY_SIZE(max14577_i2c_id) != MAXIM_DEVICE_TYPE_NUM); max14577_i2c_init() 546 BUILD_BUG_ON(ARRAY_SIZE(max14577_dt_match) != MAXIM_DEVICE_TYPE_NUM); max14577_i2c_init() 549 BUILD_BUG_ON(ARRAY_SIZE(maxim_charger_currents) != MAXIM_DEVICE_TYPE_NUM); max14577_i2c_init() 552 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_START + max14577_i2c_init() 555 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); max14577_i2c_init() 557 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_START + max14577_i2c_init() 560 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); max14577_i2c_init()
|
H A D | sec-irq.c | 491 BUILD_BUG_ON(((enum s2mps14_irq)S2MPS11_IRQ_RTCA0) != S2MPS14_IRQ_RTCA0); sec_irq_init()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 528 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_SHADERRESOURCE_VIEW != vmw_so_build_asserts() 530 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW != vmw_so_build_asserts() 532 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_RENDERTARGET_VIEW != vmw_so_build_asserts() 534 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_DEPTHSTENCIL_VIEW != vmw_so_build_asserts() 536 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_DEPTHSTENCIL_VIEW != vmw_so_build_asserts() 540 BUILD_BUG_ON(sizeof(union vmw_view_destroy) != sizeof(u32)); vmw_so_build_asserts() 543 BUILD_BUG_ON(SVGA_COTABLE_MAX_IDS >= ((1 << 20) - 1)); vmw_so_build_asserts() 549 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != vmw_so_build_asserts() 551 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != vmw_so_build_asserts() 553 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != vmw_so_build_asserts()
|
H A D | vmwgfx_binding.c | 1274 BUILD_BUG_ON(SVGA3D_NUM_SHADERTYPE_DX10 != 3); vmw_binding_build_asserts() 1275 BUILD_BUG_ON(SVGA3D_MAX_SIMULTANEOUS_RENDER_TARGETS > SVGA3D_RT_MAX); vmw_binding_build_asserts() 1276 BUILD_BUG_ON(sizeof(uint32) != sizeof(u32)); vmw_binding_build_asserts() 1282 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_RT_MAX); vmw_binding_build_asserts() 1283 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_DX_MAX_SRVIEWS); vmw_binding_build_asserts() 1284 BUILD_BUG_ON(VMW_MAX_VIEW_BINDINGS < SVGA3D_DX_MAX_CONSTBUFFERS); vmw_binding_build_asserts() 1290 BUILD_BUG_ON(SVGA3D_DX_MAX_SOTARGETS*sizeof(SVGA3dSoTarget) > vmw_binding_build_asserts() 1292 BUILD_BUG_ON(SVGA3D_DX_MAX_VERTEXBUFFERS*sizeof(SVGA3dVertexBuffer) > vmw_binding_build_asserts()
|
/linux-4.4.14/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 329 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); bpf_jit_build_body() 338 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, bpf_jit_build_body() 345 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, bpf_jit_build_body() 347 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, bpf_jit_build_body() 370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); bpf_jit_build_body() 375 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); bpf_jit_build_body() 381 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); bpf_jit_build_body() 382 BUILD_BUG_ON(VLAN_TAG_PRESENT != 0x1000); bpf_jit_build_body() 394 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, bpf_jit_build_body()
|
H A 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/drivers/misc/cxl/ |
H A D | file.c | 550 BUILD_BUG_ON(CXL_API_VERSION != 2); cxl_file_init() 551 BUILD_BUG_ON(sizeof(struct cxl_ioctl_start_work) != 64); cxl_file_init() 552 BUILD_BUG_ON(sizeof(struct cxl_event_header) != 8); cxl_file_init() 553 BUILD_BUG_ON(sizeof(struct cxl_event_afu_interrupt) != 8); cxl_file_init() 554 BUILD_BUG_ON(sizeof(struct cxl_event_data_storage) != 32); cxl_file_init() 555 BUILD_BUG_ON(sizeof(struct cxl_event_afu_error) != 16); cxl_file_init()
|
/linux-4.4.14/net/core/ |
H A D | filter.c | 159 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); convert_skb_access() 174 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); convert_skb_access() 182 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); convert_skb_access() 183 BUILD_BUG_ON(VLAN_TAG_PRESENT != 0x1000); convert_skb_access() 211 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); convert_bpf_extensions() 227 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); convert_bpf_extensions() 228 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); convert_bpf_extensions() 229 BUILD_BUG_ON(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)) < 0); convert_bpf_extensions() 251 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); convert_bpf_extensions() 275 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); convert_bpf_extensions() 367 BUILD_BUG_ON(BPF_MEMWORDS * sizeof(u32) > MAX_BPF_STACK); bpf_convert_filter() 368 BUILD_BUG_ON(BPF_REG_FP + 1 != MAX_BPF_REG); bpf_convert_filter() 627 BUILD_BUG_ON(BPF_MEMWORDS > 16); check_load_and_stores() 944 BUILD_BUG_ON(sizeof(struct sock_filter) != bpf_migrate_filter() 1758 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); bpf_net_convert_ctx_access() 1765 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); bpf_net_convert_ctx_access() 1772 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); bpf_net_convert_ctx_access() 1779 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, priority) != 4); bpf_net_convert_ctx_access() 1790 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, skb_iif) != 4); bpf_net_convert_ctx_access() 1797 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); bpf_net_convert_ctx_access() 1808 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); bpf_net_convert_ctx_access() 1815 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); bpf_net_convert_ctx_access() 1841 BUILD_BUG_ON(FIELD_SIZEOF(struct qdisc_skb_cb, data) < 20); bpf_net_convert_ctx_access() 1863 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, tc_index) != 2); bpf_net_convert_ctx_access()
|
H A D | flow_dissector.c | 520 BUILD_BUG_ON(FLOW_KEYS_HASH_OFFSET % sizeof(u32)); flow_keys_hash_start() 527 BUILD_BUG_ON((sizeof(*flow) - FLOW_KEYS_HASH_OFFSET) % sizeof(u32)); flow_keys_hash_length() 528 BUILD_BUG_ON(offsetof(typeof(*flow), addrs) != flow_keys_hash_length() 653 BUILD_BUG_ON(sizeof(*data) > sizeof(*digest)); make_flow_keys_digest()
|
/linux-4.4.14/net/xfrm/ |
H A D | xfrm_output.c | 170 BUILD_BUG_ON(sizeof(*IPCB(skb)) > SKB_SGO_CB_OFFSET); xfrm_output_gso() 171 BUILD_BUG_ON(sizeof(*IP6CB(skb)) > SKB_SGO_CB_OFFSET); xfrm_output_gso()
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_export.c | 97 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \ 108 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \
|
H A D | trace_event_perf.c | 271 BUILD_BUG_ON(PERF_MAX_TRACE_SIZE % sizeof(unsigned long)); perf_trace_buf_prepare() 317 BUILD_BUG_ON(ENTRY_SIZE > PERF_MAX_TRACE_SIZE); perf_ftrace_function_call()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 294 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 299 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
H A D | hugetlb.h | 21 BUILD_BUG_ON((MMU_PAGE_COUNT - 1) > 0xf); hugepd_page()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
H A D | util.h | 63 BUILD_BUG_ON(!(__mask) || !is_valid_mask(__mask))
|
H A D | usb.c | 220 BUILD_BUG_ON(sizeof(dev->in_eps) < __MT_EP_IN_MAX); mt7601u_assign_pipes() 221 BUILD_BUG_ON(sizeof(dev->out_eps) < __MT_EP_OUT_MAX); mt7601u_assign_pipes()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
H A D | util.h | 57 BUILD_BUG_ON(sizeof(struct mwifiex_cb) > sizeof(skb->cb)); MWIFIEX_SKB_RXCB()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | fixmap.h | 62 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); fix_to_virt()
|
/linux-4.4.14/include/asm-generic/ |
H A D | fixmap.h | 31 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); fix_to_virt()
|
/linux-4.4.14/arch/arm/crypto/ |
H A D | sha1_glue.c | 37 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); sha1_update_arm()
|
H A D | sha256_glue.c | 40 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); crypto_sha256_arm_update()
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp_highspeed.c | 171 BUILD_BUG_ON(sizeof(struct hstcp) > ICSK_CA_PRIV_SIZE); hstcp_register()
|
H A D | inet_diag.c | 321 BUILD_BUG_ON(offsetof(struct inet_request_sock, ir_cookie) != inet_req_diag_fill() 709 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_family) != twsk_build_assert() 712 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_num) != twsk_build_assert() 715 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_dport) != twsk_build_assert() 718 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_rcv_saddr) != twsk_build_assert() 721 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_daddr) != twsk_build_assert() 725 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_rcv_saddr) != twsk_build_assert() 728 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_daddr) != twsk_build_assert()
|
H A D | tcp_htcp.c | 302 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE); htcp_register() 303 BUILD_BUG_ON(BETA_MIN >= BETA_MAX); htcp_register()
|
H A D | ip_input.c | 416 BUILD_BUG_ON(IPSTATS_MIB_ECT1PKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_ECT_1); ip_rcv() 417 BUILD_BUG_ON(IPSTATS_MIB_ECT0PKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_ECT_0); ip_rcv() 418 BUILD_BUG_ON(IPSTATS_MIB_CEPKTS != IPSTATS_MIB_NOECTPKTS + INET_ECN_CE); ip_rcv()
|
H A D | tcp_hybla.c | 178 BUILD_BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE); hybla_register()
|
/linux-4.4.14/drivers/regulator/ |
H A D | max14577.c | 316 BUILD_BUG_ON(ARRAY_SIZE(max14577_supported_regulators) != MAX14577_REGULATOR_NUM); max14577_regulator_init() 317 BUILD_BUG_ON(ARRAY_SIZE(max77836_supported_regulators) != MAX77836_REGULATOR_NUM); max14577_regulator_init() 319 BUILD_BUG_ON(MAX77836_REGULATOR_LDO_VOLTAGE_MIN + max14577_regulator_init()
|
H A D | s2mps11.c | 981 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe() 986 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe() 991 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe() 996 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe()
|
/linux-4.4.14/arch/tile/lib/ |
H A D | atomic_32.c | 184 BUILD_BUG_ON(ATOMIC_HASH_SIZE & (ATOMIC_HASH_SIZE-1)); __init_atomic_per_cpu() 198 BUILD_BUG_ON(ATOMIC_HASH_SIZE * sizeof(int) > PAGE_SIZE); __init_atomic_per_cpu() 205 BUILD_BUG_ON((PAGE_SIZE >> 3) > ATOMIC_HASH_SIZE); __init_atomic_per_cpu()
|
/linux-4.4.14/fs/ |
H A D | signalfd.c | 85 BUILD_BUG_ON(sizeof(struct signalfd_siginfo) != 128); signalfd_copyinfo() 262 BUILD_BUG_ON(SFD_CLOEXEC != O_CLOEXEC); SYSCALL_DEFINE4() 263 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); SYSCALL_DEFINE4()
|
H A D | eventfd.c | 397 BUILD_BUG_ON(EFD_CLOEXEC != O_CLOEXEC); eventfd_file_create() 398 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); eventfd_file_create()
|
H A D | timerfd.c | 382 BUILD_BUG_ON(TFD_CLOEXEC != O_CLOEXEC); SYSCALL_DEFINE2() 383 BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); SYSCALL_DEFINE2()
|
/linux-4.4.14/fs/sysv/ |
H A D | super.c | 359 BUILD_BUG_ON(1024 != sizeof (struct xenix_super_block)); sysv_fill_super() 360 BUILD_BUG_ON(512 != sizeof (struct sysv4_super_block)); sysv_fill_super() 361 BUILD_BUG_ON(512 != sizeof (struct sysv2_super_block)); sysv_fill_super() 362 BUILD_BUG_ON(500 != sizeof (struct coh_super_block)); sysv_fill_super() 363 BUILD_BUG_ON(64 != sizeof (struct sysv_inode)); sysv_fill_super()
|
/linux-4.4.14/arch/arm/net/ |
H A D | bpf_jit_32.c | 539 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); build_body() 859 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 869 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); build_body() 884 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, build_body() 886 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, build_body() 907 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); build_body() 913 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); build_body() 920 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); build_body() 932 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 943 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 945 BUILD_BUG_ON(offsetof(struct sk_buff, build_body()
|
/linux-4.4.14/drivers/ps3/ |
H A D | ps3-sys-manager.c | 275 BUILD_BUG_ON(sizeof(payload) != 8); ps3_sys_manager_send_attr() 312 BUILD_BUG_ON(sizeof(payload) != 16); ps3_sys_manager_send_next_op() 354 BUILD_BUG_ON(sizeof(payload) != 16); ps3_sys_manager_send_request_shutdown() 391 BUILD_BUG_ON(sizeof(payload) != 16); ps3_sys_manager_send_response() 425 BUILD_BUG_ON(sizeof(event) != 16); ps3_sys_manager_handle_event() 505 BUILD_BUG_ON(sizeof(cmd) != 16); ps3_sys_manager_handle_cmd() 555 BUILD_BUG_ON(sizeof(header) != 16); ps3_sys_manager_handle_msg()
|
H A D | ps3av.c | 618 BUILD_BUG_ON(PS3AV_RES_MASK_50 << SHIFT_50 & ps3av_resbit2id() 620 BUILD_BUG_ON(PS3AV_RES_MASK_50 << SHIFT_50 & ps3av_resbit2id() 622 BUILD_BUG_ON(PS3AV_RES_MASK_60 << SHIFT_60 & ps3av_resbit2id()
|
/linux-4.4.14/sound/usb/caiaq/ |
H A D | input.c | 625 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk2)); snd_usb_caiaq_input_init() 637 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk3)); snd_usb_caiaq_input_init() 648 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_ak1)); snd_usb_caiaq_input_init() 664 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_kore)); snd_usb_caiaq_input_init() 690 BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLX1_INPUTS); snd_usb_caiaq_input_init() 728 BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLS4_BUTTONS); snd_usb_caiaq_input_init() 774 BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_maschine)); snd_usb_caiaq_input_init()
|
/linux-4.4.14/drivers/vhost/ |
H A D | vringh.c | 667 BUILD_BUG_ON(sizeof(struct vringh_kiov) != sizeof(struct vringh_iov)); vringh_getdesc_user() 668 BUILD_BUG_ON(offsetof(struct vringh_kiov, iov) != vringh_getdesc_user() 670 BUILD_BUG_ON(offsetof(struct vringh_kiov, i) != vringh_getdesc_user() 672 BUILD_BUG_ON(offsetof(struct vringh_kiov, used) != vringh_getdesc_user() 674 BUILD_BUG_ON(offsetof(struct vringh_kiov, max_num) != vringh_getdesc_user() 676 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec)); vringh_getdesc_user() 677 BUILD_BUG_ON(offsetof(struct iovec, iov_base) != vringh_getdesc_user() 679 BUILD_BUG_ON(offsetof(struct iovec, iov_len) != vringh_getdesc_user() 681 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_base) vringh_getdesc_user() 683 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len) vringh_getdesc_user()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | bgmac.c | 612 BUILD_BUG_ON(BGMAC_MAX_TX_RINGS > ARRAY_SIZE(ring_base)); bgmac_dma_alloc() 613 BUILD_BUG_ON(BGMAC_MAX_RX_RINGS > ARRAY_SIZE(ring_base)); bgmac_dma_alloc() 742 BUILD_BUG_ON(BGMAC_PA_DATA_MASK != BCMA_GMAC_CMN_PA_DATA_MASK); bgmac_phy_read() 743 BUILD_BUG_ON(BGMAC_PA_ADDR_MASK != BCMA_GMAC_CMN_PA_ADDR_MASK); bgmac_phy_read() 744 BUILD_BUG_ON(BGMAC_PA_ADDR_SHIFT != BCMA_GMAC_CMN_PA_ADDR_SHIFT); bgmac_phy_read() 745 BUILD_BUG_ON(BGMAC_PA_REG_MASK != BCMA_GMAC_CMN_PA_REG_MASK); bgmac_phy_read() 746 BUILD_BUG_ON(BGMAC_PA_REG_SHIFT != BCMA_GMAC_CMN_PA_REG_SHIFT); bgmac_phy_read() 747 BUILD_BUG_ON(BGMAC_PA_WRITE != BCMA_GMAC_CMN_PA_WRITE); bgmac_phy_read() 748 BUILD_BUG_ON(BGMAC_PA_START != BCMA_GMAC_CMN_PA_START); bgmac_phy_read() 749 BUILD_BUG_ON(BGMAC_PC_EPA_MASK != BCMA_GMAC_CMN_PC_EPA_MASK); bgmac_phy_read() 750 BUILD_BUG_ON(BGMAC_PC_MCT_MASK != BCMA_GMAC_CMN_PC_MCT_MASK); bgmac_phy_read() 751 BUILD_BUG_ON(BGMAC_PC_MCT_SHIFT != BCMA_GMAC_CMN_PC_MCT_SHIFT); bgmac_phy_read() 752 BUILD_BUG_ON(BGMAC_PC_MTE != BCMA_GMAC_CMN_PC_MTE); bgmac_phy_read()
|
/linux-4.4.14/drivers/crypto/nx/ |
H A D | nx-842-powernv.c | 612 BUILD_BUG_ON(WORKMEM_ALIGN % CRB_ALIGN); nx842_powernv_init() 613 BUILD_BUG_ON(CRB_ALIGN % DDE_ALIGN); nx842_powernv_init() 614 BUILD_BUG_ON(CRB_SIZE % DDE_ALIGN); nx842_powernv_init() 616 BUILD_BUG_ON(PAGE_SIZE % DDE_BUFFER_ALIGN); nx842_powernv_init() 617 BUILD_BUG_ON(DDE_BUFFER_ALIGN % DDE_BUFFER_SIZE_MULT); nx842_powernv_init() 618 BUILD_BUG_ON(DDE_BUFFER_SIZE_MULT % DDE_BUFFER_LAST_MULT); nx842_powernv_init()
|
/linux-4.4.14/drivers/dma/ |
H A D | cppi41.c | 743 BUILD_BUG_ON(sizeof(struct cppi41_desc) & init_descs() 745 BUILD_BUG_ON(sizeof(struct cppi41_desc) < 32); init_descs() 746 BUILD_BUG_ON(ALLOC_DECS_NUM < 32); init_descs() 758 BUILD_BUG_ON(DESCS_AREAS != 1); init_descs() 799 BUILD_BUG_ON(QMGR_SCRATCH_SIZE > ((1 << 14) - 1)); init_cppi41() 854 BUILD_BUG_ON(ARRAY_SIZE(usb_queues_rx) != ARRAY_SIZE(usb_queues_tx)); cpp41_dma_filter_fn()
|
/linux-4.4.14/drivers/thunderbolt/ |
H A D | tb.c | 353 BUILD_BUG_ON(sizeof(struct tb_regs_switch_header) != 5 * 4); thunderbolt_alloc_and_start() 354 BUILD_BUG_ON(sizeof(struct tb_regs_port_header) != 8 * 4); thunderbolt_alloc_and_start() 355 BUILD_BUG_ON(sizeof(struct tb_regs_hop) != 2 * 4); thunderbolt_alloc_and_start()
|
/linux-4.4.14/arch/tile/mm/ |
H A D | hugetlbpage.c | 329 BUILD_BUG_ON(ADDITIONAL_HUGE_SIZE >= PMD_SIZE || add_default_hugepagesz() 331 BUILD_BUG_ON((PAGE_SIZE << ADDITIONAL_HUGE_SHIFT) != add_default_hugepagesz() 333 BUILD_BUG_ON(ADDITIONAL_HUGE_SHIFT & 1); add_default_hugepagesz()
|
/linux-4.4.14/drivers/leds/trigger/ |
H A D | ledtrig-cpu.c | 121 BUILD_BUG_ON(CONFIG_NR_CPUS > 9999); ledtrig_cpu_init()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
H A D | wil_crash_dump.c | 31 BUILD_BUG_ON(ARRAY_SIZE(fw_mapping) == 0); wil_fw_get_crash_dump_bounds()
|
/linux-4.4.14/lib/ |
H A D | lockref.c | 12 BUILD_BUG_ON(sizeof(old) != 8); \
|
H A 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/net/hsr/ |
H A D | hsr_main.c | 120 BUILD_BUG_ON(sizeof(struct hsr_tag) != HSR_HLEN); hsr_init()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
H A D | smp-shx3.c | 78 BUILD_BUG_ON(SMP_MSG_NR >= 8); shx3_prepare_cpus()
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | cmpxchg_64.h | 139 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/mips/net/ |
H A D | bpf_jit.c | 679 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); build_body() 1083 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 1108 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, build_body() 1124 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, build_body() 1131 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); build_body() 1137 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); build_body() 1144 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 1169 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 1171 BUILD_BUG_ON(offsetof(struct sk_buff, build_body()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 107 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.4.14/arch/powerpc/crypto/ |
H A D | md5-glue.c | 32 BUILD_BUG_ON(sizeof(struct md5_state) % 4); ppc_md5_clear_context()
|
H A D | sha1-spe-glue.c | 59 BUILD_BUG_ON(sizeof(struct sha1_state) % 4); ppc_sha1_clear_context()
|
/linux-4.4.14/drivers/soc/qcom/ |
H A 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/drivers/mtd/maps/ |
H A D | pismo.c | 277 BUILD_BUG_ON(sizeof(struct pismo_cs_block) != 48); pismo_init() 278 BUILD_BUG_ON(sizeof(struct pismo_eeprom) != 256); pismo_init()
|
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-dln2.c | 86 BUILD_BUG_ON(sizeof(*tx) > DLN2_I2C_BUF_SIZE); dln2_i2c_write() 120 BUILD_BUG_ON(sizeof(*rx) > DLN2_I2C_BUF_SIZE); dln2_i2c_read()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | offloading.c | 167 BUILD_BUG_ON(sizeof(cmd.v2.target_ipv6_addr[0]) != iwl_mvm_send_proto_offload() 181 BUILD_BUG_ON(sizeof(cmd.v1.target_ipv6_addr[0]) != iwl_mvm_send_proto_offload()
|
H A D | quota.c | 99 BUILD_BUG_ON(NUM_PHY_CTX > MAX_BINDINGS); iwl_mvm_quota_iterator() 195 BUILD_BUG_ON(MAX_BINDINGS != 4); iwl_mvm_update_quotas()
|
H A D | sf.c | 197 BUILD_BUG_ON(sizeof(sf_full_timeout) != iwl_mvm_fill_sf_command() 204 BUILD_BUG_ON(sizeof(sf_full_timeout_def) != iwl_mvm_fill_sf_command()
|
/linux-4.4.14/include/linux/ssb/ |
H A 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/arch/s390/kernel/ |
H A D | irq.c | 95 BUILD_BUG_ON(ARRAY_SIZE(irqclass_sub_desc) != NR_ARCH_IRQS); init_IRQ() 206 BUILD_BUG_ON(!is_power_of_2(ARRAY_SIZE(ext_int_hash))); ext_hash()
|
/linux-4.4.14/sound/firewire/dice/ |
H A D | dice.c | 210 BUILD_BUG_ON(NICK_NAME_SIZE < sizeof(card->shortname)); dice_card_strings() 216 BUILD_BUG_ON(sizeof(card->shortname) % 4 != 0); dice_card_strings()
|
/linux-4.4.14/drivers/thermal/ |
H A D | power_allocator.c | 368 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*max_power)); allocate_power() 369 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*granted_power)); allocate_power() 370 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*extra_actor_power)); allocate_power() 371 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*weighted_req_power)); allocate_power()
|
/linux-4.4.14/drivers/scsi/snic/ |
H A D | snic_isr.c | 168 BUILD_BUG_ON((ARRAY_SIZE(snic->wq) + SNIC_CQ_IO_CMPL_MAX) > snic_set_intr_mode()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
H A D | rt2x00reg.h | 218 BUILD_BUG_ON(!(__mask) || \
|
/linux-4.4.14/drivers/base/ |
H A D | node.c | 34 BUILD_BUG_ON((NR_CPUS/32 * 9) > (PAGE_SIZE-1)); node_read_cpumap() 193 BUILD_BUG_ON(MAX_NUMNODES * 4 > PAGE_SIZE); node_read_distance() 683 BUILD_BUG_ON(ARRAY_SIZE(node_state_attr) != NR_NODE_STATES); register_node_type() 684 BUILD_BUG_ON(ARRAY_SIZE(node_state_attrs)-1 != NR_NODE_STATES); register_node_type()
|
/linux-4.4.14/arch/sparc/net/ |
H A 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/arch/tile/include/asm/ |
H A D | futex.h | 120 BUILD_BUG_ON(sizeof(atomic_t) != sizeof(int)); futex_atomic_op_inuser()
|
/linux-4.4.14/arch/x86/boot/ |
H A D | main.c | 39 BUILD_BUG_ON(sizeof boot_params != 4096); copy_boot_params()
|
H A D | boot.h | 32 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | poly1305_glue.c | 73 BUILD_BUG_ON(offsetof(struct poly1305_simd_desc_ctx, base)); poly1305_simd_blocks()
|
H A D | sha1_ssse3_glue.c | 47 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); sha1_update()
|
H A D | sha256_ssse3_glue.c | 57 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); sha256_update()
|
H A D | sha512_ssse3_glue.c | 57 BUILD_BUG_ON(offsetof(struct sha512_state, state) != 0); sha512_update()
|
/linux-4.4.14/arch/x86/platform/uv/ |
H A D | uv_irq.c | 32 BUILD_BUG_ON(sizeof(struct uv_IO_APIC_route_entry) != uv_program_mmr()
|
/linux-4.4.14/fs/f2fs/ |
H A D | crypto_key.c | 208 BUILD_BUG_ON(F2FS_AES_128_ECB_KEY_SIZE != _f2fs_get_encryption_info()
|
H A D | crypto_policy.c | 81 BUILD_BUG_ON(sizeof(ctx.nonce) != F2FS_KEY_DERIVATION_NONCE_SIZE); f2fs_create_encryption_context_from_policy()
|
/linux-4.4.14/lib/lzo/ |
H A D | lzo1x_compress.c | 230 BUILD_BUG_ON(D_SIZE * sizeof(lzo_dict_t) > LZO1X_1_MEM_COMPRESS); lzo1x_1_compress()
|
/linux-4.4.14/mm/ |
H A D | debug.c | 88 BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) != __NR_PAGEFLAGS); dump_page_badflags()
|
/linux-4.4.14/net/bridge/ |
H A D | br.c | 192 BUILD_BUG_ON(sizeof(struct br_input_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); br_init()
|
/linux-4.4.14/net/wireless/ |
H A D | mesh.c | 104 BUILD_BUG_ON(IEEE80211_MAX_SSID_LEN != IEEE80211_MAX_MESH_ID_LEN); __cfg80211_join_mesh()
|
/linux-4.4.14/fs/ext4/ |
H A D | crypto_policy.c | 80 BUILD_BUG_ON(sizeof(ctx.nonce) != EXT4_KEY_DERIVATION_NONCE_SIZE); ext4_create_encryption_context_from_policy()
|
H A D | crypto_key.c | 224 BUILD_BUG_ON(EXT4_AES_128_ECB_KEY_SIZE != _ext4_get_encryption_info()
|
/linux-4.4.14/kernel/ |
H A D | tsacct.c | 37 BUILD_BUG_ON(TS_COMM_LEN < TASK_COMM_LEN); bacct_add_tsk()
|
/linux-4.4.14/include/linux/mlx5/ |
H A 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/powerpc/perf/req-gen/ |
H A D | perf.h | 77 BUILD_BUG_ON(offsetof(struct STRUCT_NAME(r_name), f_name) != f_offset);
|
/linux-4.4.14/drivers/net/ |
H A D | mdio.c | 193 BUILD_BUG_ON(MDIO_SUPPORTS_C22 != ETH_MDIO_SUPPORTS_C22); mdio45_ethtool_gset_npage() 194 BUILD_BUG_ON(MDIO_SUPPORTS_C45 != ETH_MDIO_SUPPORTS_C45); mdio45_ethtool_gset_npage()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 278 BUILD_BUG_ON( carl9170_tx_release() 875 BUILD_BUG_ON(IEEE80211_TX_MAX_RATES < CARL9170_TX_MAX_RATES); carl9170_tx_get_rates() 876 BUILD_BUG_ON(IEEE80211_TX_MAX_RATES > IEEE80211_TX_RATE_TABLE_SIZE); carl9170_tx_get_rates() 968 BUILD_BUG_ON(sizeof(*arinfo) > sizeof(info->rate_driver_data)); carl9170_tx_prepare() 969 BUILD_BUG_ON(sizeof(struct _carl9170_tx_superdesc) != carl9170_tx_prepare() 972 BUILD_BUG_ON(sizeof(struct _ar9170_tx_hwdesc) != carl9170_tx_prepare() 975 BUILD_BUG_ON(AR9170_MAX_VIRTUAL_MAC > carl9170_tx_prepare() 1246 BUILD_BUG_ON(sizeof(*arinfo) > sizeof(info->rate_driver_data)); carl9170_tx_pick_skb()
|
H A D | main.c | 301 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_SOFT < 1); carl9170_zap_queues() 302 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_HARD < CARL9170_NUM_TX_LIMIT_SOFT); carl9170_zap_queues() 303 BUILD_BUG_ON(CARL9170_NUM_TX_LIMIT_HARD >= CARL9170_BAW_BITS); carl9170_zap_queues() 1559 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_PAYLOAD_LEN); carl9170_rng_get() 1890 BUILD_BUG_ON(sizeof(ar->eeprom) & 3); carl9170_read_eeprom() 1892 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_LEN - 4); carl9170_read_eeprom() 1895 BUILD_BUG_ON(sizeof(ar->eeprom) % RB); carl9170_read_eeprom()
|
/linux-4.4.14/drivers/power/ |
H A D | test_power.c | 201 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_supplies)); test_power_init() 202 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_configs)); test_power_init()
|
H A D | max14577_charger.c | 444 BUILD_BUG_ON(ARRAY_SIZE(model_names) != MAXIM_DEVICE_TYPE_NUM); max14577_charger_get_property() 608 BUILD_BUG_ON(MAX14577_CHARGER_EOC_CURRENT_LIMIT_MIN + max14577_charger_probe()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | signal.c | 57 BUILD_BUG_ON(sizeof(struct sigcontext) != sizeof(struct pt_regs)); restore_sigcontext() 58 BUILD_BUG_ON(sizeof(struct sigcontext) % 8 != 0); restore_sigcontext()
|
H A D | ptrace.c | 218 BUILD_BUG_ON(PTRACE_O_MASK_TILE & PTRACE_O_MASK); arch_ptrace()
|
/linux-4.4.14/net/sched/ |
H A D | sch_mqprio.c | 101 BUILD_BUG_ON(TC_MAX_QUEUE != TC_QOPT_MAX_QUEUE); mqprio_init() 102 BUILD_BUG_ON(TC_BITMASK != TC_QOPT_BITMASK); mqprio_init()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | ptrace.c | 290 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != gpr_get() 329 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != gpr_set() 378 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != fpr_get() 406 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != fpr_set() 443 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != vr_get() 474 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != vr_set() 581 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != evr_get() 604 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != evr_set()
|
/linux-4.4.14/arch/mips/sgi-ip32/ |
H A D | ip32-irq.c | 372 BUILD_BUG_ON(CRIME_VICE_IRQ - MACE_VID_IN1_IRQ != 31); ip32_irq0() 373 BUILD_BUG_ON(MACEISA_SERIAL2_RDMAOR_IRQ - MACEISA_AUDIO_SW_IRQ != 31); ip32_irq0()
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_connlimit.c | 448 BUILD_BUG_ON(CONNLIMIT_LOCK_SLOTS > CONNLIMIT_SLOTS); connlimit_mt_init() 449 BUILD_BUG_ON((CONNLIMIT_SLOTS % CONNLIMIT_LOCK_SLOTS) != 0); connlimit_mt_init()
|
/linux-4.4.14/net/mac80211/ |
H A D | key.c | 907 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_get_key_tx_seq() 911 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_get_key_tx_seq() 915 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_get_key_tx_seq() 1001 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_set_key_tx_seq() 1005 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_set_key_tx_seq() 1009 BUILD_BUG_ON(offsetof(typeof(*seq), ccmp) != ieee80211_set_key_tx_seq()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo.c | 592 BUILD_BUG_ON(sizeof(response) != 1); psb_intel_sdvo_get_trained_inputs() 640 BUILD_BUG_ON(sizeof(clocks) != 4); psb_intel_sdvo_get_input_pixel_clock_range() 708 BUILD_BUG_ON(sizeof(dtd->part1) != 8); psb_intel_sdvo_get_preferred_input_timing() 709 BUILD_BUG_ON(sizeof(dtd->part2) != 8); psb_intel_sdvo_get_preferred_input_timing() 807 BUILD_BUG_ON(sizeof(encode) != 2); psb_intel_sdvo_check_supp_encode() 901 BUILD_BUG_ON(sizeof(format) != 6); psb_intel_sdvo_set_tv_format() 1188 BUILD_BUG_ON(sizeof(*caps) != 8); psb_intel_sdvo_get_capabilities() 1559 BUILD_BUG_ON(sizeof(tv_res) != 3); psb_intel_sdvo_get_tv_modes() 2259 BUILD_BUG_ON(sizeof(format) != 6); psb_intel_sdvo_tv_create_property() 2450 BUILD_BUG_ON(sizeof(enhancements) != 2); psb_intel_sdvo_create_enhance_property()
|
/linux-4.4.14/drivers/acpi/ |
H A D | nfit.c | 1870 BUILD_BUG_ON(sizeof(struct acpi_table_nfit) != 40); nfit_init() 1871 BUILD_BUG_ON(sizeof(struct acpi_nfit_system_address) != 56); nfit_init() 1872 BUILD_BUG_ON(sizeof(struct acpi_nfit_memory_map) != 48); nfit_init() 1873 BUILD_BUG_ON(sizeof(struct acpi_nfit_interleave) != 20); nfit_init() 1874 BUILD_BUG_ON(sizeof(struct acpi_nfit_smbios) != 9); nfit_init() 1875 BUILD_BUG_ON(sizeof(struct acpi_nfit_control_region) != 80); nfit_init() 1876 BUILD_BUG_ON(sizeof(struct acpi_nfit_data_region) != 40); nfit_init()
|
/linux-4.4.14/drivers/bus/ |
H A D | arm-ccn.c | 1039 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL != CCN_SBAS_PMU_EVENT_SEL); arm_ccn_pmu_node_event_config() 1040 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL != CCN_RNI_PMU_EVENT_SEL); arm_ccn_pmu_node_event_config() 1041 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(1) != arm_ccn_pmu_node_event_config() 1043 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__SHIFT(1) != arm_ccn_pmu_node_event_config() 1045 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__MASK != arm_ccn_pmu_node_event_config() 1047 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__MASK != arm_ccn_pmu_node_event_config() 1141 BUILD_BUG_ON(CCN_IDX_PMU_CYCLE_COUNTER != CCN_NUM_PMU_EVENT_COUNTERS); arm_ccn_pmu_overflow_handler()
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | unwind.c | 332 BUILD_BUG_ON(offsetof(typeof(*header), fde_count) init_unwind_hdr() 336 BUILD_BUG_ON(offsetof(typeof(*header), table) init_unwind_hdr() 566 BUILD_BUG_ON(sizeof(u64) != sizeof(value)); read_pointer() 568 BUILD_BUG_ON(sizeof(u32) != sizeof(value)); read_pointer() 576 BUILD_BUG_ON(sizeof(uleb128_t) > sizeof(value)); read_pointer()
|
/linux-4.4.14/drivers/sbus/char/ |
H A D | openprom.c | 202 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); opromnext() 527 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); opiocgetnext() 576 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); openprom_bsd_ioctl()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-dln2.c | 432 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE); dln2_spi_write_one() 465 BUILD_BUG_ON(sizeof(*rx) > DLN2_SPI_BUF_SIZE); dln2_spi_read_one() 507 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE || dln2_spi_read_write_one()
|
/linux-4.4.14/fs/logfs/ |
H A 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/net/openvswitch/ |
H A D | flow_table.c | 424 BUILD_BUG_ON(sizeof(long) % sizeof(u32)); flow_hash() 755 BUILD_BUG_ON(__alignof__(struct sw_flow_key) % __alignof__(long)); ovs_flow_init() 756 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); ovs_flow_init()
|
/linux-4.4.14/sound/pci/hda/ |
H A 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/crypto/ccp/ |
H A D | ccp-ops.c | 915 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); ccp_run_aes_cmac_cmd() 916 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); ccp_run_aes_cmac_cmd() 1068 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); ccp_run_aes_cmd() 1069 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); ccp_run_aes_cmd() 1245 BUILD_BUG_ON(CCP_XTS_AES_KEY_KSB_COUNT != 1); ccp_run_xts_aes_cmd() 1246 BUILD_BUG_ON(CCP_XTS_AES_CTX_KSB_COUNT != 1); ccp_run_xts_aes_cmd() 1420 BUILD_BUG_ON(CCP_SHA_KSB_COUNT != 1); ccp_run_sha_cmd() 1706 BUILD_BUG_ON(CCP_PASSTHRU_KSB_COUNT != 1); ccp_run_passthru_cmd()
|
/linux-4.4.14/arch/x86/entry/ |
H A D | common.c | 129 BUILD_BUG_ON(SECCOMP_PHASE1_OK != 0); syscall_trace_enter_phase1() 130 BUILD_BUG_ON(SECCOMP_PHASE1_SKIP != 1); syscall_trace_enter_phase1()
|
/linux-4.4.14/arch/x86/mm/ |
H A D | ioremap.c | 450 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); early_ioremap_init() 466 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) early_ioremap_init()
|
H A D | init_32.c | 803 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); mem_init() 804 BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); mem_init() 807 BUILD_BUG_ON(VMALLOC_START >= VMALLOC_END); mem_init() 811 BUILD_BUG_ON(CONFIG_RANDOMIZE_BASE_MAX_OFFSET > KERNEL_IMAGE_SIZE); mem_init()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
H A D | iwl-debug.h | 51 #define CHECK_FOR_NEWLINE(f) BUILD_BUG_ON(f[sizeof(f) - 2] != '\n')
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | common-init.c | 130 BUILD_BUG_ON(ARRAY_SIZE(ath9k_2ghz_chantable) + ath9k_cmn_init_channels_rates()
|
/linux-4.4.14/drivers/auxdisplay/ |
H A D | cfag12864b.c | 340 BUILD_BUG_ON(PAGE_SIZE < CFAG12864B_SIZE); cfag12864b_init()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.c | 67 BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE); i915_check_vgpu()
|
H A D | intel_opregion.c | 906 BUILD_BUG_ON(sizeof(struct opregion_header) != 0x100); intel_opregion_setup() 907 BUILD_BUG_ON(sizeof(struct opregion_acpi) != 0x100); intel_opregion_setup() 908 BUILD_BUG_ON(sizeof(struct opregion_swsci) != 0x100); intel_opregion_setup() 909 BUILD_BUG_ON(sizeof(struct opregion_asle) != 0x100); intel_opregion_setup()
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
H A D | vsyscall_64.c | 340 BUILD_BUG_ON((unsigned long)__fix_to_virt(VSYSCALL_PAGE) != map_vsyscall()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_uncore.h | 143 BUILD_BUG_ON(sizeof(_format) >= PAGE_SIZE); \
|
/linux-4.4.14/arch/x86/net/ |
H A D | bpf_jit_comp.c | 239 BUILD_BUG_ON(cnt != PROLOGUE_SIZE); emit_prologue() 312 BUILD_BUG_ON(cnt - label1 != OFFSET1); emit_bpf_tail_call() 313 BUILD_BUG_ON(cnt - label2 != OFFSET2); emit_bpf_tail_call() 314 BUILD_BUG_ON(cnt - label3 != OFFSET3); emit_bpf_tail_call()
|
/linux-4.4.14/net/sctp/ |
H A D | probe.c | 208 BUILD_BUG_ON(__same_type(sctp_sf_eat_sack_6_2, sctpprobe_init()
|
/linux-4.4.14/fs/afs/ |
H A D | dir.c | 219 BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); afs_dir_open() 220 BUILD_BUG_ON(sizeof(union afs_dirent) != 32); afs_dir_open() 405 BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); afs_lookup_filldir() 406 BUILD_BUG_ON(sizeof(union afs_dirent) != 32); afs_lookup_filldir()
|
/linux-4.4.14/kernel/power/ |
H A D | user.c | 405 BUILD_BUG_ON(sizeof(loff_t) != sizeof(compat_loff_t)); snapshot_compat_ioctl()
|
/linux-4.4.14/include/scsi/ |
H A D | fc_frame.h | 99 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb)); fcoe_dev_from_skb()
|
/linux-4.4.14/arch/mips/pci/ |
H A D | pci-ar71xx.c | 305 BUILD_BUG_ON(ATH79_PCI_IRQ_COUNT < AR71XX_PCI_IRQ_COUNT); ar71xx_pci_irq_init()
|