/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | hsfs_spec.h | 57 #define MSB_INT(x) \ argument 59 #define LSB_INT(x) \ argument 66 #define BOTH_INT(x) (int)*((int *)x) argument 76 #define BOTH_SHORT(x) LSB_SHORT(x) argument 77 #define BOTH_INT(x) LSB_INT(x) argument 152 #define HSV_STD_ID(x) HSV_std_id(x) argument 218 #define HPE_NAME(x) HPE_name(x) argument 255 #define HDE_CDATE(x) HDE_cdate(x) argument 262 #define HDE_NAME(x) HDE_name(x) argument 266 #define HDE_UID(x) *(HDE_uid(x)) argument [all …]
|
H A D | hsfs_isospec.h | 43 #define MSB_INT(x) \ argument 45 #define LSB_INT(x) \ argument 52 #define BOTH_INT(x) (int)*((int *)x) argument 141 #define ISO_STD_ID(x) ISO_std_id(x) argument 143 #define ISO_SYS_ID(x) ISO_sys_id(x) argument 144 #define ISO_VOL_ID(x) ISO_vol_id(x) argument 156 #define ISO_PUB_ID(x) ISO_pub_id(x) argument 213 #define IDE_CDATE(x) IDE_cdate(x) argument 214 #define IDE_FLAGS(x) *(IDE_flags(x)) argument 219 #define IDE_NAME(x) IDE_name(x) argument [all …]
|
H A D | hsfs_rrip.h | 164 #define SET_TIME_BIT(x, y) ((x) |= (y)) argument 170 #define RRIP_mode(x) (&((uchar_t *)x)[4]) argument 176 #define RRIP_uid(x) (&((uchar_t *)x)[20]) argument 179 #define RRIP_gid(x) (&((uchar_t *)x)[28]) argument 203 #define SYM_LINK_LEN(x) (strlen(x) + 1) argument 232 #define SET_NAME_BIT(x, y) ((x) |= (y)) argument 234 #define IS_NAME_BIT_SET(x, y) ((x) & (y)) argument 239 #define RRIP_NAME(x) RRIP_name(x) argument 252 #define RRIP_SL_COMP(x) RRIP_sl_comp(x) argument 258 #define RRIP_COMP(x) RRIP_comp(x) argument [all …]
|
/illumos-gate/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 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 61 #define sinh(x) __tgmath_sinh(x) argument 65 #define exp(x) __tgmath_exp(x) argument 67 #define log(x) __tgmath_log(x) argument [all …]
|
/illumos-gate/usr/src/lib/libm1/common/ |
H A D | libmv1.c | 108 __acos(double x) { in __acos() 120 __asin(double x) { in __asin() 132 __atan(double x) { in __atan() 168 __cos(double x) { in __cos() 180 __erf(double x) { in __erf() 192 __exp(double x) { in __exp() 252 __j0(double x) { in __j0() 258 __j1(double x) { in __j1() 282 __log(double x) { in __log() 378 __y0(double x) { in __y0() [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | regs.h | 191 #define V_DAY(x) ((x) << S_DAY) argument 196 #define V_MONTH(x) ((x) << S_MONTH) argument 246 #define V_READY(x) ((x) << S_READY) argument 298 #define V_BANKS(x) ((x) << S_BANKS) argument 322 #define V_BUSY(x) ((x) << S_BUSY) argument 453 #define V_OP(x) ((x) << S_OP) argument 839 #define V_SACK(x) ((x) << S_SACK) argument 844 #define V_ECN(x) ((x) << S_ECN) argument 853 #define V_MSS(x) ((x) << S_MSS) argument 1037 #define V_2MSL(x) ((x) << S_2MSL) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_regs.h | 497 #define V_QID(x) ((x) << S_QID) argument 4107 #define V_AI(x) ((x) << S_AI) argument 8030 #define V_PF(x) ((x) << S_PF) argument 8039 #define V_VF(x) ((x) << S_VF) argument 8430 #define V_TX(x) ((x) << S_TX) argument 8462 #define V_NQ(x) ((x) << S_NQ) argument 8467 #define V_PV(x) ((x) << S_PV) argument 8919 #define V_FF(x) ((x) << S_FF) argument 9756 #define V_OP(x) ((x) << S_OP) argument 9886 #define V_MA(x) ((x) << S_MA) argument [all …]
|
H A D | t4_msg.h | 439 #define V_DSCP(x) ((x) << S_DSCP) argument 1604 #define G_FCOE_FCHDR_RCTL(x) \ argument 1610 #define G_FCOE_FCHDR_FCTL(x) \ argument 3260 #define G_SCMD_CIPH_MODE(x) \ argument 3268 #define G_SCMD_AUTH_MODE(x) \ argument 3277 #define G_SCMD_HMAC_CTRL(x) \ argument 3284 #define G_SCMD_IV_SIZE(x) \ argument 3291 #define G_SCMD_NUM_IVS(x) \ argument 3353 #define G_SCMD_MAC_ONLY(x) \ argument 3363 #define G_SCMD_AADIVDROP(x) \ argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | bool-cast-restricted.c | 4 _Bool lfoo(large_t x) { return x; } in lfoo() 6 _Bool xfoo(large_t x) { return (_Bool)x; } in xfoo() 7 _Bool lbar(large_t x) { return ~x; } in lbar() 9 _Bool xbar(large_t x) { return (_Bool)~x; } in xbar() 10 _Bool lbaz(large_t x) { return !x; } in lbaz() 12 _Bool xbaz(large_t x) { return (_Bool)!x; } in xbaz() 13 _Bool lqux(large_t x) { return x & LBIT; } in lqux() 21 _Bool sfoo(small_t x) { return x; } in sfoo() 23 _Bool zfoo(small_t x) { return (_Bool)x; } in zfoo() 24 _Bool sbar(small_t x) { return ~x; } in sbar() [all …]
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/ |
H A D | xhcireg.h | 75 #define XHCI_HCS2_IST(x) ((x) & 0x7) argument 78 #define XHCI_HCS2_SPR(x) (((x) >> 24) & 0x1) argument 85 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument 100 #define XHCI_HCC2_FLAGS_MASK(x) ((x) & 0x3F) argument 186 #define XHCI_PS_INDPORT(x) ((x) & 0xFF) argument 215 #define XHCI_MFINDEX_GET(x) ((x) & 0x3FFF) argument 250 #define XHCI_DB_TARGET_GET(x) ((x) & 0xFF) argument 251 #define XHCI_DB_TARGET_SET(x) ((x) & 0xFF) argument 268 #define XHCI_XECP_ID(x) ((x) & 0xFF) argument 336 #define XHCI_EPCTX_STATE(x) ((x) & 0x7) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | arithmetic-ops.c | 1 static int add(int x, int y) in add() 11 static float fadd(float x, float y) in fadd() 16 static double dadd(double x, double y) in dadd() 21 static int sub(int x, int y) in sub() 31 static float fsub(float x, float y) in fsub() 41 static int mul(int x, int y) in mul() 61 static int div(int x, int y) in div() 81 static int mod(int x, int y) in mod() 91 static int neg(int x) in neg() 101 static float fneg(float x) in fneg() [all …]
|
H A D | cmp-ops.c | 1 static int sete(int x, int y) in sete() 6 static int setne(int x, int y) in setne() 11 static int setl(int x, int y) in setl() 16 static int setg(int x, int y) in setg() 21 static int setle(int x, int y) in setle() 26 static int setge(int x, int y) in setge() 51 static int setfe(float x, float y) in setfe() 56 static int setfne(float x, float y) in setfne() 61 static int setfl(float x, float y) in setfl() 66 static int setfg(float x, float y) in setfg() [all …]
|
H A D | bitwise-ops.c | 1 static int shl(int x, int y) in shl() 6 static unsigned int ushl(unsigned int x, unsigned int y) in ushl() 11 static int shr(int x, int y) in shr() 16 static unsigned int ushr(unsigned int x, unsigned int y) in ushr() 21 static int and(int x, int y) in and() 26 static unsigned int uand(unsigned int x, unsigned int y) in uand() 31 static int or(int x, int y) in or() 36 static unsigned int uor(unsigned int x, unsigned int y) in uor() 41 static int xor(int x, int y) in xor() 51 static int not(int x) in not() [all …]
|
/illumos-gate/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 177 #define PMCS_MPI_S(x) ((x) & 0x7) argument 178 #define PMCS_QF(x) (((x) >> 3) & 0x1) argument 193 #define PMCS_IQC_PARMX(x) ((x) << 5) argument 200 #define PMCS_IQDX(x) ((x) & 0xffff) argument 210 #define PMCS_OQC_PARMX(x) (x * 36) argument 211 #define PMCS_OQBAHX(x) ((x * 36) + 4) argument 220 #define PMCS_OQDX(x) ((x) & 0xffff) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | cyclic_oper.h | 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 63 #define CYCLIC_LE_8(x, y) (_cyclic_le(x, y, 128)) argument 68 #define CYCLIC_GT_8(x, y) (!(CYCLIC_LE_8(x, y))) argument 69 #define CYCLIC_GT_16(x, y) (!(CYCLIC_LE_16(x, y))) argument 70 #define CYCLIC_GT_24(x, y) (!(CYCLIC_LE_24(x, y))) argument 71 #define CYCLIC_GT_32(x, y) (!(CYCLIC_LE_32(x, y))) argument 73 #define CYCLIC_GE_8(x, y) (!(CYCLIC_LT_8(x, y))) argument 74 #define CYCLIC_GE_16(x, y) (!(CYCLIC_LT_16(x, y))) argument 75 #define CYCLIC_GE_24(x, y) (!(CYCLIC_LT_24(x, y))) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/optim/ |
H A D | shift-shift.c | 1 unsigned int shl0(unsigned int x) in shl0() 6 unsigned int shl1(unsigned int x) in shl1() 11 unsigned int shl2(unsigned int x) in shl2() 16 unsigned int shl3(unsigned int x) in shl3() 22 unsigned int lsr0(unsigned int x) in lsr0() 27 unsigned int lsr1(unsigned int x) in lsr1() 32 unsigned int lsr2(unsigned int x) in lsr2() 43 int asr0(int x) in asr0() 48 int asr1(int x) in asr1() 53 int asr2(int x) in asr2() [all …]
|
/illumos-gate/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 14 #define be32_to_cpu(x) (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 …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_xhci.h | 94 #define XHCI_SCTX_0_ROUTE_SET(x) ((x) & 0xFFFFF) argument 95 #define XHCI_SCTX_0_ROUTE_GET(x) ((x) & 0xFFFFF) argument 133 #define XHCI_EPCTX_0_EPSTATE_SET(x) ((x) & 0x7) argument 134 #define XHCI_EPCTX_0_EPSTATE_GET(x) ((x) & 0x7) argument 155 #define XHCI_EPCTX_2_DCS_SET(x) ((x) & 0x1) argument 156 #define XHCI_EPCTX_2_DCS_GET(x) ((x) & 0x1) argument 201 #define XHCI_SCTX_0_DCS_GET(x) ((x) & 0x1) argument 202 #define XHCI_SCTX_0_DCS_SET(x) ((x) & 0x1) argument 227 #define XHCI_TRB_2_REM_GET(x) ((x) & 0xFFFFFF) argument 228 #define XHCI_TRB_2_REM_SET(x) ((x) & 0xFFFFFF) argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 18 # define __P(x) x argument 20 # define __P(x) () argument 287 # define SPL_NET(x) ; argument 288 # define SPL_IMP(x) ; argument 290 # define SPL_X(x) ; argument 470 # define SPL_X(x) ; argument 701 # define SPL_X(x) ; argument 1478 # define SPL_X(x) ; argument 1684 # define ASSERT(x) argument 1732 # define SPL_INT(x) argument [all …]
|
/illumos-gate/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 75 #define be16toh(x) bswap16((x)) argument 76 #define be32toh(x) bswap32((x)) argument 77 #define be64toh(x) bswap64((x)) argument 85 #define htole16(x) bswap16((x)) argument [all …]
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/controller/ |
H A D | xhcireg.h | 49 #define XHCI_HCS1_DEVSLOT_MAX(x)((x) & 0xFF) argument 53 #define XHCI_HCS2_IST(x) ((x) & 0xF) argument 55 #define XHCI_HCS2_SPR(x) (((x) >> 26) & 0x1) argument 58 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument 162 #define XHCI_MFINDEX_GET(x) ((x) & 0x3FFF) argument 174 #define XHCI_ERSTS_GET(x) ((x) & 0xFFFF) argument 175 #define XHCI_ERSTS_SET(x) ((x) & 0xFFFF) argument 191 #define XHCI_XECP_ID(x) ((x) & 0xFF) argument 214 #define XWRITE1(sc, what, a, x) \ argument 217 #define XWRITE2(sc, what, a, x) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 65 #define htobes(x) BSWAP_16(x) argument 66 #define betohs(x) BSWAP_16(x) argument 67 #define htobel(x) BSWAP_32(x) argument 68 #define betohl(x) BSWAP_32(x) argument 69 #define htobeq(x) BSWAP_64(x) argument 70 #define betohq(x) BSWAP_64(x) argument 75 #define letohs(x) BSWAP_16(x) argument 76 #define htoles(x) BSWAP_16(x) argument 77 #define letohl(x) BSWAP_32(x) argument 78 #define htolel(x) BSWAP_32(x) argument [all …]
|
/illumos-gate/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 139 #define BMASK_64(x) (x) argument 145 #define BE_8(x) BMASK_8(x) argument 146 #define BE_16(x) BMASK_16(x) argument 147 #define BE_32(x) BMASK_32(x) argument [all …]
|
/illumos-gate/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
|