/illumos-gate/usr/src/boot/sys/sys/ |
H A D | types.h | 320 __bitcount16(__uint16_t _x) in __bitcount16() argument 323 _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() 327 return (_x); in __bitcount16() 331 __bitcount32(__uint32_t _x) in __bitcount32() argument 334 _x = (_x & 0x55555555) + ((_x & 0xaaaaaaaa) >> 1); in __bitcount32() 335 _x = (_x & 0x33333333) + ((_x & 0xcccccccc) >> 2); in __bitcount32() 336 _x = (_x + (_x >> 4)) & 0x0f0f0f0f; in __bitcount32() [all …]
|
H A D | time.h | 59 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 D | ring.h | 41 #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 D | endian.h | 92 __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 D | emlxs_fc.h | 2238 #define SWAP64(_x) ((((uint64_t)(_x) & 0xFF)<<56) | \ argument 2239 (((uint64_t)(_x) & 0xFF00)<<40) | \ 2240 (((uint64_t)(_x) & 0xFF0000)<<24) | \ 2241 (((uint64_t)(_x) & 0xFF000000)<<8) | \ 2242 (((uint64_t)(_x) & 0xFF00000000)>>8) | \ 2243 (((uint64_t)(_x) & 0xFF0000000000)>>24) | \ 2244 (((uint64_t)(_x) & 0xFF000000000000)>>40) | \ 2245 (((uint64_t)(_x) & 0xFF00000000000000)>>56)) 2247 #define SWAP32(_x) ((((uint32_t)(_x) & 0xFF)<<24) | \ argument 2248 (((uint32_t)(_x) & 0xFF00)<<8) | \ [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_types.h | 247 #define __SWAP16(_x) \ argument 248 ((((_x) & 0xff) << 8) | \ 249 (((_x) >> 8) & 0xff)) 251 #define __SWAP32(_x) \ argument 252 ((__SWAP16((_x) & 0xffff) << 16) | \ 253 __SWAP16(((_x) >> 16) & 0xffff)) 255 #define __SWAP64(_x) \ argument 256 ((__SWAP32((_x) & 0xffffffff) << 32) | \ 257 __SWAP32(((_x) >> 32) & 0xffffffff)) 259 #define __NOSWAP16(_x) (_x) argument [all …]
|
H A D | efx_regs_mcdi.h | 338 #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.h | 161 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 D | test-sort.c | 14 #define MIN(_x,_y) ((_x) < (_y) ? (_x) : (_y)) argument
|
H A D | smatch.c | 61 #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 D | ctags.c | 39 #define MAX(_x,_y) ((_x) > (_y) ? (_x) : (_y)) argument
|
H A D | check_list.h | 2 #define CK(_x) void _x(int id); argument
|
H A D | smatch.h | 53 #define STATE(_x) static struct smatch_state _x = { .name = #_x } argument
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | mcs.h | 172 #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 D | stdio_iso.h | 281 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.h | 164 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 D | efsys.h | 91 #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 D | sgs.h | 142 #define EC_LINENO(_x) EC_XWORD(_x) /* "llu" */ argument
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipnet.h | 59 #define IPSK_BUMP(_x, _y) (_x)->ips_stats._y.value.ui64++ argument
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 60 #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 D | arith.sh | 99 if (( (_=1)+(_x=0)-_ ))
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 2450 #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 D | RELEASE | 1696 add fstat,lstat,mknod,stat fixes for _x versions in sys/stat.h
|