Home
last modified time | relevance | path

Searched refs:CTASSERT (Results 1 – 25 of 90) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/sys/nvme/
H A Docp.h642 CTASSERT(sizeof (ocp_vul_smart_t) == 512);
645 CTASSERT(sizeof (ocp_vul_errrec_t) == 512);
648 CTASSERT(sizeof (ocp_fwact_entry_t) == 64);
650 CTASSERT(sizeof (ocp_vul_fwact_t) == 4096);
653 CTASSERT(sizeof (ocp_lat_bkt_ctr_t) == 16);
654 CTASSERT(sizeof (ocp_lat_alts_t) == 24);
655 CTASSERT(sizeof (ocp_lat_aml_t) == 6);
659 CTASSERT(sizeof (ocp_vul_lat_t) == 512);
660 CTASSERT(sizeof (ocp_vul_devcap_t) == 4096);
662 CTASSERT(sizeof (ocp_req_str_t) == 16);
[all …]
H A Dwdc_sn840.h100 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 Dwdc.h113 CTASSERT((sizeof (wdc_e6_header_t) % 4) == 0);
114 CTASSERT(sizeof (wdc_e6_header_t) == 8);
H A Dmicron_7300.h77 CTASSERT(sizeof (micron_vul_smart_t) == 0x48);
H A Dmicron.h102 CTASSERT(sizeof (micron_vul_ext_smart_t) == 0x100);
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx.h99 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 Damdvi_priv.h109 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 Dvmcb.h246 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 Dvtoc.h103 #ifdef CTASSERT
104 CTASSERT(sizeof(struct vtoc8) == 512);
158 #ifdef CTASSERT
159 CTASSERT(sizeof(struct dk_label) == 512);
H A Ddiskmbr.h80 #ifdef CTASSERT
81 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
H A Ddisklabel.h147 #ifdef CTASSERT
148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_ept.c41 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 Dvmm_sol_rvi.c63 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 Dmlxcx_cmd.c3718 CTASSERT(sizeof (mlxcx_eventq_ent_t) == 64);
3723 CTASSERT(sizeof (mlxcx_completionq_error_ent_t) ==
3728 CTASSERT(sizeof (mlxcx_wqe_eth_seg_t) == (1 << 5));
3751 CTASSERT(sizeof (mlxcx_tis_ctx_t) == 0xa0);
3784 CTASSERT(sizeof (mlxcx_reg_ptys_t) == 64);
3793 CTASSERT(offsetof(mlxcx_ppcnt_ieee_802_3_t,
3795 CTASSERT(offsetof(mlxcx_ppcnt_ieee_802_3_t,
3798 CTASSERT(sizeof (mlxcx_reg_ppcnt_t) == 256);
3801 CTASSERT(offsetof(mlxcx_cmd_access_register_in_t,
3803 CTASSERT(offsetof(mlxcx_cmd_access_register_in_t,
[all …]
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h369 #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 Dmain.c53 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 Dvirtio_impl.h252 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 Dnvmeadm.c58 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);
63 CTASSERT(offsetof(nvme_identify_ctrl_t, id_psd) == 2048);
64 CTASSERT(offsetof(nvme_identify_ctrl_t, id_vs) == 3072);
67 CTASSERT(offsetof(nvme_identify_nsid_t, id_fpi) == 32);
69 CTASSERT(offsetof(nvme_identify_nsid_t, id_nguid) == 104);
70 CTASSERT(offsetof(nvme_identify_nsid_t, id_lbaf) == 128);
71 CTASSERT(offsetof(nvme_identify_nsid_t, id_vs) == 384);
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dsmt.c146 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 Darc_impl.h245 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 Dccd.h78 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 Dmpapi_impl.h78 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 Dintr.c479 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);
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/
H A Dpcie_hp.h248 CTASSERT(PCIEHPC_LED_NSTATES == PCIE_LL_ATTENTION_BUTTON + 1);
256 CTASSERT(PCIEHPC_LED_NLEDS == PCIEHPC_PLAT_ID_ATTN + 1);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c206 CTASSERT(sizeof (struct authdes_cred) <= RQCRED_SIZE); in ypupdate_prog()
207 CTASSERT(sizeof (struct authunix_parms) <= RQCRED_SIZE); in ypupdate_prog()

1234