Searched refs:CTASSERT (Results 1 - 25 of 168) sorted by relevance

1234567

/freebsd-10-stable/sys/dev/hyperv/netvsc/
H A Dif_hnreg.h105 CTASSERT(sizeof(struct hn_nvs_init) >= HN_NVS_REQSIZE_MIN);
122 CTASSERT(sizeof(struct hn_nvs_ndis_conf) >= HN_NVS_REQSIZE_MIN);
134 CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN);
145 CTASSERT(sizeof(struct hn_nvs_datapath) >= HN_NVS_REQSIZE_MIN);
153 CTASSERT(sizeof(struct hn_nvs_rxbuf_conn) >= HN_NVS_REQSIZE_MIN);
175 CTASSERT(sizeof(struct hn_nvs_rxbuf_disconn) >= HN_NVS_REQSIZE_MIN);
183 CTASSERT(sizeof(struct hn_nvs_chim_conn) >= HN_NVS_REQSIZE_MIN);
197 CTASSERT(sizeof(struct hn_nvs_chim_disconn) >= HN_NVS_REQSIZE_MIN);
207 CTASSERT(sizeof(struct hn_nvs_subch_req) >= HN_NVS_REQSIZE_MIN);
230 CTASSERT(sizeo
[all...]
/freebsd-10-stable/sys/amd64/vmm/intel/
H A Dvmx.h89 CTASSERT(sizeof(struct apic_page) == PAGE_SIZE);
97 CTASSERT(sizeof(struct pir_desc) == 64);
124 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0);
125 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0);
126 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
H A Dvmx_cpufunc.h179 CTASSERT(sizeof(struct invvpid_desc) == 16);
202 CTASSERT(sizeof(struct invept_desc) == 16);
/freebsd-10-stable/sys/sys/
H A Ddiskpc98.h73 #ifdef CTASSERT
74 CTASSERT(sizeof (struct pc98_partition) == PC98_PARTSIZE);
H A Dsysctl.h267 CTASSERT(((access) & CTLTYPE) == 0 || \
275 CTASSERT(((access) & CTLTYPE) == 0 || \
283 CTASSERT(((access) & CTLTYPE) == 0 || \
293 CTASSERT(((access) & CTLTYPE) == 0 || \
299 CTASSERT(((access) & CTLTYPE) == 0 || \
311 CTASSERT(((access) & CTLTYPE) == 0 || \
313 CTASSERT(sizeof(int) == sizeof(*(ptr)))
318 CTASSERT(((access) & CTLTYPE) == 0 || \
331 CTASSERT(((access) & CTLTYPE) == 0 || \
333 CTASSERT(sizeo
[all...]
H A Dvtoc.h104 #ifdef CTASSERT
105 CTASSERT(sizeof(struct vtoc8) == 512);
H A Ddiskmbr.h78 #ifdef CTASSERT
79 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
H A Dpctrie.h40 CTASSERT(sizeof(((struct type *)0)->field) == sizeof(uint64_t)); \
45 CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \
H A Ddisklabel.h147 #ifdef CTASSERT
148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
/freebsd-10-stable/sys/dev/hyperv/include/
H A Dhyperv.h70 #ifdef CTASSERT
71 CTASSERT(sizeof(struct hyperv_reftsc) == PAGE_SIZE);
/freebsd-10-stable/lib/libc/posix1e/
H A Dacl_init.c45 #ifndef CTASSERT
46 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
51 CTASSERT(1 << _ACL_T_ALIGNMENT_BITS > sizeof(struct acl_t_struct));
/freebsd-10-stable/sys/dev/iscsi/
H A Discsi_proto.h35 #ifndef CTASSERT
36 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
78 CTASSERT(sizeof(struct iscsi_bhs) == ISCSI_BHS_SIZE);
104 CTASSERT(sizeof(struct iscsi_bhs_scsi_command) == ISCSI_BHS_SIZE);
130 CTASSERT(sizeof(struct iscsi_bhs_scsi_response) == ISCSI_BHS_SIZE);
160 CTASSERT(sizeof(struct iscsi_bhs_task_management_request) == ISCSI_BHS_SIZE);
188 CTASSERT(sizeof(struct iscsi_bhs_task_management_response) == ISCSI_BHS_SIZE);
213 CTASSERT(sizeof(struct iscsi_bhs_login_request) == ISCSI_BHS_SIZE);
234 CTASSERT(sizeof(struct iscsi_bhs_login_response) == ISCSI_BHS_SIZE);
252 CTASSERT(sizeo
[all...]
/freebsd-10-stable/sys/ia64/include/
H A Dsetjmp.h123 #ifdef CTASSERT
124 CTASSERT(sizeof(struct _jmp_buf) == 512);
/freebsd-10-stable/sys/boot/efi/loader/arch/amd64/
H A Dreloc.c90 CTASSERT(R_386_NONE == R_X86_64_NONE);
91 CTASSERT(R_386_RELATIVE == R_X86_64_RELATIVE);
/freebsd-10-stable/sys/compat/ia32/
H A Dia32_sysvec.c77 CTASSERT(sizeof(struct ia32_mcontext) == 640);
78 CTASSERT(sizeof(struct ia32_ucontext) == 704);
79 CTASSERT(sizeof(struct ia32_sigframe) == 800);
80 CTASSERT(sizeof(struct siginfo32) == 64);
82 CTASSERT(sizeof(struct ia32_mcontext4) == 260);
83 CTASSERT(sizeof(struct ia32_ucontext4) == 324);
84 CTASSERT(sizeof(struct ia32_sigframe4) == 408);
/freebsd-10-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_reg.h52 CTASSERT(sizeof(struct vmbus_message) == VMBUS_MSG_SIZE);
74 CTASSERT(sizeof(struct vmbus_evtflags) == VMBUS_EVTFLAGS_SIZE);
102 CTASSERT(sizeof(struct vmbus_mnf) == PAGE_SIZE);
133 CTASSERT(sizeof(struct vmbus_bufring) == PAGE_SIZE);
263 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_conn,
276 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_subconn,
332 CTASSERT(sizeof(struct vmbus_chanmsg_choffer) <= VMBUS_MSG_DSIZE_MAX);
/freebsd-10-stable/usr.sbin/uefisign/
H A Dpe.c51 #ifndef CTASSERT
52 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
93 CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60);
94 CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64);
95 CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68);
96 CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92);
108 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60);
109 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64);
110 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68);
111 CTASSERT(offseto
[all...]
/freebsd-10-stable/contrib/libc-vis/
H A Dvis.c147 * On FreeBSD including <sys/systm.h> for CTASSERT only works in kernel
150 #ifndef CTASSERT
151 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
156 CTASSERT(MB_LEN_MAX <= sizeof(uint64_t));
/freebsd-10-stable/sys/netinet/
H A Dip_carp.h79 #ifdef CTASSERT
80 CTASSERT(sizeof(struct carp_header) == 36);
H A Digmp_var.h114 #ifdef CTASSERT
115 CTASSERT(sizeof(struct igmpstat) == 168);
/freebsd-10-stable/sys/net/
H A Dif_llc.h117 #ifdef CTASSERT
118 CTASSERT(sizeof (struct llc) == LLC_SNAPFRAMELEN);
/freebsd-10-stable/sys/dev/hwpmc/
H A Dhwpmc_logging.c145 CTASSERT(sizeof(struct pmclog_callchain) == 6*4 +
147 CTASSERT(sizeof(struct pmclog_closelog) == 3*4);
148 CTASSERT(sizeof(struct pmclog_dropnotify) == 3*4);
149 CTASSERT(sizeof(struct pmclog_map_in) == PATH_MAX +
151 CTASSERT(offsetof(struct pmclog_map_in,pl_pathname) ==
153 CTASSERT(sizeof(struct pmclog_map_out) == 4*4 + 2*sizeof(uintfptr_t));
154 CTASSERT(sizeof(struct pmclog_pcsample) == 6*4 + sizeof(uintfptr_t));
155 CTASSERT(sizeof(struct pmclog_pmcallocate) == 6*4);
156 CTASSERT(sizeof(struct pmclog_pmcattach) == 5*4 + PATH_MAX);
157 CTASSERT(offseto
[all...]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Ddebug.h130 #ifndef CTASSERT
131 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm_ipi.c47 CTASSERT(APIC_SPURIOUS_INT == 255);
/freebsd-10-stable/sys/boot/pc98/loader/
H A Dmain.c49 CTASSERT(sizeof(struct bootargs) == BOOTARGS_SIZE);
50 CTASSERT(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO);
51 CTASSERT(offsetof(struct bootargs, bootflags) == BA_BOOTFLAGS);
52 CTASSERT(offsetof(struct bootinfo, bi_size) == BI_SIZE);

Completed in 235 milliseconds

1234567