/titanic_53/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 …]
|
H A D | hsfs_susp.h | 90 #define SUF_LEN(x) *(SUF_len(x)) /* SUF length */ argument 91 #define SUF_len(x) (&((uchar_t *)x)[2]) /* SUF length */ argument 93 #define SUF_VER(x) *(SUF_ver(x)) /* SUF version */ argument 94 #define SUF_ver(x) (&((uchar_t *)x)[3]) /* SUF version */ argument 100 #define ER_ID_LEN(x) *(ER_id_len(x)) /* Extension ref id length */ argument 101 #define ER_id_len(x) (&((uchar_t *)x)[4]) /* Extension ref id length */ argument 104 #define ER_DES_LEN(x) *(ER_des_len(x)) /* Extension ref description */ argument 106 #define ER_des_len(x) (&((uchar_t *)x)[5]) /* Extension ref description */ argument 109 #define ER_SRC_LEN(x) *(ER_src_len(x)) /* Extension ref source */ argument 112 #define ER_src_len(x) (&((uchar_t *)x)[6]) /* Extension ref source */ argument [all …]
|
/titanic_53/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_53/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_53/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_53/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_53/usr/src/grub/grub-0.97/netboot/ |
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 …]
|
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 …]
|
/titanic_53/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_53/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_53/usr/src/boot/sys/sys/ |
H A D | endian.h | 59 #define bswap16(x) __bswap16(x) argument 60 #define bswap32(x) __bswap32(x) argument 61 #define bswap64(x) __bswap64(x) argument 68 #define htobe16(x) bswap16((x)) argument 69 #define htobe32(x) bswap32((x)) argument 70 #define htobe64(x) bswap64((x)) argument 71 #define htole16(x) ((uint16_t)(x)) argument 72 #define htole32(x) ((uint32_t)(x)) argument 73 #define htole64(x) ((uint64_t)(x)) argument 75 #define be16toh(x) bswap16((x)) argument [all …]
|
/titanic_53/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 18 # define __P(x) x argument 20 # define __P(x) () argument 248 # define ATOMIC_INCL(x) atomic_inc_ulong((uint32_t *)&(x)) argument 249 # define ATOMIC_DECL(x) atomic_dec_ulong((uint32_t *)&(x)) argument 251 # define ATOMIC_INCL(x) atomic_inc_ulong(&(x)) argument 252 # define ATOMIC_DECL(x) atomic_dec_ulong(&(x)) argument 254 # define ATOMIC_INC64(x) atomic_inc_64((uint64_t *)&(x)) argument 255 # define ATOMIC_INC32(x) atomic_inc_32((uint32_t *)&(x)) argument 256 # define ATOMIC_INC16(x) atomic_inc_16((uint16_t *)&(x)) argument 257 # define ATOMIC_DEC64(x) atomic_dec_64((uint64_t *)&(x)) argument [all …]
|
/titanic_53/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_53/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_53/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 …]
|
H A D | debug.h | 59 #define ASSERT(x) ((void)0) argument 66 #define ASSERT64(x) ASSERT(x) argument 67 #define ASSERT32(x) argument 69 #define ASSERT64(x) argument 70 #define ASSERT32(x) ASSERT(x) argument 111 #define VERIFY3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument 112 #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) argument 113 #define VERIFY3P(x, y, z) VERIFY3_IMPL(x, y, z, uintptr_t) argument 114 #define VERIFY0(x) VERIFY3_IMPL(x, ==, 0, uintmax_t) argument 117 #define ASSERT3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument [all …]
|
/titanic_53/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_53/usr/src/boot/sys/x86/include/ |
H A D | endian.h | 66 #define __bswap16_gen(x) (__uint16_t)((x) << 8 | (x) >> 8) argument 67 #define __bswap32_gen(x) \ argument 69 #define __bswap64_gen(x) \ argument 73 #define __bswap16(x) \ argument 76 #define __bswap32(x) \ argument 79 #define __bswap64(x) \ argument 84 #define __bswap16(x) __bswap16_var(x) argument 85 #define __bswap32(x) __bswap32_var(x) argument 86 #define __bswap64(x) __bswap64_var(x) argument 126 #define __htonl(x) __bswap32(x) argument [all …]
|
/titanic_53/usr/src/cmd/ipf/lib/common/ |
H A D | inet_addr.c | 68 # define __P(x) x argument 70 # define __P(x) () argument 80 #define ISALNUM(x) isalnum((u_char)(x)) argument 81 #define ISALPHA(x) isalpha((u_char)(x)) argument 82 #define ISASCII(x) isascii((u_char)(x)) argument 83 #define ISDIGIT(x) isdigit((u_char)(x)) argument 84 #define ISPRINT(x) isprint((u_char)(x)) argument 85 #define ISSPACE(x) isspace((u_char)(x)) argument 86 #define ISUPPER(x) isupper((u_char)(x)) argument 87 #define ISXDIGIT(x) isxdigit((u_char)(x)) argument [all …]
|
/titanic_53/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 129 #define V_FW_WR_OP(x) ((x) << S_FW_WR_OP) argument 130 #define G_FW_WR_OP(x) (((x) >> S_FW_WR_OP) & M_FW_WR_OP) argument 135 #define V_FW_WR_ATOMIC(x) ((x) << S_FW_WR_ATOMIC) argument 136 #define G_FW_WR_ATOMIC(x) \ argument 146 #define V_FW_WR_FLUSH(x) ((x) << S_FW_WR_FLUSH) argument 147 #define G_FW_WR_FLUSH(x) \ argument 154 #define V_FW_WR_COMPL(x) ((x) << S_FW_WR_COMPL) argument 155 #define G_FW_WR_COMPL(x) \ argument 162 #define V_FW_WR_IMMDLEN(x) ((x) << S_FW_WR_IMMDLEN) argument 163 #define G_FW_WR_IMMDLEN(x) \ argument [all …]
|
/titanic_53/usr/src/lib/libtnfprobe/ |
H A D | tnf_args.h | 41 #define tnf_probe_get_int(x) (*((int *)(x))) argument 42 #define tnf_probe_get_uint(x) (*((unsigned int *)(x))) argument 43 #define tnf_probe_get_long(x) (*((long *)(x))) argument 44 #define tnf_probe_get_ulong(x) (*((unsigned long *)(x))) argument 45 #define tnf_probe_get_longlong(x) (*((long long *)(x))) argument 46 #define tnf_probe_get_ulonglong(x) (*((unsigned long long *)(x))) argument 47 #define tnf_probe_get_float(x) (*((float *)(x))) argument 48 #define tnf_probe_get_double(x) (*((double *)(x))) argument
|
/titanic_53/usr/src/cmd/sendmail/db/mutex/ |
H A D | mutex.c | 29 #define TSL_INIT(x) argument 30 #define TSL_SET(x) (!_check_lock(x, 0, 1)) argument 31 #define TSL_UNSET(x) _clear_lock(x, 0) argument 47 #define TSL_INIT(x) (msem_init(x, MSEM_UNLOCKED) == NULL) argument 49 #define TSL_SET(x) (!msem_lock(x, MSEM_IF_NOWAIT)) argument 50 #define TSL_UNSET(x) msem_unlock(x, 0) argument 54 #define TSL_INIT(x) initspin(x, 1) argument 55 #define TSL_SET(x) (cspinlock(x) == 0) argument 56 #define TSL_UNSET(x) spinunlock(x) argument 60 #define TSL_INIT(x) (init_lock(x) != 0) argument [all …]
|