Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 3311) sorted by relevance

12345678910>>...133

/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_spec.h50 #define ZERO(x) (uint_t)(((uchar_t *)(x))[0]) argument
51 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument
52 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument
53 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument
55 #define MSB_INT(x) \ argument
56 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
57 #define LSB_INT(x) \ argument
58 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
59 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
60 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Dhsfs_isospec.h38 #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
44 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
45 #define LSB_INT(x) \ argument
46 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
47 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
48 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
[all …]
H A Dhsfs_rrip.h108 #define RRIP_TF_FLAGS(x) *(RRIP_tf_flags(x)) argument
109 #define RRIP_tf_flags(x) (&((uchar_t *)(x))[4]) argument
113 #define RRIP_TF_TIME_LENGTH(x) (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \ argument
131 #define RRIP_tf_creation(x) (&((uchar_t *)x)[RRIP_TIME_START_BP]) argument
132 #define RRIP_tf_modify(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument
133 (RRIP_TF_TIME_LENGTH(x) * \
134 (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \
137 #define RRIP_tf_access(x) (&((uchar_t *)x)[RRIP_TIME_START_BP + \ argument
138 (RRIP_TF_TIME_LENGTH(x) * \
139 (IS_TIME_BIT_SET(RRIP_TF_FLAGS(x), \
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_regs.h497 #define V_QID(x) ((x) << S_QID) argument
498 #define G_QID(x) (((x) >> S_QID) & M_QID) argument
501 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument
506 #define V_PIDX(x) ((x) << S_PIDX) argument
507 #define G_PIDX(x) (((x) >> S_PIDX) & M_PIDX) argument
512 #define V_DBTYPE(x) ((x) << S_DBTYPE) argument
517 #define V_PIDX_T5(x) ((x) << S_PIDX_T5) argument
518 #define G_PIDX_T5(x) (((x) >> S_PIDX_T5) & M_PIDX_T5) argument
521 #define V_SYNC_T6(x) ((x) << S_SYNC_T6) argument
528 #define V_INGRESSQID(x) ((x) << S_INGRESSQID) argument
[all …]
H A Dt4_msg.h293 #define V_CPL_OPCODE(x) ((x) << S_CPL_OPCODE) argument
294 #define G_CPL_OPCODE(x) (((x) >> S_CPL_OPCODE) & 0xFF) argument
295 #define G_TID(x) ((x) & 0xFFFFFF) argument
308 #define V_TID_TID(x) ((x) << S_TID_TID) argument
309 #define G_TID_TID(x) (((x) >> S_TID_TID) & M_TID_TID) argument
313 #define V_TID_QID(x) ((x) << S_TID_QID) argument
314 #define G_TID_QID(x) (((x) >> S_TID_QID) & M_TID_QID) argument
362 #define G_HASHTYPE(x) (((x) >> S_HASHTYPE) & M_HASHTYPE) argument
366 #define G_QNUM(x) (((x) >> S_QNUM) & M_QNUM) argument
384 #define V_WR_LEN16(x) ((x) << S_WR_LEN16) argument
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dregs.h28 #define V_CMDQ0_ENABLE(x) ((x) << S_CMDQ0_ENABLE) argument
32 #define V_CMDQ1_ENABLE(x) ((x) << S_CMDQ1_ENABLE) argument
36 #define V_FL0_ENABLE(x) ((x) << S_FL0_ENABLE) argument
40 #define V_FL1_ENABLE(x) ((x) << S_FL1_ENABLE) argument
44 #define V_CPL_ENABLE(x) ((x) << S_CPL_ENABLE) argument
48 #define V_RESPONSE_QUEUE_ENABLE(x) ((x) << S_RESPONSE_QUEUE_ENABLE) argument
53 #define V_CMDQ_PRIORITY(x) ((x) << S_CMDQ_PRIORITY) argument
54 #define G_CMDQ_PRIORITY(x) (((x) >> S_CMDQ_PRIORITY) & M_CMDQ_PRIORITY) argument
57 #define V_DISABLE_CMDQ0_GTS(x) ((x) << S_DISABLE_CMDQ0_GTS) argument
61 #define V_DISABLE_CMDQ1_GTS(x) ((x) << S_DISABLE_CMDQ1_GTS) argument
[all …]
H A Dfpga_defs.h78 #define V_MI0_CLK_DIV(x) ((x) << S_MI0_CLK_DIV) argument
79 #define G_MI0_CLK_DIV(x) (((x) >> S_MI0_CLK_DIV) & M_MI0_CLK_DIV) argument
83 #define V_MI0_CLK_CNT(x) ((x) << S_MI0_CLK_CNT) argument
84 #define G_MI0_CLK_CNT(x) (((x) >> S_MI0_CLK_CNT) & M_MI0_CLK_CNT) argument
89 #define V_MI0_CSR_POLL(x) ((x) << S_MI0_CSR_POLL) argument
93 #define V_MI0_PREAMBLE(x) ((x) << S_MI0_PREAMBLE) argument
97 #define V_MI0_INTR_ENABLE(x) ((x) << S_MI0_INTR_ENABLE) argument
101 #define V_MI0_BUSY(x) ((x) << S_MI0_BUSY) argument
105 #define V_MI0_MDIO(x) ((x) << S_MI0_MDIO) argument
112 #define V_MI0_PHY_REG_ADDR(x) ((x) << S_MI0_PHY_REG_ADDR) argument
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/xhci/
H A Dxhcireg.h61 #define XHCI_VERSION_MASK(x) (((x) >> 16) & 0xffff) argument
67 #define XHCI_HCS1_DEVSLOT_MAX(x) ((x) & 0xFF) argument
68 #define XHCI_HCS1_IRQ_MAX(x) (((x) >> 8) & 0x3FF) argument
69 #define XHCI_HCS1_N_PORTS(x) (((x) >> 24) & 0xFF) argument
75 #define XHCI_HCS2_IST(x) ((x) & 0x7) argument
76 #define XHCI_HCS2_IST_MICRO(x) (!((x) & 0x8)) argument
77 #define XHCI_HCS2_ERST_MAX(x) (((x) >> 4) & 0xF) argument
78 #define XHCI_HCS2_SPR(x) (((x) >> 24) & 0x1) argument
79 #define XHCI_HCS2_SPB_MAX(x) ((((x) >> 16) & 0x3e0) | (((x) >> 27) & 0x1f)) argument
85 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_sum.sh45 typeset x
50 x="$(print 'hello' | /usr/bin/sum)" || err_exit "/usr/bin/sum pipe failed."
51 [[ "$x" == "542 1" ]] || err_exit "print 'hello' | /usr/bin/sum did not return 542 1, got $x"
52 x="$(print 'hello' | sum)" || err_exit "sum builtin pipe failed."
53 [[ "$x" == "542 1" ]] || err_exit "print 'hello' | sum builtin did not return 542 1, got $x"
54 x="$(print 'hello' | sum -x md5)" || err_exit "sum md5 builtin pipe failed."
55 …[ "$x" == "b1946ac92492d2347c6235b4d2611184" ]] || err_exit "print 'hello' | sum md5 builtin did n…
56 x="$(print 'hello' | sum -x sha1)" || err_exit "sum sha1 builtin pipe failed."
57x" == "f572d396fae9206628714fb2ce00f72e94f2258f" ]] || err_exit "print 'hello' | sum sha1 builtin …
58 x="$(print 'hello' | sum -x sha256)" || err_exit "sum sha256 builtin pipe failed."
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h155 #define V_FW_WR_OP(x) ((x) << S_FW_WR_OP) argument
156 #define G_FW_WR_OP(x) (((x) >> S_FW_WR_OP) & M_FW_WR_OP) argument
162 #define V_FW_WR_ATOMIC(x) ((x) << S_FW_WR_ATOMIC) argument
163 #define G_FW_WR_ATOMIC(x) \ argument
164 (((x) >> S_FW_WR_ATOMIC) & M_FW_WR_ATOMIC)
172 #define V_FW_WR_FLUSH(x) ((x) << S_FW_WR_FLUSH) argument
173 #define G_FW_WR_FLUSH(x) \ argument
174 (((x) >> S_FW_WR_FLUSH) & M_FW_WR_FLUSH)
181 #define V_FW_WR_COMPL(x) ((x) << S_FW_WR_COMPL) argument
182 #define G_FW_WR_COMPL(x) \ argument
[all …]
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.S223 #define f2(x) [[x<<1]^[[[x>>7]&1]*0x11b]] argument
224 #define f4(x) [[x<<2]^[[[x>>6]&1]*0x11b]^[[[x>>6]&2]*0x11b]] argument
225 #define f8(x) [[x<<3]^[[[x>>5]&1]*0x11b]^[[[x>>5]&2]*0x11b]^[[[x>>5]&4]*0x11b]] argument
229 #define f3(x) [[f2(x)] ^ [x]] argument
230 #define f9(x) [[f8(x)] ^ [x]] argument
231 #define fb(x) [[f8(x)] ^ [f2(x)] ^ [x]] argument
232 #define fd(x) [[f8(x)] ^ [f4(x)] ^ [x]] argument
233 #define fe(x) [[f8(x)] ^ [f4(x)] ^ [f2(x)]] argument
237 #define u8(x) [f2(x)], [x], [x], [f3(x)], [f2(x)], [x], [x], [f3(x)] argument
238 #define v8(x) [fe(x)], [f9(x)], [fd(x)], [fb(x)], [fe(x)], [f9(x)], [fd(x)], [x] argument
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_xhci.h92 #define XHCI_SCTX_0_ROUTE_SET(x) ((x) & 0xFFFFF) argument
93 #define XHCI_SCTX_0_ROUTE_GET(x) ((x) & 0xFFFFF) argument
94 #define XHCI_SCTX_0_SPEED_SET(x) (((x) & 0xF) << 20) argument
95 #define XHCI_SCTX_0_SPEED_GET(x) (((x) >> 20) & 0xF) argument
96 #define XHCI_SCTX_0_MTT_SET(x) (((x) & 0x1) << 25) argument
97 #define XHCI_SCTX_0_MTT_GET(x) (((x) >> 25) & 0x1) argument
98 #define XHCI_SCTX_0_HUB_SET(x) (((x) & 0x1) << 26) argument
99 #define XHCI_SCTX_0_HUB_GET(x) (((x) >> 26) & 0x1) argument
100 #define XHCI_SCTX_0_CTX_NUM_SET(x) (((x) & 0x1F) << 27) argument
101 #define XHCI_SCTX_0_CTX_NUM_GET(x) (((x) >> 27) & 0x1F) argument
[all …]
/illumos-gate/usr/src/head/
H A Dtgmath.h41 #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 …]
/illumos-gate/usr/src/contrib/bhyve/dev/usb/controller/
H A Dxhcireg.h49 #define XHCI_HCS1_DEVSLOT_MAX(x)((x) & 0xFF) argument
50 #define XHCI_HCS1_IRQ_MAX(x) (((x) >> 8) & 0x3FF) argument
51 #define XHCI_HCS1_N_PORTS(x) (((x) >> 24) & 0xFF) argument
53 #define XHCI_HCS2_IST(x) ((x) & 0xF) argument
54 #define XHCI_HCS2_ERST_MAX(x) (((x) >> 4) & 0xF) argument
55 #define XHCI_HCS2_SPR(x) (((x) >> 26) & 0x1) argument
56 #define XHCI_HCS2_SPB_MAX(x) ((((x) >> 16) & 0x3E0) | (((x) >> 27) & 0x1F)) argument
58 #define XHCI_HCS3_U1_DEL(x) ((x) & 0xFF) argument
59 #define XHCI_HCS3_U2_DEL(x) (((x) >> 16) & 0xFFFF) argument
61 #define XHCI_HCS0_AC64(x) ((x) & 0x1) /* 64-bit capable */ argument
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h18 # 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 …]
/illumos-gate/usr/src/lib/libm1/common/
H A Dlibmv1.c96 __libm__rem_pio2(double x, double *y) { in __libm__rem_pio2() argument
102 __libm__rem_pio2m(double *x, double *y, int e0, int nx, int p, const int *ip) { in __libm__rem_pio2m() argument
108 __acos(double x) { in __acos() argument
114 __acosh(double x) { in __acosh() argument
120 __asin(double x) { in __asin() argument
126 __asinh(double x) { in __asinh() argument
132 __atan(double x) { in __atan() argument
138 __atan2(double y, double x) { in __atan2() argument
144 __atanh(double x) { in __atanh() argument
150 __cbrt(double x) { in __cbrt() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_mpi.h34 #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 …]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h82 inline Boolean(aud_bool_t x = FALSE): value(x) // Constructor in value() argument
84 inline Boolean(int x) // Constructor from int in Boolean() argument
85 { value = (x == 0) ? FALSE : TRUE; } in Boolean()
86 inline Boolean operator=(int x) // Assignment from int
87 { return (value = (x == 0) ? FALSE : TRUE); }
104 FileAccess(fileaccess_t x = NoAccess): mode(x) { } // Constructor in mode() argument
138 Double(double x = 0.): val(x) { } in val() argument
139 Double(const Double &x): val(x.val) { } in Double() argument
154 inline double min(const Double& x, const Double& y) { in min() argument
155 return (((double)x < (double)y) ? (double)x : (double)y); in min()
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dparse.c32 NODE *x; in nodealloc() local
33 x = (NODE *) malloc(sizeof (NODE) + n * sizeof (NODE *)); in nodealloc()
34 if (x == NULL) in nodealloc()
36 return (x); in nodealloc()
53 NODE *x; in node0() local
54 x = nodealloc(0); /* No space for narg */ in node0()
55 x->nnext = NULL; in node0()
56 x->nobj = a; in node0()
57 return (x); in node0()
65 NODE *x; in node1() local
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.re60 x
66 x
68 . ~ x
77 $ ~ x
79 .$ ~ x
86 x
88 ^ ~ x
103 !~ x
128 \$ ~ x$
130 $x
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dbyteorder.h61 #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
111 (((uint32_t)(x) << 8) & 0xff0000) | \
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Darithmetic-ops.c1 static int add(int x, int y) in add() argument
3 return x + y; in add()
6 static unsigned int uadd(unsigned int x, unsigned int y) in uadd() argument
8 return x + y; in uadd()
11 static float fadd(float x, float y) in fadd() argument
13 return x + y; in fadd()
16 static double dadd(double x, double y) in dadd() argument
18 return x + y; in dadd()
21 static int sub(int x, int y) in sub() argument
23 return x - y; in sub()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbool-cast-restricted.c4 _Bool lfoo(large_t x) { return x; } in lfoo() argument
5 _Bool qfoo(large_t x) { _Bool r = x; return r; } in qfoo() argument
6 _Bool xfoo(large_t x) { return (_Bool)x; } in xfoo() argument
7 _Bool lbar(large_t x) { return ~x; } in lbar() argument
8 _Bool qbar(large_t x) { _Bool r = ~x; return r; } in qbar() argument
9 _Bool xbar(large_t x) { return (_Bool)~x; } in xbar() argument
10 _Bool lbaz(large_t x) { return !x; } in lbaz() argument
11 _Bool qbaz(large_t x) { _Bool r = !x; return r; } in qbaz() argument
12 _Bool xbaz(large_t x) { return (_Bool)!x; } in xbaz() argument
13 _Bool lqux(large_t x) { return x & LBIT; } in lqux() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dsupport.c95 extern double _scalb(x,N)
96 double x; double N;
101 unsigned short *px=(unsigned short *) &x + 3;
103 unsigned short *px=(unsigned short *) &x;
106 if( x == zero ) return(x);
113 return(copysign(infnan(ERANGE),x));
119 x *= scalb(1.0,prep1); N -= prep1; return(scalb(x,N));}
124 else x=novf+novf; /* overflow */
128 {*px=(*px&~mexp)|(short)(1<<gap); x *= scalb(1.0,k-1);}
132 return(x);
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dcyclic_oper.h44 #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() argument
48 u32_t diff = _ABS_DIFF(x,y); in _cyclic_lt()
49 return (diff < d) ? x < y : x > y; in _cyclic_lt()
52 static __inline u8_t _cyclic_le(u32_t x, u32_t y, u32_t d) in _cyclic_le() argument
54 u32_t diff = _ABS_DIFF(x,y); in _cyclic_le()
55 return (diff < d) ? x <= y : x >= y; 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
[all …]

12345678910>>...133