/linux-4.1.27/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()
|
D | ppr.c | 31 BUILD_BUG_ON(sizeof(struct b43_ppr) != B43_PPR_RATES_NUM * sizeof(u8)); in b43_ppr_clear()
|
D | tables_phy_ht.c | 809 BUILD_BUG_ON(ARRAY_SIZE(b43_httab_0x1a_0xc0_late) != in b43_phy_ht_tables_init()
|
D | xmit.h | 411 BUILD_BUG_ON(sizeof(struct b43_private_tx_info) > in b43_get_priv_tx_info()
|
/linux-4.1.27/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 | 1056 BUILD_BUG_ON(MCDI_EVENT_TX_FLUSH_TO_DRIVER_LBN != in efx_mcdi_process_event() 1092 BUILD_BUG_ON(MC_CMD_GET_VERSION_IN_LEN != 0); in efx_mcdi_print_fwver() 1111 BUILD_BUG_ON(MC_CMD_GET_CAPABILITIES_IN_LEN != 0); in efx_mcdi_print_fwver() 1209 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_IN_LEN != 0); in efx_mcdi_get_board_cfg() 1211 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0_OFST & 1); in efx_mcdi_get_board_cfg() 1212 BUILD_BUG_ON(MC_CMD_GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1_OFST & 1); in efx_mcdi_get_board_cfg() 1271 BUILD_BUG_ON(MC_CMD_LOG_CTRL_OUT_LEN != 0); in efx_mcdi_log_ctrl() 1284 BUILD_BUG_ON(MC_CMD_NVRAM_TYPES_IN_LEN != 0); in efx_mcdi_nvram_types() 1459 BUILD_BUG_ON(MC_CMD_REBOOT_OUT_LEN != 0); in efx_mcdi_exit_assertion() 1484 BUILD_BUG_ON(EFX_LED_OFF != MC_CMD_LED_OFF); in efx_mcdi_set_id_led() [all …]
|
D | farch.c | 299 BUILD_BUG_ON(FRF_AZ_TX_DESC_LBN != 0); in efx_farch_push_tx_desc() 300 BUILD_BUG_ON(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0); in efx_farch_push_tx_desc() 335 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); in efx_farch_tx_write() 402 BUILD_BUG_ON(EFX_MAX_TX_QUEUES > 128); in efx_farch_tx_init() 805 BUILD_BUG_ON(FRF_AZ_DRV_EV_DATA_LBN != 0 || in efx_farch_generate_event() 1651 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_indir_table) != in efx_farch_rx_push_indir_table() 1737 BUILD_BUG_ON(TX_DC_ENTRIES != (8 << TX_DC_ENTRIES_ORDER)); in efx_farch_init_common() 1744 BUILD_BUG_ON(RX_DC_ENTRIES != (8 << RX_DC_ENTRIES_ORDER)); in efx_farch_init_common() 1917 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != in efx_farch_filter_spec_table_id() 1919 BUILD_BUG_ON(EFX_FARCH_FILTER_TABLE_RX_IP != in efx_farch_filter_spec_table_id() [all …]
|
D | ef10.c | 105 BUILD_BUG_ON(MC_CMD_GET_CAPABILITIES_IN_LEN != 0); in efx_ef10_init_datapath_caps() 156 BUILD_BUG_ON(MC_CMD_GET_MAC_ADDRESSES_IN_LEN != 0); in efx_ef10_get_mac_address() 307 BUILD_BUG_ON(MC_CMD_FREE_PIOBUF_OUT_LEN != 0); in efx_ef10_free_piobufs() 328 BUILD_BUG_ON(MC_CMD_ALLOC_PIOBUF_IN_LEN != 0); in efx_ef10_alloc_piobufs() 363 BUILD_BUG_ON(MC_CMD_LINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs() 364 BUILD_BUG_ON(MC_CMD_UNLINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs() 1202 BUILD_BUG_ON(MC_CMD_TRIGGER_INTERRUPT_OUT_LEN != 0); in efx_ef10_irq_test_generate() 1361 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); in efx_ef10_tx_write() 1431 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_indir_table) != in efx_ef10_populate_rss_table() 1446 BUILD_BUG_ON(ARRAY_SIZE(efx->rx_hash_key) != in efx_ef10_populate_rss_table() [all …]
|
D | mdio_10g.c | 289 BUILD_BUG_ON(EFX_FC_AUTO & (EFX_FC_RX | EFX_FC_TX)); in efx_mdio_get_pause()
|
/linux-4.1.27/drivers/virtio/ |
D | virtio_pci_modern.c | 539 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != in check_offsets() 541 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != in check_offsets() 543 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != in check_offsets() 545 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != in check_offsets() 547 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != in check_offsets() 549 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != in check_offsets() 551 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != in check_offsets() 553 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != in check_offsets() 556 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != in check_offsets() 559 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != in check_offsets() [all …]
|
/linux-4.1.27/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 | vsyscall_64.c | 333 BUILD_BUG_ON((unsigned long)__fix_to_virt(VSYSCALL_PAGE) != in map_vsyscall()
|
D | ptrace.c | 202 BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0); in pt_regs_access() 267 BUILD_BUG_ON(offsetof(struct pt_regs, r15) != 0); in pt_regs_access() 1515 BUILD_BUG_ON(SECCOMP_PHASE1_OK != 0); in syscall_trace_enter_phase1() 1516 BUILD_BUG_ON(SECCOMP_PHASE1_SKIP != 1); in syscall_trace_enter_phase1()
|
D | ldt.c | 49 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct()
|
/linux-4.1.27/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.1.27/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() 786 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); in inotify_user_setup() 787 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); in inotify_user_setup() 788 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); in inotify_user_setup() 789 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); in inotify_user_setup() 790 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in inotify_user_setup() 791 BUILD_BUG_ON(IN_OPEN != FS_OPEN); in inotify_user_setup() 792 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); in inotify_user_setup() 793 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); in inotify_user_setup() [all …]
|
/linux-4.1.27/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.1.27/include/linux/ |
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 | netdevice.h | 3696 BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3697 BUILD_BUG_ON(SKB_GSO_UDP != (NETIF_F_UFO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3698 BUILD_BUG_ON(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3699 BUILD_BUG_ON(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3700 BUILD_BUG_ON(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3701 BUILD_BUG_ON(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3702 BUILD_BUG_ON(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3703 BUILD_BUG_ON(SKB_GSO_GRE_CSUM != (NETIF_F_GSO_GRE_CSUM >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3704 BUILD_BUG_ON(SKB_GSO_IPIP != (NETIF_F_GSO_IPIP >> NETIF_F_GSO_SHIFT)); in net_gso_ok() 3705 BUILD_BUG_ON(SKB_GSO_SIT != (NETIF_F_GSO_SIT >> NETIF_F_GSO_SHIFT)); in net_gso_ok() [all …]
|
D | kmemcheck.h | 79 BUILD_BUG_ON(_n < 0); \
|
D | highmem.h | 125 BUILD_BUG_ON(__same_type((addr), struct page *)); \
|
D | if_team.h | 216 BUILD_BUG_ON(sizeof(skb->queue_mapping) != in team_dev_queue_xmit()
|
D | socket.h | 16 BUILD_BUG_ON(((size) > sizeof(struct __kernel_sockaddr_storage)))
|
/linux-4.1.27/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 | 598 BUILD_BUG_ON(sizeof(struct db_index) != 1); in os_area_db_init() 599 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); in os_area_db_init() 600 BUILD_BUG_ON(INDEX_64_COUNT & 0x7); in os_area_db_init() 601 BUILD_BUG_ON(VALUES_64_COUNT > INDEX_64_COUNT); in os_area_db_init() 602 BUILD_BUG_ON(INDEX_32_COUNT & 0x7); in os_area_db_init() 603 BUILD_BUG_ON(VALUES_32_COUNT > INDEX_32_COUNT); in os_area_db_init() 604 BUILD_BUG_ON(INDEX_16_COUNT & 0x7); in os_area_db_init() 605 BUILD_BUG_ON(VALUES_16_COUNT > INDEX_16_COUNT); in os_area_db_init() 606 BUILD_BUG_ON(HEADER_SIZE in os_area_db_init()
|
/linux-4.1.27/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.1.27/net/batman-adv/ |
D | main.c | 440 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); in batadv_recv_handler_init() 441 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); in batadv_recv_handler_init() 442 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); in batadv_recv_handler_init() 443 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); in batadv_recv_handler_init() 444 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116); in batadv_recv_handler_init() 445 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); in batadv_recv_handler_init() 446 BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18); in batadv_recv_handler_init() 447 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); in batadv_recv_handler_init() 448 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); in batadv_recv_handler_init() 449 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); in batadv_recv_handler_init() [all …]
|
/linux-4.1.27/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.1.27/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 | 215 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 216 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
D | stackprotector.h | 64 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 | 148 BUILD_BUG_ON(((__ticket_t)NR_CPUS) != NR_CPUS); in arch_spin_unlock()
|
/linux-4.1.27/fs/ubifs/ |
D | super.c | 2184 BUILD_BUG_ON(sizeof(struct ubifs_ch) != 24); in ubifs_init() 2187 BUILD_BUG_ON(UBIFS_CH_SZ & 7); in ubifs_init() 2188 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); in ubifs_init() 2189 BUILD_BUG_ON(UBIFS_DENT_NODE_SZ & 7); in ubifs_init() 2190 BUILD_BUG_ON(UBIFS_XENT_NODE_SZ & 7); in ubifs_init() 2191 BUILD_BUG_ON(UBIFS_DATA_NODE_SZ & 7); in ubifs_init() 2192 BUILD_BUG_ON(UBIFS_TRUN_NODE_SZ & 7); in ubifs_init() 2193 BUILD_BUG_ON(UBIFS_SB_NODE_SZ & 7); in ubifs_init() 2194 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init() 2195 BUILD_BUG_ON(UBIFS_REF_NODE_SZ & 7); in ubifs_init() [all …]
|
/linux-4.1.27/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(core_process_speedos) != in tegra124_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(core_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(core_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(core_process_speedos) != in tegra30_init_speedo_data()
|
/linux-4.1.27/drivers/mfd/ |
D | max14577.c | 546 BUILD_BUG_ON(ARRAY_SIZE(max14577_i2c_id) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 547 BUILD_BUG_ON(ARRAY_SIZE(max14577_dt_match) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 550 BUILD_BUG_ON(ARRAY_SIZE(maxim_charger_currents) != MAXIM_DEVICE_TYPE_NUM); in max14577_i2c_init() 553 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_START + in max14577_i2c_init() 556 BUILD_BUG_ON(MAX14577_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); in max14577_i2c_init() 558 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_START + in max14577_i2c_init() 561 BUILD_BUG_ON(MAX77836_CHARGER_CURRENT_LIMIT_HIGH_STEP == 0); in max14577_i2c_init()
|
D | sec-irq.c | 491 BUILD_BUG_ON(((enum s2mps14_irq)S2MPS11_IRQ_RTCA0) != S2MPS14_IRQ_RTCA0); in sec_irq_init()
|
/linux-4.1.27/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 | 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.1.27/net/core/ |
D | filter.c | 160 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access() 175 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access() 183 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 184 BUILD_BUG_ON(VLAN_TAG_PRESENT != 0x1000); in convert_skb_access() 212 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); in convert_bpf_extensions() 228 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in convert_bpf_extensions() 229 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in convert_bpf_extensions() 230 BUILD_BUG_ON(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)) < 0); in convert_bpf_extensions() 252 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in convert_bpf_extensions() 276 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() [all …]
|
/linux-4.1.27/arch/tile/lib/ |
D | atomic_32.c | 161 BUILD_BUG_ON(ATOMIC_HASH_SIZE & (ATOMIC_HASH_SIZE-1)); in __init_atomic_per_cpu() 175 BUILD_BUG_ON(ATOMIC_HASH_SIZE * sizeof(int) > PAGE_SIZE); in __init_atomic_per_cpu() 182 BUILD_BUG_ON((PAGE_SIZE >> 3) > ATOMIC_HASH_SIZE); in __init_atomic_per_cpu()
|
/linux-4.1.27/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()
|
D | ps3av.c | 618 BUILD_BUG_ON(PS3AV_RES_MASK_50 << SHIFT_50 & in ps3av_resbit2id() 620 BUILD_BUG_ON(PS3AV_RES_MASK_50 << SHIFT_50 & in ps3av_resbit2id() 622 BUILD_BUG_ON(PS3AV_RES_MASK_60 << SHIFT_60 & in ps3av_resbit2id()
|
/linux-4.1.27/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.1.27/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 | 83 BUILD_BUG_ON(sizeof(*(p1)) != sizeof(long)); \ 84 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
|
D | processor.h | 335 BUILD_BUG_ON(sizeof(__tmp) != sizeof(val)); \
|
D | compat.h | 13 BUILD_BUG_ON(sizeof(t) > 4 && !__TYPE_IS_PTR(t)); \
|
/linux-4.1.27/arch/mips/include/asm/ |
D | cmpxchg.h | 135 BUILD_BUG_ON(sizeof(*(ptr)) & ~0xc); \ 235 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 241 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
D | io.h | 395 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 408 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | cmpxchg.h | 31 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 62 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.1.27/drivers/misc/cxl/ |
D | file.c | 496 BUILD_BUG_ON(CXL_API_VERSION != 1); in cxl_file_init() 497 BUILD_BUG_ON(sizeof(struct cxl_ioctl_start_work) != 64); in cxl_file_init() 498 BUILD_BUG_ON(sizeof(struct cxl_event_header) != 8); in cxl_file_init() 499 BUILD_BUG_ON(sizeof(struct cxl_event_afu_interrupt) != 8); in cxl_file_init() 500 BUILD_BUG_ON(sizeof(struct cxl_event_data_storage) != 32); in cxl_file_init() 501 BUILD_BUG_ON(sizeof(struct cxl_event_afu_error) != 16); in cxl_file_init()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/net/ |
D | flow.h | 191 BUILD_BUG_ON(sizeof(struct flowi4) % sizeof(flow_compare_t)); in flow_key_size() 194 BUILD_BUG_ON(sizeof(struct flowi6) % sizeof(flow_compare_t)); in flow_key_size() 197 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 | mrp.h | 40 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
|
D | ip6_fib.h | 206 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
|
D | sch_generic.h | 266 BUILD_BUG_ON(sizeof(skb->cb) < offsetof(struct qdisc_skb_cb, data) + sz); in qdisc_cb_private_validate() 267 BUILD_BUG_ON(sizeof(qcb->data) < sz); in qdisc_cb_private_validate()
|
D | mac80211.h | 928 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status() 930 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status() 932 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != 8); in ieee80211_tx_info_clear_status() 937 BUILD_BUG_ON( in ieee80211_tx_info_clear_status()
|
/linux-4.1.27/tools/virtio/linux/ |
D | bug.h | 6 #define BUILD_BUG_ON(x) macro
|
/linux-4.1.27/arch/arm/include/asm/ |
D | mc146818rtc.h | 10 #define RTC_IRQ BUILD_BUG_ON(1)
|
/linux-4.1.27/arch/tile/mm/ |
D | hugetlbpage.c | 334 BUILD_BUG_ON(ADDITIONAL_HUGE_SIZE >= PMD_SIZE || in add_default_hugepagesz() 336 BUILD_BUG_ON((PAGE_SIZE << ADDITIONAL_HUGE_SHIFT) != in add_default_hugepagesz() 338 BUILD_BUG_ON(ADDITIONAL_HUGE_SHIFT & 1); in add_default_hugepagesz()
|
D | fault.c | 886 BUILD_BUG_ON(pgd_index(VMALLOC_END - PAGE_SIZE) != in vmalloc_sync_all() 899 BUILD_BUG_ON(PAGE_OFFSET & ~PGDIR_MASK); in vmalloc_sync_all()
|
/linux-4.1.27/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 | 317 BUILD_BUG_ON(offsetof(struct inet_request_sock, ir_cookie) != in inet_req_diag_fill() 705 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_family) != in twsk_build_assert() 708 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_num) != in twsk_build_assert() 711 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_dport) != in twsk_build_assert() 714 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_rcv_saddr) != in twsk_build_assert() 717 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_daddr) != in twsk_build_assert() 721 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_rcv_saddr) != in twsk_build_assert() 724 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_hybla.c | 178 BUILD_BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE); in hybla_register()
|
D | tcp_veno.c | 217 BUILD_BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE); in tcp_veno_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()
|
D | tcp_westwood.c | 291 BUILD_BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE); in tcp_westwood_register()
|
D | tcp_lp.c | 328 BUILD_BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE); in tcp_lp_register()
|
D | tcp_dctcp.c | 328 BUILD_BUG_ON(sizeof(struct dctcp) > ICSK_CA_PRIV_SIZE); in dctcp_register()
|
D | tcp_illinois.c | 340 BUILD_BUG_ON(sizeof(struct illinois) > ICSK_CA_PRIV_SIZE); in tcp_illinois_register()
|
D | tcp_probe.c | 262 BUILD_BUG_ON(__same_type(tcp_rcv_established, in tcpprobe_init()
|
/linux-4.1.27/drivers/regulator/ |
D | max14577.c | 348 BUILD_BUG_ON(ARRAY_SIZE(max14577_supported_regulators) != MAX14577_REGULATOR_NUM); in max14577_regulator_init() 349 BUILD_BUG_ON(ARRAY_SIZE(max77836_supported_regulators) != MAX77836_REGULATOR_NUM); in max14577_regulator_init() 351 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.1.27/arch/arm/net/ |
D | bpf_jit_32.c | 507 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 802 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 812 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); in build_body() 825 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 832 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 838 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 845 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in build_body() 855 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 857 BUILD_BUG_ON(offsetof(struct sk_buff, in build_body()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/powerpc/include/asm/ |
D | cmpxchg.h | 295 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 300 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
D | hugetlb.h | 21 BUILD_BUG_ON((MMU_PAGE_COUNT - 1) > 0xf); in hugepd_page()
|
/linux-4.1.27/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.1.27/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.1.27/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()
|
D | timerfd.c | 382 BUILD_BUG_ON(TFD_CLOEXEC != O_CLOEXEC); in SYSCALL_DEFINE2() 383 BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE2()
|
/linux-4.1.27/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.1.27/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.1.27/arch/xtensa/include/asm/ |
D | fixmap.h | 62 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
/linux-4.1.27/arch/powerpc/perf/ |
D | hv-common.h | 36 BUILD_BUG_ON((bit_start > bit_end) \
|
D | hv-24x7.c | 744 BUILD_BUG_ON(PAGE_SIZE % 4096); in create_events_from_catalog() 1107 BUILD_BUG_ON(sizeof(*request_buffer) > 4096); in single_24x7_request() 1108 BUILD_BUG_ON(sizeof(*result_buffer) > 4096); in single_24x7_request()
|
/linux-4.1.27/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.1.27/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 22 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_output.c | 156 BUILD_BUG_ON(sizeof(*IPCB(skb)) > SKB_SGO_CB_OFFSET); in xfrm_output_gso() 157 BUILD_BUG_ON(sizeof(*IP6CB(skb)) > SKB_SGO_CB_OFFSET); in xfrm_output_gso()
|
/linux-4.1.27/arch/mips/net/ |
D | bpf_jit.c | 764 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 1207 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1232 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, in build_body() 1248 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 1255 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 1261 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 1268 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1293 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1295 BUILD_BUG_ON(offsetof(struct sk_buff, in build_body()
|
/linux-4.1.27/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.1.27/arch/x86/platform/uv/ |
D | uv_irq.c | 140 BUILD_BUG_ON(sizeof(struct uv_IO_APIC_route_entry) != in arch_enable_uv_irq() 187 BUILD_BUG_ON(sizeof(struct uv_IO_APIC_route_entry) != in arch_disable_uv_irq()
|
/linux-4.1.27/arch/arm64/mm/ |
D | init.c | 337 BUILD_BUG_ON(TASK_SIZE_32 > TASK_SIZE_64); in mem_init() 339 BUILD_BUG_ON(TASK_SIZE_64 > MODULES_VADDR); in mem_init()
|
/linux-4.1.27/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.1.27/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() 679 BUILD_BUG_ON(ARRAY_SIZE(node_state_attr) != NR_NODE_STATES); in register_node_type() 680 BUILD_BUG_ON(ARRAY_SIZE(node_state_attrs)-1 != NR_NODE_STATES); in register_node_type()
|
/linux-4.1.27/include/asm-generic/ |
D | fixmap.h | 31 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/mwifiex/ |
D | util.h | 57 BUILD_BUG_ON(sizeof(struct mwifiex_cb) > sizeof(skb->cb)); in MWIFIEX_SKB_RXCB()
|
/linux-4.1.27/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 | 407 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init() 423 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_ioremap_init()
|
/linux-4.1.27/drivers/leds/trigger/ |
D | ledtrig-cpu.c | 121 BUILD_BUG_ON(CONFIG_NR_CPUS > 9999); in ledtrig_cpu_init()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | cmpxchg.h | 109 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.1.27/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.1.27/arch/s390/kernel/ |
D | irq.c | 96 BUILD_BUG_ON(ARRAY_SIZE(irqclass_sub_desc) != NR_ARCH_IRQS); in init_IRQ() 207 BUILD_BUG_ON(!is_power_of_2(ARRAY_SIZE(ext_int_hash))); in ext_hash()
|
/linux-4.1.27/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.1.27/net/hsr/ |
D | hsr_main.c | 120 BUILD_BUG_ON(sizeof(struct hsr_tag) != HSR_HLEN); in hsr_init()
|
/linux-4.1.27/arch/parisc/mm/ |
D | init.c | 594 BUILD_BUG_ON(PTE_ENTRY_SIZE != sizeof(pte_t)); in mem_init() 595 BUILD_BUG_ON(PMD_ENTRY_SIZE != sizeof(pmd_t)); in mem_init() 596 BUILD_BUG_ON(PGD_ENTRY_SIZE != sizeof(pgd_t)); in mem_init() 597 BUILD_BUG_ON(PAGE_SHIFT + BITS_PER_PTE + BITS_PER_PMD + BITS_PER_PGD in mem_init()
|
/linux-4.1.27/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.1.27/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() 1560 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_PAYLOAD_LEN); in carl9170_rng_get() 1891 BUILD_BUG_ON(sizeof(ar->eeprom) & 3); in carl9170_read_eeprom() 1893 BUILD_BUG_ON(RB > CARL9170_MAX_CMD_LEN - 4); in carl9170_read_eeprom() 1896 BUILD_BUG_ON(sizeof(ar->eeprom) % RB); in carl9170_read_eeprom()
|
/linux-4.1.27/arch/x86/boot/ |
D | main.c | 39 BUILD_BUG_ON(sizeof boot_params != 4096); in copy_boot_params()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 141 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-4.1.27/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()
|
D | ptrace.c | 218 BUILD_BUG_ON(PTRACE_O_MASK_TILE & PTRACE_O_MASK); in arch_ptrace()
|
/linux-4.1.27/sound/firewire/dice/ |
D | dice.c | 205 BUILD_BUG_ON(NICK_NAME_SIZE < sizeof(card->shortname)); in dice_card_strings() 211 BUILD_BUG_ON(sizeof(card->shortname) % 4 != 0); in dice_card_strings()
|
/linux-4.1.27/lib/ |
D | lockref.c | 20 BUILD_BUG_ON(sizeof(old) != 8); \
|
D | vsprintf.c | 480 BUILD_BUG_ON(' ' + ZEROPAD != '0'); in number() 1786 BUILD_BUG_ON(FORMAT_TYPE_ULONG + SIGN != FORMAT_TYPE_LONG); in format_decode() 1793 BUILD_BUG_ON(FORMAT_TYPE_UBYTE + SIGN != FORMAT_TYPE_BYTE); in format_decode() 1796 BUILD_BUG_ON(FORMAT_TYPE_USHORT + SIGN != FORMAT_TYPE_SHORT); in format_decode() 1799 BUILD_BUG_ON(FORMAT_TYPE_UINT + SIGN != FORMAT_TYPE_INT); in format_decode()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | futex.h | 120 BUILD_BUG_ON(sizeof(atomic_t) != sizeof(int)); in futex_atomic_op_inuser()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/ |
D | smp-shx3.c | 78 BUILD_BUG_ON(SMP_MSG_NR >= 8); in shx3_prepare_cpus()
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha1_ssse3_glue.c | 62 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_ssse3_update()
|
D | sha256_ssse3_glue.c | 68 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in sha256_ssse3_update()
|
D | sha512_ssse3_glue.c | 67 BUILD_BUG_ON(offsetof(struct sha512_state, state) != 0); in sha512_ssse3_update()
|
/linux-4.1.27/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.1.27/drivers/bus/ |
D | arm-ccn.c | 954 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL != CCN_SBAS_PMU_EVENT_SEL); in arm_ccn_pmu_node_event_config() 955 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL != CCN_RNI_PMU_EVENT_SEL); in arm_ccn_pmu_node_event_config() 956 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(1) != in arm_ccn_pmu_node_event_config() 958 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__SHIFT(1) != in arm_ccn_pmu_node_event_config() 960 BUILD_BUG_ON(CCN_HNF_PMU_EVENT_SEL__ID__MASK != in arm_ccn_pmu_node_event_config() 962 BUILD_BUG_ON(CCN_SBAS_PMU_EVENT_SEL__ID__MASK != in arm_ccn_pmu_node_event_config() 1049 BUILD_BUG_ON(CCN_IDX_PMU_CYCLE_COUNTER != CCN_NUM_PMU_EVENT_COUNTERS); in arm_ccn_pmu_overflow_handler()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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()
|
D | sha256-spe-glue.c | 60 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context()
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/i915/ |
D | i915_vgpu.c | 67 BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE); in i915_check_vgpu()
|
D | intel_sdvo.c | 652 BUILD_BUG_ON(sizeof(response) != 1); in intel_sdvo_get_trained_inputs() 708 BUILD_BUG_ON(sizeof(clocks) != 4); in intel_sdvo_get_input_pixel_clock_range() 790 BUILD_BUG_ON(sizeof(dtd->part1) != 8); in intel_sdvo_get_preferred_input_timing() 791 BUILD_BUG_ON(sizeof(dtd->part2) != 8); in intel_sdvo_get_preferred_input_timing() 906 BUILD_BUG_ON(sizeof(encode) != 2); in intel_sdvo_check_supp_encode() 1037 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_set_tv_format() 1581 BUILD_BUG_ON(sizeof(*caps) != 8); in intel_sdvo_get_capabilities() 1924 BUILD_BUG_ON(sizeof(tv_res) != 3); in intel_sdvo_get_tv_modes() 2707 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_tv_create_property() 2900 BUILD_BUG_ON(sizeof(enhancements) != 2); in intel_sdvo_create_enhance_property()
|
/linux-4.1.27/include/xen/ |
D | grant_table.h | 222 BUILD_BUG_ON(sizeof(struct xen_page_foreign) > BITS_PER_LONG); in xen_page_foreign()
|
/linux-4.1.27/arch/arc/kernel/ |
D | unwind.c | 311 BUILD_BUG_ON(offsetof(typeof(*header), fde_count) in setup_unwind_table() 315 BUILD_BUG_ON(offsetof(typeof(*header), table) in setup_unwind_table() 550 BUILD_BUG_ON(sizeof(u64) != sizeof(value)); in read_pointer() 552 BUILD_BUG_ON(sizeof(u32) != sizeof(value)); in read_pointer() 560 BUILD_BUG_ON(sizeof(uleb128_t) > sizeof(value)); in read_pointer()
|
/linux-4.1.27/include/linux/mlx5/ |
D | device.h | 66 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \ 84 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \ 85 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
|
/linux-4.1.27/net/openvswitch/ |
D | flow_table.c | 422 BUILD_BUG_ON(sizeof(long) % sizeof(u32)); in flow_hash() 753 BUILD_BUG_ON(__alignof__(struct sw_flow_key) % __alignof__(long)); in ovs_flow_init() 754 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); in ovs_flow_init()
|
/linux-4.1.27/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.1.27/fs/ext4/ |
D | crypto_key.c | 148 BUILD_BUG_ON(EXT4_AES_128_ECB_KEY_SIZE != in ext4_generate_encryption_key()
|
D | crypto_policy.c | 74 BUILD_BUG_ON(sizeof(ctx.nonce) != EXT4_KEY_DERIVATION_NONCE_SIZE); in ext4_create_encryption_context_from_policy()
|
/linux-4.1.27/net/netfilter/ |
D | xt_connlimit.c | 447 BUILD_BUG_ON(CONNLIMIT_LOCK_SLOTS > CONNLIMIT_SLOTS); in connlimit_mt_init() 448 BUILD_BUG_ON((CONNLIMIT_SLOTS % CONNLIMIT_LOCK_SLOTS) != 0); in connlimit_mt_init()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | core.h | 107 BUILD_BUG_ON(sizeof(struct ath10k_skb_cb) > in ATH10K_SKB_CB() 114 BUILD_BUG_ON(sizeof(struct ath10k_skb_rxcb) > sizeof(skb->cb)); in ATH10K_SKB_RXCB()
|
D | htt_tx.c | 220 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_ll() 221 BUILD_BUG_ON((HTT_RX_BUF_SIZE & HTT_MAX_CACHE_LINE_SIZE_MASK) != 0); in ath10k_htt_send_rx_ring_cfg_ll()
|
D | ce.c | 1092 BUILD_BUG_ON(2*TARGET_NUM_MSDU_DESC > in ath10k_ce_alloc_pipe() 1094 BUILD_BUG_ON(2*TARGET_10X_NUM_MSDU_DESC > in ath10k_ce_alloc_pipe() 1096 BUILD_BUG_ON(2*TARGET_TLV_NUM_MSDU_DESC > in ath10k_ce_alloc_pipe()
|
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/perf/req-gen/ |
D | perf.h | 77 BUILD_BUG_ON(offsetof(struct STRUCT_NAME(r_name), f_name) != f_offset);
|
/linux-4.1.27/drivers/block/ |
D | nvme-core.c | 125 BUILD_BUG_ON(sizeof(struct nvme_rw_command) != 64); in _nvme_check_size() 126 BUILD_BUG_ON(sizeof(struct nvme_create_cq) != 64); in _nvme_check_size() 127 BUILD_BUG_ON(sizeof(struct nvme_create_sq) != 64); in _nvme_check_size() 128 BUILD_BUG_ON(sizeof(struct nvme_delete_queue) != 64); in _nvme_check_size() 129 BUILD_BUG_ON(sizeof(struct nvme_features) != 64); in _nvme_check_size() 130 BUILD_BUG_ON(sizeof(struct nvme_format_cmd) != 64); in _nvme_check_size() 131 BUILD_BUG_ON(sizeof(struct nvme_abort_cmd) != 64); in _nvme_check_size() 132 BUILD_BUG_ON(sizeof(struct nvme_command) != 64); in _nvme_check_size() 133 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != 4096); in _nvme_check_size() 134 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != 4096); in _nvme_check_size() [all …]
|
/linux-4.1.27/arch/arm/mm/ |
D | init.c | 550 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init() 555 BUILD_BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > PAGE_OFFSET); in mem_init()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/crypto/ccp/ |
D | ccp-ops.c | 911 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); in ccp_run_aes_cmac_cmd() 912 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); in ccp_run_aes_cmac_cmd() 1064 BUILD_BUG_ON(CCP_AES_KEY_KSB_COUNT != 1); in ccp_run_aes_cmd() 1065 BUILD_BUG_ON(CCP_AES_CTX_KSB_COUNT != 1); in ccp_run_aes_cmd() 1241 BUILD_BUG_ON(CCP_XTS_AES_KEY_KSB_COUNT != 1); in ccp_run_xts_aes_cmd() 1242 BUILD_BUG_ON(CCP_XTS_AES_CTX_KSB_COUNT != 1); in ccp_run_xts_aes_cmd() 1416 BUILD_BUG_ON(CCP_SHA_KSB_COUNT != 1); in ccp_run_sha_cmd() 1696 BUILD_BUG_ON(CCP_PASSTHRU_KSB_COUNT != 1); in ccp_run_passthru_cmd()
|
/linux-4.1.27/net/sctp/ |
D | probe.c | 208 BUILD_BUG_ON(__same_type(sctp_sf_eat_sack_6_2, in sctpprobe_init()
|
/linux-4.1.27/mm/ |
D | debug.c | 89 BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) != __NR_PAGEFLAGS); in dump_page_badflags()
|
/linux-4.1.27/kernel/ |
D | tsacct.c | 37 BUILD_BUG_ON(TS_COMM_LEN < TASK_COMM_LEN); in bacct_add_tsk()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | uaccess.h | 136 BUILD_BUG_ON(ptr_size >= 8); \
|
/linux-4.1.27/drivers/auxdisplay/ |
D | cfag12864b.c | 340 BUILD_BUG_ON(PAGE_SIZE < CFAG12864B_SIZE); in cfag12864b_init()
|
/linux-4.1.27/arch/arm/kernel/ |
D | kgdb.c | 255 BUILD_BUG_ON(sizeof(int) != BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint()
|
/linux-4.1.27/net/wireless/ |
D | mesh.c | 104 BUILD_BUG_ON(IEEE80211_MAX_SSID_LEN != IEEE80211_MAX_MESH_ID_LEN); in __cfg80211_join_mesh()
|
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/pcie/ |
D | tx.c | 514 BUILD_BUG_ON(IWL_HCMD_SCRATCHBUF_SIZE != sizeof(*txq->scratchbufs)); in iwl_pcie_txq_alloc() 515 BUILD_BUG_ON(offsetof(struct iwl_pcie_txq_scratch_buf, scratch) != in iwl_pcie_txq_alloc() 552 BUILD_BUG_ON(TFD_QUEUE_SIZE_MAX & (TFD_QUEUE_SIZE_MAX - 1)); in iwl_pcie_txq_init() 1334 BUILD_BUG_ON(IWL_MAX_CMD_TBS_PER_TFD > IWL_NUM_OF_TBS - 1); in iwl_pcie_enqueue_hcmd() 1839 BUILD_BUG_ON(sizeof(struct iwl_tx_cmd) < IWL_HCMD_SCRATCHBUF_SIZE); in iwl_trans_pcie_tx()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | if_spi.c | 692 BUILD_BUG_ON(IF_SPI_CMD_BUF_SIZE < LBS_CMD_BUFFER_SIZE); in if_spi_c2h_cmd() 693 BUILD_BUG_ON(IF_SPI_CMD_BUF_SIZE < LBS_UPLD_SIZE); in if_spi_c2h_cmd() 700 BUILD_BUG_ON(IF_SPI_CMD_BUF_SIZE % 4 != 0); in if_spi_c2h_cmd()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | pgtable.h | 284 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS)
|
/linux-4.1.27/lib/lzo/ |
D | lzo1x_compress.c | 230 BUILD_BUG_ON(D_SIZE * sizeof(lzo_dict_t) > LZO1X_1_MEM_COMPRESS); in lzo1x_1_compress()
|
/linux-4.1.27/include/linux/netfilter/ |
D | x_tables.h | 350 BUILD_BUG_ON(IFNAMSIZ > 4 * sizeof(unsigned long)); in ifname_compare_aligned()
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 566 BUILD_BUG_ON(ARRAY_SIZE(btrfs_unknown_feature_names) != in init_feature_attrs() 568 BUILD_BUG_ON(ARRAY_SIZE(btrfs_unknown_feature_names[0]) != in init_feature_attrs()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | main.c | 373 BUILD_BUG_ON(ARRAY_SIZE(priv->mc_maclist) != in p54_prepare_multicast() 662 BUILD_BUG_ON(P54_QUEUE_NUM > ARRAY_SIZE(priv->tx_stats)); in p54_flush_count()
|
/linux-4.1.27/drivers/scsi/ufs/ |
D | ufshcd.h | 542 BUILD_BUG_ON(ALIGNED_UPIU_SIZE < in check_upiu_size()
|