Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/include/linux/
Dbuild_bug.h13 #define BUILD_BUG_ON(condition) (0) macro
19 BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
21 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
67 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
69 #define BUILD_BUG_ON(condition) \ macro
/external/u-boot/fs/ubifs/
Dsuper.c2554 BUILD_BUG_ON(sizeof(struct ubifs_ch) != 24); in ubifs_init()
2557 BUILD_BUG_ON(UBIFS_CH_SZ & 7); in ubifs_init()
2558 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); in ubifs_init()
2559 BUILD_BUG_ON(UBIFS_DENT_NODE_SZ & 7); in ubifs_init()
2560 BUILD_BUG_ON(UBIFS_XENT_NODE_SZ & 7); in ubifs_init()
2561 BUILD_BUG_ON(UBIFS_DATA_NODE_SZ & 7); in ubifs_init()
2562 BUILD_BUG_ON(UBIFS_TRUN_NODE_SZ & 7); in ubifs_init()
2563 BUILD_BUG_ON(UBIFS_SB_NODE_SZ & 7); in ubifs_init()
2564 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init()
2565 BUILD_BUG_ON(UBIFS_REF_NODE_SZ & 7); in ubifs_init()
[all …]
Dreplay.c1005 BUILD_BUG_ON(UBIFS_TRUN_KEY > 5); in ubifs_replay_journal()
/external/u-boot/arch/arm/mach-tegra/
Dap.c172 BUILD_BUG_ON(CONFIG_ARMV7_SECURE_BASE & 0xFFFFF); in protect_secure_section()
173 BUILD_BUG_ON(CONFIG_ARMV7_SECURE_RESERVE_SIZE & 0xFFFFF); in protect_secure_section()
/external/iproute2/include/
Dbpf_scm.h51 BUILD_BUG_ON(sizeof(msg->msg_buf) < cmsg_ctl_len); in bpf_map_set_init()
Dutils.h208 #define BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)])) macro
/external/u-boot/arch/mips/include/asm/
Dio.h305 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
317 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
/external/u-boot/env/
Denv.c97 BUILD_BUG_ON(ARRAY_SIZE(env_locations) > BITS_PER_LONG); in env_set_inited()
/external/u-boot/drivers/gpio/
Dgpio-uclass.c502 BUILD_BUG_ON(GPIOF_COUNT != ARRAY_SIZE(gpio_function)); in get_function()
544 BUILD_BUG_ON(GPIOF_COUNT != ARRAY_SIZE(gpio_function)); in gpio_get_status()
/external/u-boot/drivers/net/fsl-mc/
Dmc.c407 BUILD_BUG_ON((CONFIG_SYS_LS_MC_DRAM_DPC_OFFSET & 0x3) != 0 || in load_mc_dpc()
483 BUILD_BUG_ON((CONFIG_SYS_LS_MC_DRAM_DPL_OFFSET & 0x3) != 0 || in load_mc_dpl()
/external/u-boot/drivers/mtd/ubi/
Dbuild.c1249 BUILD_BUG_ON(sizeof(struct ubi_ec_hdr) != 64); in ubi_init()
1250 BUILD_BUG_ON(sizeof(struct ubi_vid_hdr) != 64); in ubi_init()
/external/u-boot/drivers/clk/
Dclk-hsdk-cgu.c694 BUILD_BUG_ON(ARRAY_SIZE(clock_map) != CGU_MAX_CLOCKS); in hsdk_cgu_clk_probe()
/external/iproute2/misc/
Dss.c2618 BUILD_BUG_ON(sizeof(req.r) != sizeof(*raw)); in kill_inet_sock()