Home
last modified time | relevance | path

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

/tools/testing/cxl/
Dconfig_check.c10 BUILD_BUG_ON(!IS_ENABLED(CONFIG_64BIT)); in check()
11 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS)); in check()
12 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI)); in check()
13 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM)); in check()
14 BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST)); in check()
15 BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST)); in check()
16 BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS)); in check()
/tools/testing/nvdimm/
Dconfig_check.c10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); in check()
11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); in check()
12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); in check()
13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN)); in check()
15 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); in check()
16 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX)); in check()
17 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX_PMEM)); in check()
/tools/include/linux/
Dbuild_bug.h21 BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
23 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
49 #define BUILD_BUG_ON(condition) \ macro
/tools/virtio/linux/
Dbuild_bug.h5 #define BUILD_BUG_ON(x) macro
/tools/testing/selftests/openat2/
Dopenat2_test.c86 BUILD_BUG_ON(ARRAY_LEN(misalignments) != NUM_OPENAT2_STRUCT_VARIATIONS); in test_openat2_struct()
87 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_STRUCT_TESTS); in test_openat2_struct()
244 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_FLAG_TESTS); in test_openat2_flags()
Dhelpers.h18 #define BUILD_BUG_ON(e) ((void)(sizeof(struct { int:(-!!(e)); }))) macro
Dhelpers.c101 BUILD_BUG_ON(sizeof(struct open_how) != OPEN_HOW_SIZE_VER0); in init()
Dresolve_test.c439 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_OPATH_TESTS); in test_openat2_opath_tests()
/tools/testing/memblock/tests/
Dcommon.c123 BUILD_BUG_ON(ARRAY_SIZE(help_opts) != ARRAY_SIZE(long_opts) - 1); in usage()
/tools/perf/trace/beauty/include/linux/
Dsocket.h21 BUILD_BUG_ON(((size) > sizeof(struct __kernel_sockaddr_storage)))
/tools/testing/selftests/bpf/prog_tests/
Duser_ringbuf.c426 BUILD_BUG_ON(total_samples <= c_max_entries); in test_user_ringbuf_loop()
/tools/bpf/resolve_btfids/
Dmain.c699 BUILD_BUG_ON((u32 *)set8->pairs != &set8->pairs[0].id); in sets_patch()
/tools/perf/util/
Ddlfilter.c364 #define CHECK_FLAG(x) BUILD_BUG_ON((u64)PERF_DLFILTER_FLAG_ ## x != (u64)PERF_IP_FLAG_ ## x)
/tools/testing/selftests/net/
Dipsec.c44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
591 BUILD_BUG_ON(sizeof(struct test_desc) > PIPE_BUF); in write_msg()
1617 BUILD_BUG_ON(XFRMA_IF_ID <= XFRMA_SPD_MAX + 1); in xfrm_spdinfo_set_thresh()
/tools/memory-model/Documentation/
Dcontrol-dependencies.txt149 BUILD_BUG_ON(MAX <= 1); /* Order load from a with store to b. */
/tools/testing/cxl/test/
Dcxl.c1316 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()