Home
last modified time | relevance | path

Searched refs:_x (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/boot/sys/sys/
H A Dtypes.h323 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); in __bitcount16()
324 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); in __bitcount16()
325 _x = (_x + (_x >> 4)) & 0x0f0f; in __bitcount16()
326 _x = (_x + (_x >> 8)) & 0x00ff; in __bitcount16()
336 _x = (_x + (_x >> 4)) & 0x0f0f0f0f; in __bitcount32()
337 _x = (_x + (_x >> 8)); in __bitcount32()
338 _x = (_x + (_x >> 16)) & 0x000000ff; in __bitcount32()
349 _x = (_x + (_x >> 4)) & 0x0f0f0f0f0f0f0f0f; in __bitcount64()
350 _x = (_x + (_x >> 8)); in __bitcount64()
351 _x = (_x + (_x >> 16)); in __bitcount64()
[all …]
H A Dtime.h59 bintime_addx(struct bintime *_bt, uint64_t _x) in bintime_addx() argument
64 _bt->frac += _x; in bintime_addx()
94 bintime_mul(struct bintime *_bt, u_int _x) in bintime_mul() argument
98 _p1 = (_bt->frac & 0xffffffffull) * _x; in bintime_mul()
99 _p2 = (_bt->frac >> 32) * _x + (_p1 >> 32); in bintime_mul()
100 _bt->sec *= _x; in bintime_mul()
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dring.h41 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
42 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
43 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
44 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
45 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/illumos-gate/usr/src/boot/sys/x86/include/
H A Dendian.h92 __bswap16_var(__uint16_t _x) in __bswap16_var() argument
95 return (__bswap16_gen(_x)); in __bswap16_var()
99 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
103 __asm("bswap %0" : "+r" (_x)); in __bswap32_var()
104 return (_x); in __bswap32_var()
106 return (__bswap32_gen(_x)); in __bswap32_var()
111 __bswap64_var(__uint64_t _x) in __bswap64_var() argument
115 __asm("bswap %0" : "+r" (_x)); in __bswap64_var()
116 return (_x); in __bswap64_var()
122 return (__bswap64_gen(_x)); in __bswap64_var()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2267 #define LE_SWAP64(_x) SWAP64(_x) argument
2275 #define LE_SWAP24_LO(_x) (_x) argument
2277 #define LE_SWAP24_HI(_x) (_x) argument
2283 #define LE_SWAP64(_x) (_x) argument
2284 #define LE_SWAP32(_x) (_x) argument
2285 #define LE_SWAP16(_x) (_x) argument
2286 #define LE_SWAP24_LO(_x) (_x) argument
2287 #define LE_SWAP24_HI(_x) (_x) argument
2300 #define BE_SWAP64(_x) (_x) argument
2301 #define BE_SWAP32(_x) (_x) argument
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_types.h259 #define __NOSWAP16(_x) (_x) argument
260 #define __NOSWAP32(_x) (_x) argument
261 #define __NOSWAP64(_x) (_x) argument
265 #define __CPU_TO_LE_16(_x) (uint16_t)__SWAP16(_x) argument
266 #define __LE_TO_CPU_16(_x) (uint16_t)__SWAP16(_x) argument
270 #define __CPU_TO_LE_32(_x) (uint32_t)__SWAP32(_x) argument
271 #define __LE_TO_CPU_32(_x) (uint32_t)__SWAP32(_x) argument
275 #define __CPU_TO_LE_64(_x) (uint64_t)__SWAP64(_x) argument
303 #define __NATIVE_8(_x) (uint8_t)(_x) argument
349 #define FIX_LINT(_x) (_x + fix_lint) argument
[all …]
H A Defx_regs_mcdi.h338 #define MC_CMD_SENSOR_INFO_OUT_OFFSET_OFST(_x) \ argument
339 (MC_CMD_SENSOR_ENTRY_OFST + (_x))
/illumos-gate/usr/src/boot/include/
H A D_ctype.h161 unsigned int _x; in __wcwidth() local
165 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); in __wcwidth()
166 if ((_x & _CTYPE_SWM) != 0) in __wcwidth()
167 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); in __wcwidth()
168 return ((_x & _CTYPE_R) != 0 ? 1 : -1); in __wcwidth()
/illumos-gate/usr/src/tools/smatch/src/
H A Dtest-sort.c14 #define MIN(_x,_y) ((_x) < (_y) ? (_x) : (_y)) argument
H A Dsmatch.c61 #define CK(_x) {.name = #_x, .func = &_x, .enabled = 0}, argument
176 #define OPTION(_x) do { \ argument
177 if (match_option((*argvp)[i], #_x)) { \
178 option_##_x = 1; \
H A Dctags.c39 #define MAX(_x,_y) ((_x) > (_y) ? (_x) : (_y)) argument
H A Dcheck_list.h2 #define CK(_x) void _x(int id); argument
H A Dsmatch.h53 #define STATE(_x) static struct smatch_state _x = { .name = #_x } argument
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmcs.h172 #define CHK_OPT(_x, _y) (((_x)->ci_flags & (_y)) != 0) argument
173 #define SET_OPT(_x, _y) ((_x)->ci_flags |= (_y)) argument
/illumos-gate/usr/src/head/iso/
H A Dstdio_iso.h281 inline int putc(int _x, FILE *_p) { in putc() argument
282 return (--_p->_cnt < 0 ? __flsbuf(_x, _p) in putc()
283 : (int)(*_p->_ptr++ = (unsigned char) _x)); } in putc()
298 inline int putchar(int _x) { return putc(_x, stdout); } in putchar() argument
/illumos-gate/usr/src/boot/include/xlocale/
H A D_ctype.h164 unsigned int _x; in __wcwidth_l() local
168 _x = (unsigned int)__maskrune_l(_c, _CTYPE_SWM|_CTYPE_R, __l); in __wcwidth_l()
169 if ((_x & _CTYPE_SWM) != 0) in __wcwidth_l()
170 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); in __wcwidth_l()
171 return ((_x & _CTYPE_R) != 0 ? 1 : -1); in __wcwidth_l()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Defsys.h91 #define __success(_x) argument
674 #define EFSYS_ASSERT3U(_x, _op, _y) ASSERT3U(_x, _op, _y) argument
675 #define EFSYS_ASSERT3S(_x, _op, _y) ASSERT3S(_x, _op, _y) argument
676 #define EFSYS_ASSERT3P(_x, _op, _y) ASSERT3P(_x, _op, _y) argument
/illumos-gate/usr/src/cmd/sgs/include/
H A Dsgs.h142 #define EC_LINENO(_x) EC_XWORD(_x) /* "llu" */ argument
/illumos-gate/usr/src/uts/common/inet/
H A Dipnet.h59 #define IPSK_BUMP(_x, _y) (_x)->ips_stats._y.value.ui64++ argument
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.c60 #define CPQARY3_MINOR2INTERFACE(_x) ((_x) & (TRAN_MINOR_MASK)) argument
69 #define CPQARY3_INST2x(_i, _x) (((_i) << INST_MINOR_SHIFT) | (_x)) argument
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Darith.sh99 if (( (_=1)+(_x=0)-_ ))
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h2450 #define LM_TPA_BD_ENTRY_TO_ACTIVE_ENTRY(_pdev,_idx,_x) ((_x) & LM_TPA_CHAIN_BD_MASK(_p… argument
2462 …fine LM_TPA_BD_ENTRY_TO_MASK_ENTRY(_pdev,_idx,_x) (LM_TPA_BD_ENTRY_TO_ACTIVE_ENTRY(_pde… argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE1696 add fstat,lstat,mknod,stat fixes for _x versions in sys/stat.h