/illumos-gate/usr/src/uts/common/sys/nvme/ |
H A D | ocp.h | 642 CTASSERT(sizeof (ocp_vul_smart_t) == 512); 643 CTASSERT(offsetof(ocp_vul_smart_t, osh_therm_event) == 96); 644 CTASSERT(offsetof(ocp_vul_smart_t, osh_vers) == 494); 645 CTASSERT(sizeof (ocp_vul_errrec_t) == 512); 646 CTASSERT(offsetof(ocp_vul_errrec_t, oer_npanic) == 31); 647 CTASSERT(offsetof(ocp_vul_errrec_t, oer_npanic) == 31); 648 CTASSERT(sizeof (ocp_fwact_entry_t) == 64); 649 CTASSERT(offsetof(ocp_fwact_entry_t, ofe_rsvd50) == 50); 650 CTASSERT(sizeof (ocp_vul_fwact_t) == 4096); 651 CTASSERT(offsetof(ocp_vul_fwact_t, ofw_rsvd1288) == 1288); [all …]
|
H A D | wdc_sn840.h | 100 CTASSERT(sizeof (wdc_vul_sn840_eol_t) == 118); 178 CTASSERT(sizeof (wdc_vul_sn840_fw_act_ent_t) == 48); 190 CTASSERT(sizeof (wdc_vul_sn840_fw_act_hdr_t) == 16); 204 CTASSERT(sizeof (wdc_vul_sn840_ccds_info_t) == 36);
|
H A D | wdc.h | 113 CTASSERT((sizeof (wdc_e6_header_t) % 4) == 0); 114 CTASSERT(sizeof (wdc_e6_header_t) == 8);
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mfi/ |
H A D | mfi_ld.h | 78 CTASSERT(sizeof (mfi_array_t) == 288); 90 CTASSERT(sizeof (mfi_spare_t) == 40); 100 CTASSERT(sizeof (mfi_ld_ref_t) == 4); 115 CTASSERT(sizeof (mfi_ld_list_t) == 1032); 134 CTASSERT(sizeof (mfi_ld_parameters_t) == 32); 149 CTASSERT(sizeof (mfi_ld_properties_t) == 32); 160 CTASSERT(sizeof (mfi_span_t) == 24); 170 CTASSERT(sizeof (mfi_ld_config_t) == 256); 189 CTASSERT(sizeof (mfi_ld_progress_t) == 36); 204 CTASSERT(sizeof (mfi_ld_info_t) == 384);
|
H A D | mfi_bbu.h | 48 CTASSERT(sizeof (mfi_bbu_capacity_t) == 48); 63 CTASSERT(sizeof (mfi_bbu_design_info_t) == 67); 75 CTASSERT(sizeof (mfi_ibbu_state_t) == 32); 86 CTASSERT(sizeof (mfi_bbu_state_t) == 32); 113 CTASSERT(sizeof (mfi_bbu_status_t) == 64); 123 CTASSERT(sizeof (mfi_bbu_properties_t) == 32);
|
H A D | mfi_pd.h | 48 CTASSERT(sizeof (mfi_pd_ref_t) == 4); 198 CTASSERT(sizeof (mfi_pd_info_t) == 512); 214 CTASSERT(sizeof (mfi_pd_cfg_t) == 8); 246 CTASSERT(sizeof (mfi_pd_addr_t) == 24);
|
H A D | mfi.h | 301 CTASSERT(sizeof (mfi_cap_t) == 4); 391 CTASSERT(offsetof(mfi_frame_t, mf_init) == 0x18); 392 CTASSERT(sizeof (mfi_frame_t) == 64); 465 CTASSERT(sizeof (mfi_ctrl_props_t) == 64); 476 CTASSERT(sizeof (mfi_image_comp_t) == 72); 796 CTASSERT(sizeof (mfi_ctrl_info_t) == 0x800); 825 CTASSERT(sizeof (mfi_progress_t) == 4);
|
/illumos-gate/usr/src/uts/intel/io/vmm/intel/ |
H A D | vmx.h | 99 CTASSERT(sizeof (struct apic_page) == PAGE_SIZE); 107 CTASSERT(sizeof (struct pir_desc) == 64); 152 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0); 153 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0); 154 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
|
/illumos-gate/usr/src/uts/intel/io/vmm/amd/ |
H A D | amdvi_priv.h | 109 CTASSERT(sizeof(struct amdvi_dte) == 32); 161 CTASSERT(sizeof(struct amdvi_event) == 16); 251 CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58); 252 CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028); 253 CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040); 261 CTASSERT(sizeof(struct amdvi_ctrl) == 0x4000); 262 CTASSERT(sizeof(struct amdvi_ctrl) == AMDVI_MMIO_V1_SIZE);
|
H A D | vmcb.h | 246 CTASSERT(sizeof (struct vmcb_segment) == 16); 330 CTASSERT(sizeof (struct vmcb_ctrl) == 1024); 331 CTASSERT(offsetof(struct vmcb_ctrl, vmsa_pa) == 0x108); 378 CTASSERT(sizeof (struct vmcb_state) == 0xC00); 379 CTASSERT(offsetof(struct vmcb_state, int_to) == 0x290); 394 CTASSERT(sizeof (struct vmcb) == PAGE_SIZE); 395 CTASSERT(offsetof(struct vmcb, state) == 0x400);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | vtoc.h | 103 #ifdef CTASSERT 104 CTASSERT(sizeof(struct vtoc8) == 512); 158 #ifdef CTASSERT 159 CTASSERT(sizeof(struct dk_label) == 512);
|
H A D | diskmbr.h | 80 #ifdef CTASSERT 81 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
|
H A D | disklabel.h | 147 #ifdef CTASSERT 148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_ept.c | 41 CTASSERT(EPT_MAX_LEVELS <= MAX_GPT_LEVEL); 45 CTASSERT(EPT_R == PROT_READ); 46 CTASSERT(EPT_W == PROT_WRITE); 47 CTASSERT(EPT_X == PROT_EXEC);
|
H A D | vmm_sol_rvi.c | 63 CTASSERT((PAT_DEFAULT_ATTRIBUTE & 0xf) == MTRR_TYPE_WB); 64 CTASSERT(((PAT_DEFAULT_ATTRIBUTE >> 24) & 0xf) == MTRR_TYPE_UC);
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_cmd.c | 3716 CTASSERT(offsetof(mlxcx_eventq_ent_t, mleqe_unknown_data) == 0x20); 3717 CTASSERT(offsetof(mlxcx_eventq_ent_t, mleqe_signature) == 0x3c + 2); 3718 CTASSERT(sizeof (mlxcx_eventq_ent_t) == 64); 3720 CTASSERT(offsetof(mlxcx_completionq_error_ent_t, mlcqee_byte_cnt) == 0x2C); 3721 CTASSERT(offsetof(mlxcx_completionq_error_ent_t, mlcqee_wqe_opcode) == 0x38); 3723 CTASSERT(sizeof (mlxcx_completionq_error_ent_t) == 3725 CTASSERT(sizeof (mlxcx_wqe_control_seg_t) == (1 << 4)); 3727 CTASSERT(offsetof(mlxcx_wqe_eth_seg_t, mles_inline_headers) == 0x0e); 3728 CTASSERT(sizeof (mlxcx_wqe_eth_seg_t) == (1 << 5)); 3730 CTASSERT(sizeof (mlxcx_wqe_data_seg_t) == (1 << 4)); [all …]
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 369 #ifdef CTASSERT 370 CTASSERT(sizeof(struct fs) == 1376); 760 #ifdef CTASSERT 761 CTASSERT(sizeof(struct jsegrec) == JREC_SIZE); 762 CTASSERT(sizeof(struct jrefrec) == JREC_SIZE); 763 CTASSERT(sizeof(struct jmvrec) == JREC_SIZE); 764 CTASSERT(sizeof(struct jblkrec) == JREC_SIZE); 765 CTASSERT(sizeof(struct jtrncrec) == JREC_SIZE); 766 CTASSERT(sizeof(union jrec) == JREC_SIZE);
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | main.c | 53 CTASSERT(sizeof (struct bootargs) == BOOTARGS_SIZE); 54 CTASSERT(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO); 55 CTASSERT(offsetof(struct bootargs, bootflags) == BA_BOOTFLAGS); 56 CTASSERT(offsetof(struct bootinfo, bi_size) == BI_SIZE);
|
/illumos-gate/usr/src/uts/common/io/virtio/ |
H A D | virtio_impl.h | 252 CTASSERT(sizeof (virtio_vq_driver_t) == 337 CTASSERT(VIRTIO_PAGE_SIZE == 4096); 338 CTASSERT(ISP2(VIRTIO_PAGE_SIZE));
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 57 CTASSERT(sizeof (nvme_identify_ctrl_t) == NVME_IDENTIFY_BUFSIZE); 58 CTASSERT(offsetof(nvme_identify_ctrl_t, id_oacs) == 256); 59 CTASSERT(offsetof(nvme_identify_ctrl_t, id_sqes) == 512); 60 CTASSERT(offsetof(nvme_identify_ctrl_t, id_oncs) == 520); 61 CTASSERT(offsetof(nvme_identify_ctrl_t, id_subnqn) == 768); 62 CTASSERT(offsetof(nvme_identify_ctrl_t, id_nvmof) == 1792); 63 CTASSERT(offsetof(nvme_identify_ctrl_t, id_psd) == 2048); 64 CTASSERT(offsetof(nvme_identify_ctrl_t, id_vs) == 3072); 66 CTASSERT(sizeof (nvme_identify_nsid_t) == NVME_IDENTIFY_BUFSIZE); 67 CTASSERT(offsetof(nvme_identify_nsid_t, id_fpi) == 32); [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | smt.c | 146 CTASSERT(offsetof(cpu_smt_t, cs_sib) == 64); 147 CTASSERT(CM_IDLE == 0); 148 CTASSERT(CM_POISONED < (1 << CS_SHIFT)); 149 CTASSERT(CM_POISONED > CM_VCPU); 150 CTASSERT(CM_VCPU > CM_UNSAFE);
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | arc_impl.h | 245 CTASSERT(sizeof (l2arc_dev_hdr_phys_t) == SPA_MINBLOCKSIZE); 300 CTASSERT(IS_P2ALIGNED(sizeof (l2arc_log_blk_phys_t), 302 CTASSERT(sizeof (l2arc_log_blk_phys_t) >= SPA_MINBLOCKSIZE); 303 CTASSERT(sizeof (l2arc_log_blk_phys_t) <= SPA_MAXBLOCKSIZE);
|
/illumos-gate/usr/src/uts/intel/sys/amdzen/ |
H A D | ccd.h | 78 CTASSERT((APERTURE_BASE & ~APERTURE_MASK) == 0); in amdzen_smupwr_smn_reg() 79 CTASSERT((APERTURE_HI_BASE & ~APERTURE_MASK) == 0); in amdzen_smupwr_smn_reg() 225 CTASSERT((APERTURE_BASE & ~APERTURE_MASK) == 0); in amdzen_l3soc_smn_reg() 341 CTASSERT((APERTURE_BASE & ~APERTURE_MASK) == 0); in amdzen_scfctp_smn_reg()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | mpapi_impl.h | 78 CTASSERT(sizeof (mp_driver_prop_t) == 0x248); 174 CTASSERT(sizeof (mp_logical_unit_prop_t) == 0x268); 279 CTASSERT(sizeof (mp_proprietary_loadbalance_prop_t) == 0x218);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | intr.c | 479 CTASSERT(MCOFF(mcpu_pad) == MACHCPU_SIZE); 480 CTASSERT(MCOFF(mcpu_pad2) == MMU_PAGESIZE); 481 CTASSERT((MCOFF(mcpu_kpti) & 0xF) == 0); 482 CTASSERT(((sizeof (struct kpti_frame)) & 0xF) == 0); 483 CTASSERT((offsetof(struct kpti_frame, kf_tr_rsp) & 0xF) == 0); 484 CTASSERT(MCOFF(mcpu_pad3) < 2 * MMU_PAGESIZE);
|