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

12345678910

/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dsmp.h33 CTASSERT(wait); \
H A Dpid.h49 CTASSERT((type) == PIDTYPE_PID); \
56 CTASSERT((type) == PIDTYPE_PID); \
62 CTASSERT((type) == PIDTYPE_PID); \
H A Dhrtimer.h59 CTASSERT((clock) == CLOCK_MONOTONIC); \
60 CTASSERT((mode) == HRTIMER_MODE_REL); \
68 CTASSERT((mode) == HRTIMER_MODE_REL); \
73 CTASSERT((mode) == HRTIMER_MODE_REL); \
H A Dpfn_t.h34 CTASSERT(PAGE_SHIFT > 4);
H A Dtimer.h58 CTASSERT(((flags) & ~TIMER_IRQSAFE) == 0); \
71 CTASSERT(((flags) & ~TIMER_IRQSAFE) == 0); \
/freebsd-13-stable/sys/dev/qat/
H A Dqat_hw15var.h65 CTASSERT(HASH_CONTENT_DESC_SIZE >=
67 CTASSERT(CIPHER_CONTENT_DESC_SIZE >=
69 CTASSERT(CONTENT_DESC_MAX_SIZE >=
72 CTASSERT(QAT_SYM_REQ_PARAMS_SIZE_PADDED >=
H A Dqat_hw17var.h64 CTASSERT(CONTENT_DESC_MAX_SIZE >=
/freebsd-13-stable/sys/net/altq/
H A Daltq_cbq.h59 CTASSERT(CBQCLF_RED == RMCF_RED);
60 CTASSERT(CBQCLF_ECN == RMCF_ECN);
61 CTASSERT(CBQCLF_RIO == RMCF_RIO);
62 CTASSERT(CBQCLF_FLOWVALVE == RMCF_FLOWVALVE);
63 CTASSERT(CBQCLF_CLEARDSCP == RMCF_CLEARDSCP);
64 CTASSERT(CBQCLF_CODEL == RMCF_CODEL);
/freebsd-13-stable/sys/dev/hyperv/netvsc/
H A Dif_hnreg.h108 CTASSERT(sizeof(struct hn_nvs_init) >= HN_NVS_REQSIZE_MIN);
126 CTASSERT(sizeof(struct hn_nvs_ndis_conf) >= HN_NVS_REQSIZE_MIN);
140 CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN);
152 CTASSERT(sizeof(struct hn_nvs_datapath) >= HN_NVS_REQSIZE_MIN);
161 CTASSERT(sizeof(struct hn_nvs_rxbuf_conn) >= HN_NVS_REQSIZE_MIN);
184 CTASSERT(sizeof(struct hn_nvs_rxbuf_disconn) >= HN_NVS_REQSIZE_MIN);
193 CTASSERT(sizeof(struct hn_nvs_chim_conn) >= HN_NVS_REQSIZE_MIN);
208 CTASSERT(sizeof(struct hn_nvs_chim_disconn) >= HN_NVS_REQSIZE_MIN);
219 CTASSERT(sizeof(struct hn_nvs_subch_req) >= HN_NVS_REQSIZE_MIN);
243 CTASSERT(sizeo
[all...]
/freebsd-13-stable/sys/dev/hyperv/include/
H A Dhyperv.h72 #ifdef CTASSERT
73 CTASSERT(sizeof(struct hyperv_reftsc) == PAGE_SIZE);
/freebsd-13-stable/sys/sys/
H A Dassym.h48 #define OFFSET_CTASSERT CTASSERT
57 CTASSERT(__builtin_types_compatible_p(__typeof(((struct parenttype *)(0x0))-> name), datatype)); \
H A Dsysctl.h326 CTASSERT(((access) & CTLTYPE) == 0 || \
337 CTASSERT(((access) & CTLTYPE) == 0 || \
346 CTASSERT(((access) & CTLTYPE) == 0 || \
355 CTASSERT(((access) & CTLTYPE) == 0 || \
368 CTASSERT(((access) & CTLTYPE) == 0 || \
374 CTASSERT(((access) & CTLTYPE) == 0 || \
386 CTASSERT(!(access & CTLFLAG_WR)); \
387 CTASSERT(((access) & CTLTYPE) == 0 || \
393 CTASSERT(!(access & CTLFLAG_WR)); \
394 CTASSERT(((acces
[all...]
/freebsd-13-stable/sys/sys/disk/
H A Dmbr.h79 #ifdef CTASSERT
80 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
H A Dvtoc.h104 #ifdef CTASSERT
105 CTASSERT(sizeof(struct vtoc8) == 512);
/freebsd-13-stable/lib/libc/posix1e/
H A Dacl_init.c47 #ifndef CTASSERT
48 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
53 CTASSERT(1 << _ACL_T_ALIGNMENT_BITS > sizeof(struct acl_t_struct));
/freebsd-13-stable/sys/libkern/
H A Dbcd.c24 CTASSERT(nitems(bcd2bin_data) == LIBKERN_LEN_BCD2BIN);
38 CTASSERT(nitems(bin2bcd_data) == LIBKERN_LEN_BIN2BCD);
42 CTASSERT(nitems(hex2ascii_data) == LIBKERN_LEN_HEX2ASCII + 1);
/freebsd-13-stable/sys/dev/iscsi/
H A Discsi_proto.h36 #ifndef CTASSERT
37 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
79 CTASSERT(sizeof(struct iscsi_bhs) == ISCSI_BHS_SIZE);
109 CTASSERT(sizeof(struct iscsi_bhs_scsi_command) == ISCSI_BHS_SIZE);
135 CTASSERT(sizeof(struct iscsi_bhs_scsi_response) == ISCSI_BHS_SIZE);
165 CTASSERT(sizeof(struct iscsi_bhs_task_management_request) == ISCSI_BHS_SIZE);
193 CTASSERT(sizeof(struct iscsi_bhs_task_management_response) == ISCSI_BHS_SIZE);
218 CTASSERT(sizeof(struct iscsi_bhs_login_request) == ISCSI_BHS_SIZE);
239 CTASSERT(sizeof(struct iscsi_bhs_login_response) == ISCSI_BHS_SIZE);
257 CTASSERT(sizeo
[all...]
/freebsd-13-stable/sys/amd64/vmm/intel/
H A Dvmx.h102 CTASSERT(sizeof(struct apic_page) == PAGE_SIZE);
110 CTASSERT(sizeof(struct pir_desc) == 64);
138 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0);
139 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0);
140 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
/freebsd-13-stable/sys/opencrypto/
H A Dxform_poly1305.c14 CTASSERT(sizeof(union authctx) >= sizeof(struct poly1305_xform_ctx));
16 CTASSERT(POLY1305_KEY_LEN == crypto_onetimeauth_poly1305_KEYBYTES);
17 CTASSERT(POLY1305_HASH_LEN == crypto_onetimeauth_poly1305_BYTES);
/freebsd-13-stable/sys/dev/ice/
H A Dice_rss.h51 CTASSERT(ICE_AQC_GET_SET_RSS_KEY_DATA_RSS_KEY_SIZE >= RSS_KEYSIZE);
/freebsd-13-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);
180 CTASSERT(sizeof(struct vmbus_bufring) == PAGE_SIZE);
326 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_conn,
339 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_subconn,
420 CTASSERT(sizeof(struct vmbus_chanmsg_choffer) <= VMBUS_MSG_DSIZE_MAX);
/freebsd-13-stable/sys/amd64/vmm/amd/
H A Damdvi_priv.h108 CTASSERT(sizeof(struct amdvi_dte) == 32);
160 CTASSERT(sizeof(struct amdvi_event) == 16);
250 CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58);
251 CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028);
252 CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040);
260 CTASSERT(sizeof(struct amdvi_ctrl) == 0x4000);
261 CTASSERT(sizeof(struct amdvi_ctrl) == AMDVI_MMIO_V1_SIZE);
/freebsd-13-stable/sys/compat/ia32/
H A Dia32_sysvec.c76 CTASSERT(sizeof(struct ia32_mcontext) == 640);
77 CTASSERT(sizeof(struct ia32_ucontext) == 704);
78 CTASSERT(sizeof(struct ia32_sigframe) == 800);
79 CTASSERT(sizeof(struct siginfo32) == 64);
81 CTASSERT(sizeof(struct ia32_mcontext4) == 260);
82 CTASSERT(sizeof(struct ia32_ucontext4) == 324);
83 CTASSERT(sizeof(struct ia32_sigframe4) == 408);
/freebsd-13-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-13-stable/usr.sbin/uefisign/
H A Dpe.c52 #ifndef CTASSERT
53 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
96 CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60);
97 CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64);
98 CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68);
99 CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92);
111 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60);
112 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64);
113 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68);
114 CTASSERT(offseto
[all...]

Completed in 139 milliseconds

12345678910