/illumos-gate/usr/src/boot/common/ |
H A D | bootstrap.h | 425 #define CTASSERT(x) _Static_assert(x, "compile-time assertion failed") macro
|
/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/boot/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 546 CTASSERT(sizeof (vdev_boot_envblock_t) == VDEV_PAD_SIZE);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | disklabel.h | 147 #ifdef CTASSERT 148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
|
H A D | diskmbr.h | 80 #ifdef CTASSERT 81 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
|
H A D | vtoc.h | 103 #ifdef CTASSERT 104 CTASSERT(sizeof(struct vtoc8) == 512); 158 #ifdef CTASSERT 159 CTASSERT(sizeof(struct dk_label) == 512);
|
/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/cmd/beadm/ |
H A D | beadm.c | 64 CTASSERT(DT_BUF_LEN >= NN_NUMBUF_SZ);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 143 CTASSERT(NUMBER_WIDTH >= NN_NUMBUF_SZ);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 332 CTASSERT(sizeof (authp) <= RQCRED_SIZE);
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 2652 CTASSERT(sizeof (struct authunix_parms) <= RQCRED_SIZE);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 1336 CTASSERT(sizeof (struct authunix_parms) <= RQCRED_SIZE);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/ |
H A D | disk_label.c | 254 CTASSERT(sizeof (*mbr) == SECTOR_SIZE); in cmd_mbr()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 2576 CTASSERT(ARRAY_SIZE(_dtrace_options) == DTRACEOPT_MAX);
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 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); 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/cmd/rpcbind/ |
H A D | rpcb_svc_com.c | 1043 CTASSERT(sizeof (struct authsys_parms) <= RQCRED_SIZE); in rpcbproc_callit_com()
|
/illumos-gate/usr/src/cmd/stat/fsstat/ |
H A D | fsstat.c | 79 CTASSERT(LBUFSZ >= NN_NUMBUF_SZ);
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 83 CTASSERT(NUMBER_WIDTH >= NN_NUMBUF_SZ);
|
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 206 CTASSERT(sizeof (struct authdes_cred) <= RQCRED_SIZE); in ypupdate_prog() 207 CTASSERT(sizeof (struct authunix_parms) <= RQCRED_SIZE); in ypupdate_prog()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 488 CTASSERT(sizeof (bytes) >= NN_NUMBUF_SZ); in dump_bpobj() 489 CTASSERT(sizeof (comp) >= NN_NUMBUF_SZ); in dump_bpobj() 490 CTASSERT(sizeof (uncomp) >= NN_NUMBUF_SZ); in dump_bpobj() 1640 CTASSERT(sizeof (nice) >= NN_NUMBUF_SZ); in dump_dsl_dir() 1698 CTASSERT(sizeof (used) >= NN_NUMBUF_SZ); in dump_dsl_dataset() 1772 CTASSERT(sizeof (bytes) >= NN_NUMBUF_SZ); in dump_bptree() 1813 CTASSERT(sizeof (comp) >= NN_NUMBUF_SZ); in dump_full_bpobj() 1922 CTASSERT(sizeof (comp) >= NN_NUMBUF_SZ); in dump_deadlist() 2248 CTASSERT(sizeof (iblk) >= NN_NUMBUF_SZ); in dump_object() 2249 CTASSERT(sizeof (dblk) >= NN_NUMBUF_SZ); in dump_object() [all …]
|
/illumos-gate/usr/src/lib/libads/common/ |
H A D | dsgetdc.c | 116 CTASSERT(sizeof (**dcinfo) == sizeof (res.DsGetDcNameRes_u.res0)); in _DsGetDcName()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | mbrtoc16.c | 36 CTASSERT(sizeof (_CHAR16State) <= sizeof (mbstate_t));
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | nicenum.c | 38 CTASSERT(INDEX_MAX * 10 < sizeof (uint64_t) * 8);
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_marshal.c | 423 CTASSERT(sizeof (ndr_common_header_t) >= NDR_CMN_HDR_SIZE);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth_loopb.c | 50 CTASSERT(sizeof (struct authlpbk_area) <= RQCRED_SIZE);
|