Searched refs:BUILD_BUG_ON (Results 1 – 23 of 23) sorted by relevance
| /tools/libs/guest/ |
| A D | xg_sr_common.c | 146 BUILD_BUG_ON(sizeof(struct xc_sr_ihdr) != 24); in build_assertions() 147 BUILD_BUG_ON(sizeof(struct xc_sr_dhdr) != 16); in build_assertions() 148 BUILD_BUG_ON(sizeof(struct xc_sr_rhdr) != 8); in build_assertions() 150 BUILD_BUG_ON(sizeof(struct xc_sr_rec_page_data_header) != 8); in build_assertions() 151 BUILD_BUG_ON(sizeof(struct xc_sr_rec_x86_pv_info) != 8); in build_assertions() 152 BUILD_BUG_ON(sizeof(struct xc_sr_rec_x86_pv_p2m_frames) != 8); in build_assertions() 153 BUILD_BUG_ON(sizeof(struct xc_sr_rec_x86_pv_vcpu_hdr) != 8); in build_assertions() 154 BUILD_BUG_ON(sizeof(struct xc_sr_rec_x86_tsc_info) != 24); in build_assertions() 155 BUILD_BUG_ON(sizeof(struct xc_sr_rec_hvm_params_entry) != 16); in build_assertions() 156 BUILD_BUG_ON(sizeof(struct xc_sr_rec_hvm_params) != 8); in build_assertions()
|
| A D | xg_core_arm.c | 91 BUILD_BUG_ON(GUEST_GNTTAB_SIZE < XC_PAGE_SIZE); in xc_core_arch_get_scratch_gpfn()
|
| A D | xg_dom_arm.c | 56 BUILD_BUG_ON(NR_MAGIC_PAGES > GUEST_MAGIC_SIZE >> XC_PAGE_SHIFT); in alloc_magic_pages()
|
| A D | xg_dom_bzimageloader.c | 361 BUILD_BUG_ON(sizeof(lzo_uint) != sizeof(size_t)); in xc_try_lzo1x_decode()
|
| A D | xg_dom_x86.c | 1835 BUILD_BUG_ON(XEN_HVM_MEMMAP_TYPE_RAM != E820_RAM); in bootlate_hvm() 1836 BUILD_BUG_ON(XEN_HVM_MEMMAP_TYPE_ACPI != E820_ACPI); in bootlate_hvm()
|
| /tools/libs/gnttab/ |
| A D | linux.c | 247 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 251 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 255 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 259 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 263 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 268 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 272 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 276 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 280 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() 284 BUILD_BUG_ON(offsetof(struct ioctl_gntdev_grant_copy_segment, in osdep_gnttab_grant_copy() [all …]
|
| /tools/misc/ |
| A D | xen-diag.c | 113 BUILD_BUG_ON(EXIT_SUCCESS != 0); in main() 114 BUILD_BUG_ON(EXIT_FAILURE != 1); in main() 115 BUILD_BUG_ON(EXIT_TIMEOUT != 2); in main()
|
| A D | xen-livepatch.c | 631 BUILD_BUG_ON(EXIT_SUCCESS != 0); in main() 632 BUILD_BUG_ON(EXIT_FAILURE != 1); in main() 633 BUILD_BUG_ON(EXIT_TIMEOUT != 2); in main()
|
| A D | xen-cpuid.c | 78 BUILD_BUG_ON(ARRAY_SIZE(leaf_info) != FEATURESET_NR_ENTRIES); in decode_featureset() 79 BUILD_BUG_ON(ARRAY_SIZE(feature_names) != FEATURESET_NR_ENTRIES * 32); in decode_featureset()
|
| /tools/include/xen-tools/ |
| A D | common-macros.h | 13 #ifndef BUILD_BUG_ON 15 #define BUILD_BUG_ON(p) ({ _Static_assert(!(p), "!(" #p ")"); }) macro 17 #define BUILD_BUG_ON(p) ((void)sizeof(char[1 - 2 * !!(p)])) macro
|
| /tools/libs/light/ |
| A D | libxl_arm_acpi.c | 193 BUILD_BUG_ON(sizeof(ACPI_OEM_ID) != sizeof(rsdp->oem_id)); in make_acpi_rsdp() 209 BUILD_BUG_ON(sizeof(ACPI_OEM_ID) != sizeof(h->oem_id)); in make_acpi_header() 211 BUILD_BUG_ON(sizeof(ACPI_OEM_TABLE_ID) != sizeof(h->oem_table_id)); in make_acpi_header() 214 BUILD_BUG_ON(sizeof(ACPI_ASL_COMPILER_ID) != sizeof(h->asl_compiler_id)); in make_acpi_header()
|
| A D | libxl_psr.c | 323 BUILD_BUG_ON(sizeof(libxl_psr_type) != sizeof(xc_psr_type)); in libxl__psr_type_to_libxc_psr_type()
|
| A D | libxl_cpuid.c | 355 BUILD_BUG_ON(ARRAY_SIZE(feature_to_policy) != FEATURESET_NR_ENTRIES); in libxl_cpuid_parse_config()
|
| /tools/firmware/hvmloader/ |
| A D | pci.c | 124 BUILD_BUG_ON((typeof(*pci_devfn_decode_type))PCI_COMMAND_IO != in pci_setup() 126 BUILD_BUG_ON((typeof(*pci_devfn_decode_type))PCI_COMMAND_MEMORY != in pci_setup() 128 BUILD_BUG_ON((typeof(*pci_devfn_decode_type))PCI_COMMAND_MASTER != in pci_setup()
|
| A D | rombios.c | 134 BUILD_BUG_ON(sizeof(rombios) > 0x100000 - ROMBIOS_PHYSICAL_ADDRESS); in rombios_load()
|
| A D | tests.c | 288 BUILD_BUG_ON(SCRATCH_PHYSICAL_ADDRESS > HVMLOADER_PHYSICAL_ADDRESS); in perform_tests()
|
| A D | smbios.c | 270 BUILD_BUG_ON(sizeof(xen_domain_handle_t) != 16); in hvm_write_smbios_tables()
|
| /tools/ocaml/libs/mmap/ |
| A D | xenmmap_stubs.c | 64 BUILD_BUG_ON((sizeof(struct mmap_interface) % sizeof(value)) != 0); in stub_mmap_init()
|
| /tools/libs/ctrl/ |
| A D | xc_pm.c | 278 BUILD_BUG_ON(sizeof(user_para->u) != sizeof(sys_para->u)); in xc_get_cpufreq_para() 281 BUILD_BUG_ON(offsetof(typeof(user_para->u), fld) != \ in xc_get_cpufreq_para()
|
| /tools/libfsimage/xfs/ |
| A D | fsys_xfs.c | 479 BUILD_BUG_ON(XFS_SB_BLOCKLOG_MIN < SECTOR_BITS); in xfs_mount()
|
| /tools/ocaml/libs/xc/ |
| A D | xenctrl_stubs.c | 258 BUILD_BUG_ON(sizeof(cfg) != 68); in stub_xc_domain_create() 1108 BUILD_BUG_ON((sizeof(struct mmap_interface) % sizeof(value)) != 0); in stub_map_foreign_range()
|
| /tools/xenstored/ |
| A D | domain.c | 1890 BUILD_BUG_ON(sizeof(c->domain->unique_id) != sizeof(uint64_t)); in dump_state_connections()
|
| A D | core.c | 841 BUILD_BUG_ON(XENSTORE_PAYLOAD_MAX >= (typeof(hdr->datalen))(-1)); in write_node_raw()
|
Completed in 88 milliseconds