/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | hsfs_spec.h | 52 #define ZERO(x) (uint_t)(((uchar_t *)(x))[0]) argument 53 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument 54 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument 55 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument 57 #define MSB_INT(x) \ argument 59 #define LSB_INT(x) \ argument 61 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument 62 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument 65 #define BOTH_SHORT(x) (short)*((short *)x) argument 66 #define BOTH_INT(x) (int)*((int *)x) argument [all …]
|
H A D | hsfs_isospec.h | 38 #define ZERO(x) (uint_t)(((uchar_t *)(x))[0]) argument 39 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument 40 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument 41 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument 43 #define MSB_INT(x) \ argument 45 #define LSB_INT(x) \ argument 47 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument 48 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument 51 #define BOTH_SHORT(x) (short)*((short *)x) argument 52 #define BOTH_INT(x) (int)*((int *)x) argument [all …]
|
H A D | hsfs_rrip.h | 110 #define RRIP_TF_FLAGS(x) *(RRIP_tf_flags(x)) argument 111 #define RRIP_tf_flags(x) (&((uchar_t *)(x))[4]) argument 115 #define RRIP_TF_TIME_LENGTH(x) (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \ argument 133 #define RRIP_tf_creation(x) (&((uchar_t *)x)[RRIP_TIME_START_BP]) argument 134 #define RRIP_tf_modify(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument 139 #define RRIP_tf_access(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument 146 #define RRIP_tf_attributes(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument 163 #define IS_TIME_BIT_SET(x, y) (((x) & (y)) ? 1 : 0) argument 164 #define SET_TIME_BIT(x, y) ((x) |= (y)) argument 170 #define RRIP_mode(x) (&((uchar_t *)x)[4]) argument [all …]
|
/titanic_41/usr/src/head/ |
H A D | tgmath.h | 41 #define acos(x) __tgmath_acos(x) argument 43 #define asin(x) __tgmath_asin(x) argument 45 #define atan(x) __tgmath_atan(x) argument 47 #define acosh(x) __tgmath_acosh(x) argument 49 #define asinh(x) __tgmath_asinh(x) argument 51 #define atanh(x) __tgmath_atanh(x) argument 53 #define cos(x) __tgmath_cos(x) argument 55 #define sin(x) __tgmath_sin(x) argument 57 #define tan(x) __tgmath_tan(x) argument 59 #define cosh(x) __tgmath_cosh(x) argument [all …]
|
/titanic_41/usr/src/lib/libm1/common/ |
H A D | libmv1.c | 96 __libm__rem_pio2(double x, double *y) { in __libm__rem_pio2() 102 __libm__rem_pio2m(double *x, double *y, int e0, int nx, int p, const int *ip) { in __libm__rem_pio2m() 108 __acos(double x) { in __acos() 114 __acosh(double x) { in __acosh() 120 __asin(double x) { in __asin() 126 __asinh(double x) { in __asinh() 132 __atan(double x) { in __atan() 138 __atan2(double y, double x) { in __atan2() 144 __atanh(double x) { in __atanh() 150 __cbrt(double x) { in __cbrt() [all …]
|
/titanic_41/usr/src/uts/common/io/chxge/com/ |
H A D | regs.h | 30 #define V_CMDQ0_ENABLE(x) ((x) << S_CMDQ0_ENABLE) argument 34 #define V_CMDQ1_ENABLE(x) ((x) << S_CMDQ1_ENABLE) argument 38 #define V_FL0_ENABLE(x) ((x) << S_FL0_ENABLE) argument 42 #define V_FL1_ENABLE(x) ((x) << S_FL1_ENABLE) argument 46 #define V_CPL_ENABLE(x) ((x) << S_CPL_ENABLE) argument 50 #define V_RESPONSE_QUEUE_ENABLE(x) ((x) << S_RESPONSE_QUEUE_ENABLE) argument 55 #define V_CMDQ_PRIORITY(x) ((x) << S_CMDQ_PRIORITY) argument 56 #define G_CMDQ_PRIORITY(x) (((x) >> S_CMDQ_PRIORITY) & M_CMDQ_PRIORITY) argument 59 #define V_DISABLE_CMDQ0_GTS(x) ((x) << S_DISABLE_CMDQ0_GTS) argument 63 #define V_DISABLE_CMDQ1_GTS(x) ((x) << S_DISABLE_CMDQ1_GTS) argument [all …]
|
/titanic_41/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_tcb.h | 32 #define V_TCB_ULP_TYPE(x) ((x) << S_TCB_ULP_TYPE) argument 38 #define V_TCB_ULP_RAW(x) ((x) << S_TCB_ULP_RAW) argument 44 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 50 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 56 #define V_TCB_T_FLAGS(x) ((__u64)(x) << S_TCB_T_FLAGS) argument 62 #define V_TCB_RSS_INFO(x) ((x) << S_TCB_RSS_INFO) argument 68 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 74 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 80 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 86 #define V_TCB_T_MAXSEG(x) ((x) << S_TCB_T_MAXSEG) argument [all …]
|
H A D | t4_regs.h | 274 #define V_QID(x) ((x) << S_QID) argument 275 #define G_QID(x) (((x) >> S_QID) & M_QID) argument 278 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument 283 #define V_PIDX(x) ((x) << S_PIDX) argument 284 #define G_PIDX(x) (((x) >> S_PIDX) & M_PIDX) argument 291 #define V_INGRESSQID(x) ((x) << S_INGRESSQID) argument 292 #define G_INGRESSQID(x) (((x) >> S_INGRESSQID) & M_INGRESSQID) argument 296 #define V_TIMERREG(x) ((x) << S_TIMERREG) argument 297 #define G_TIMERREG(x) (((x) >> S_TIMERREG) & M_TIMERREG) argument 300 #define V_SEINTARM(x) ((x) << S_SEINTARM) argument [all …]
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | big_bswap.h | 4 #define ntohl(x) (x) argument 5 #define htonl(x) (x) argument 6 #define ntohs(x) (x) argument 7 #define htons(x) (x) argument 8 #define cpu_to_le32(x) __bswap_32(x) argument 9 #define cpu_to_le16(x) __bswap_16(x) argument 10 #define cpu_to_be32(x) (x) argument 11 #define cpu_to_be16(x) (x) argument 12 #define le32_to_cpu(x) __bswap_32(x) argument 13 #define le16_to_cpu(x) __bswap_16(x) argument [all …]
|
H A D | little_bswap.h | 4 #define ntohl(x) __bswap_32(x) argument 5 #define htonl(x) __bswap_32(x) argument 6 #define ntohs(x) __bswap_16(x) argument 7 #define htons(x) __bswap_16(x) argument 8 #define cpu_to_le32(x) (x) argument 9 #define cpu_to_le16(x) (x) argument 10 #define cpu_to_be32(x) __bswap_32(x) argument 11 #define cpu_to_be16(x) __bswap_16(x) argument 12 #define le32_to_cpu(x) (x) argument 13 #define le16_to_cpu(x) (x) argument [all …]
|
/titanic_41/usr/src/lib/libast/amd64/include/ast/ |
H A D | align.h | 30 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 31 #define ALIGN_POINTER(x) ((char*)(x)) argument 32 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 35 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 36 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 40 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 41 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 42 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffffffffffe) argument 43 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 44 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | align.h | 9 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 10 #define ALIGN_POINTER(x) ((char*)(x)) argument 11 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 14 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 15 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 19 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 20 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 21 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffffffffffe) argument 22 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 23 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/sparc/include/ast/ |
H A D | align.h | 30 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 31 #define ALIGN_POINTER(x) ((char*)(x)) argument 32 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 35 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 36 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 40 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 41 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 42 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffe) argument 43 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 44 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | align.h | 9 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 10 #define ALIGN_POINTER(x) ((char*)(x)) argument 11 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 14 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 15 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 19 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 20 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 21 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffe) argument 22 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 23 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | align.h | 30 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 31 #define ALIGN_POINTER(x) ((char*)(x)) argument 32 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 35 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 36 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 40 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 41 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 42 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffffffffffe) argument 43 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 44 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | align.h | 9 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 10 #define ALIGN_POINTER(x) ((char*)(x)) argument 11 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 14 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 15 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 19 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 20 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 21 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffffffffffe) argument 22 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 23 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | align.h | 9 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 10 #define ALIGN_POINTER(x) ((char*)(x)) argument 11 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 14 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 15 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 19 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 20 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 21 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffe) argument 22 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 23 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/lib/libast/i386/include/ast/ |
H A D | align.h | 30 #define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x)) argument 31 #define ALIGN_POINTER(x) ((char*)(x)) argument 32 #define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1)) argument 35 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) argument 36 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) argument 40 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) argument 41 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) argument 42 #define ALIGN_CLRBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0xfffffffe) argument 43 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) argument 44 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) argument [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | cyclic_oper.h | 44 #define _ABS_DIFF(x, y) ((x) > (y) ? (x) - (y) : (y) - (x)) argument 46 static __inline u8_t _cyclic_lt(u32_t x, u32_t y, u32_t d) in _cyclic_lt() 52 static __inline u8_t _cyclic_le(u32_t x, u32_t y, u32_t d) in _cyclic_le() 58 #define CYCLIC_LT_8(x, y) (_cyclic_lt(x, y, 128)) argument 59 #define CYCLIC_LT_16(x, y) (_cyclic_lt(x, y, 32768)) argument 60 #define CYCLIC_LT_24(x, y) (_cyclic_lt(x, y, 8388608)) argument 61 #define CYCLIC_LT_32(x, y) (_cyclic_lt(x, y, 2147483648)) argument 63 #define CYCLIC_LE_8(x, y) (_cyclic_le(x, y, 128)) argument 64 #define CYCLIC_LE_16(x, y) (_cyclic_le(x, y, 32768)) argument 65 #define CYCLIC_LE_24(x, y) (_cyclic_le(x, y, 8388608)) argument [all …]
|
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_mpi.h | 34 #define PMCS_DWRD(x) (x << 2) argument 60 #define PMCS_MSGL(x) (x & 0xffff) argument 61 #define PMCS_MD(x) ((x >> 16) & 0xffff) argument 65 #define PMCS_MNIQ(x) (x & 0xff) /* Max # of Inbound Queues */ argument 66 #define PMCS_MNOQ(x) ((x >> 8) & 0xff) /* Max # of Outbound Queues */ argument 67 #define PMCS_HPIQ(x) ((x >> 16) & 0x1) /* High Pri Queue Supported */ argument 68 #define PMCS_ICS(x) ((x >> 18) & 0x1) /* Interrupt Coalescing */ argument 69 #define PMCS_NPHY(x) ((x >> 19) & 0x3f) /* Numbers of PHYs */ argument 70 #define PMCS_SASREV(x) ((x >> 25) & 0x7) /* SAS Revision Specification */ argument 173 #define PMCS_GST_PHY_INFO(x) (PMCS_GST_BASE + PMCS_DWRD(0x6) + PMCS_DWRD(x)) argument [all …]
|
/titanic_41/usr/src/cmd/cdrw/ |
H A D | byteorder.h | 38 #define swap32(x) \ argument 44 #define swap16(x) \ argument 52 #define CPU_TO_LE32(x) swap32(x) argument 53 #define CPU_TO_LE16(x) swap16(x) argument 54 #define CPU_TO_BE32(x) (x) argument 55 #define CPU_TO_BE16(x) (x) argument 63 #define LE32_TO_CPU(x) CPU_TO_LE32(x) argument 64 #define LE16_TO_CPU(x) CPU_TO_LE16(x) argument 65 #define BE32_TO_CPU(x) CPU_TO_BE32(x) argument 66 #define BE16_TO_CPU(x) CPU_TO_BE16(x) argument
|
/titanic_41/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 50 #define htoles(x) ((uint16_t)(x)) argument 51 #define letohs(x) ((uint16_t)(x)) argument 52 #define htolel(x) ((uint32_t)(x)) argument 53 #define letohl(x) ((uint32_t)(x)) argument 54 #define htoleq(x) ((uint64_t)(x)) argument 55 #define letohq(x) ((uint64_t)(x)) argument 63 #define htobes(x) BSWAP_16(x) argument 64 #define betohs(x) BSWAP_16(x) argument 65 #define htobel(x) BSWAP_32(x) argument 66 #define betohl(x) BSWAP_32(x) argument [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | t-exc.c | 44 int volatile x; local 56 x = 1; local 66 x = 1; local 68 x = 2; local 79 x = 1; local 82 x = 2; local 103 x = 3; local 105 x = 4; local 108 x = 5; local
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | byteorder.h | 61 #define ntohl(x) (x) argument 62 #define ntohs(x) (x) argument 63 #define htonl(x) (x) argument 64 #define htons(x) (x) argument 66 #define ntohll(x) (x) argument 67 #define htonll(x) (x) argument 107 #define BSWAP_8(x) ((x) & 0xff) argument 109 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 110 #define BSWAP_32(x) (((uint32_t)(x) << 24) | \ argument 121 #define BSWAP_64(x) (((uint64_t)(x) << 56) | \ argument [all …]
|
/titanic_41/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 18 # define __P(x) x argument 20 # define __P(x) () argument 243 # define ATOMIC_INCL(x) atomic_inc_ulong((uint32_t *)&(x)) argument 244 # define ATOMIC_DECL(x) atomic_dec_ulong((uint32_t *)&(x)) argument 246 # define ATOMIC_INCL(x) atomic_inc_ulong(&(x)) argument 247 # define ATOMIC_DECL(x) atomic_dec_ulong(&(x)) argument 249 # define ATOMIC_INC64(x) atomic_inc_64((uint64_t *)&(x)) argument 250 # define ATOMIC_INC32(x) atomic_inc_32((uint32_t *)&(x)) argument 251 # define ATOMIC_INC16(x) atomic_inc_16((uint16_t *)&(x)) argument 252 # define ATOMIC_DEC64(x) atomic_dec_64((uint64_t *)&(x)) argument [all …]
|