/freebsd-11-stable/sys/xen/interface/hvm/ |
H A D | save.h | 65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ 66 static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h) { return _fix(h); } \ 67 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \ 68 struct __HVM_SAVE_TYPE_COMPAT_##_x { _ctype t; } 71 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ 72 static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h) { BUG(); return -1; } \ 73 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}; \ 74 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; } 76 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ 77 struct __HVM_SAVE_TYPE_##_x { _typ [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | types.h | 313 __bitcount16(__uint16_t _x) argument 316 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); 317 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); 318 _x = (_x + (_x >> 324 __bitcount32(__uint32_t _x) argument 337 __bitcount64(__uint64_t _x) argument 352 __bitcount64(__uint64_t _x) argument [all...] |
/freebsd-11-stable/sys/riscv/include/ |
H A D | endian.h | 63 __bswap64(__uint64_t _x) argument 67 ret = (_x >> 56); 68 ret |= ((_x >> 40) & 0xff00); 69 ret |= ((_x >> 24) & 0xff0000); 70 ret |= ((_x >> 8) & 0xff000000); 71 ret |= ((_x << 8) & ((__uint64_t)0xff << 32)); 72 ret |= ((_x << 24) & ((__uint64_t)0xff << 40)); 73 ret |= ((_x << 40) & ((__uint64_t)0xff << 48)); 74 ret |= (_x << 56); 80 __bswap32_var(__uint32_t _x) argument 88 __bswap16_var(__uint16_t _x) argument [all...] |
/freebsd-11-stable/sys/sparc64/include/ |
H A D | endian.h | 88 __bswap16_var(__uint16_t _x) argument 91 return ((_x >> 8) | ((_x << 8) & 0xff00)); 95 __bswap32_var(__uint32_t _x) argument 98 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 99 ((_x << 24) & 0xff000000)); 103 __bswap64_var(__uint64_t _x) argument 106 return ((_x >> 5 [all...] |
/freebsd-11-stable/sys/powerpc/include/ |
H A D | endian.h | 108 __bswap16_var(__uint16_t _x) argument 111 return ((_x >> 8) | ((_x << 8) & 0xff00)); 115 __bswap32_var(__uint32_t _x) argument 118 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 119 ((_x << 24) & 0xff000000)); 123 __bswap64_var(__uint64_t _x) argument 126 return ((_x >> 5 [all...] |
/freebsd-11-stable/sys/mips/include/ |
H A D | endian.h | 87 __bswap16_var(__uint16_t _x) argument 90 return ((_x >> 8) | ((_x << 8) & 0xff00)); 94 __bswap32_var(__uint32_t _x) argument 97 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 98 ((_x << 24) & 0xff000000)); 102 __bswap64_var(__uint64_t _x) argument 105 return ((_x >> 5 [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | uaccess.h | 48 #define __get_user(_x, _p) ({ \ 52 (_x) = __x; \ 56 #define __put_user(_x, _p) ({ \ 57 __typeof(*(_p)) __x = (_x); \ 60 #define get_user(_x, _p) linux_copyin((_p), &(_x), sizeof(*(_p))) 61 #define put_user(_x, _p) __put_user(_x, _p)
|
H A D | ww_mutex.h | 67 #define ww_mutex_lock_slow(_m, _x) \ 68 ww_mutex_lock(_m, _x) 70 #define ww_mutex_lock_slow_interruptible(_m, _x) \ 71 ww_mutex_lock_interruptible(_m, _x)
|
/freebsd-11-stable/sys/x86/include/ |
H A D | endian.h | 92 __bswap16_var(__uint16_t _x) argument 95 return (__bswap16_gen(_x)); 99 __bswap32_var(__uint32_t _x) argument 103 __asm("bswap %0" : "+r" (_x)); 104 return (_x); 106 return (__bswap32_gen(_x)); 111 __bswap64_var(__uint64_t _x) argument 115 __asm("bswap %0" : "+r" (_x)); 116 return (_x); 122 return (__bswap64_gen(_x)); [all...] |
/freebsd-11-stable/sys/arm/include/ |
H A D | endian.h | 76 __bswap64(__uint64_t _x) argument 79 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | 80 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | 81 ((_x << 24) & ((__uint64_t)0xff << 40)) | 82 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56)));
|
/freebsd-11-stable/stand/ |
H A D | Makefile | 34 .for _x in ${S.yes} 35 SUBDIR+=${_x} 36 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}} 37 SUBDIR+=${_x}32
|
/freebsd-11-stable/sys/dev/pms/RefTisa/sallsdk/api/ |
H A D | sa.h | 133 /*! \def AGSA_FLIP_2_BYTES(_x) 138 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ 139 ((((bit16)(_x))&0xFF00)>>8))) 141 /*! \def AGSA_FLIP_4_BYTES(_x) 146 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ 147 ((((bit32)(_x))&0x0000FF00)<<8)| \ 148 ((((bit32)(_x))&0x00FF0000)>>8)| \ 149 ((((bit32)(_x)) [all...] |
/freebsd-11-stable/etc/rc.d/ |
H A D | rfcomm_pppd_server | 24 local _bdaddr _channel _x 53 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_sp 54 if [ -n "${_x}" ]; then 62 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_dun 63 if [ -n "${_x}" ]; then
|
H A D | jail | 188 eval _x=\"\$jail_${_jv}_ip_multi${alias}\" 189 [ -z "$_x" ] && break 191 jail_handle_ips_option $_x $_interface 353 local _x _type _i _defif 354 _x=$1 357 if [ -z "${_x}" ]; then 365 while [ ${#_x} -gt 0 ]; do 366 case "${_x}" in 368 _i=`expr "${_x}" : '^\([^,]*\)'` 369 _x [all...] |
/freebsd-11-stable/sys/xen/interface/io/ |
H A D | ring.h | 41 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) 42 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) 43 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>> [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.h | 272 #define CHT_FIND(_ph, _hsize, _PX, _x, _key) do { \ 275 _x = _PX##first(_ph, _buck); \ 276 for ( ; _x != NULL; _x = _PX##next(_x)) { \ 277 if (_PX##cmp(_key, _PX##val(_x))) \ 280 if (_x == NULL) \ 300 #define CHT_REMOVE(_ph, _hsize, _PX, _x, _tmp, _key) do { \ 303 _x = _PX##first(_ph, _buck); \ 305 for ( ; _x ! [all...] |
/freebsd-11-stable/contrib/libxo/libxo/ |
H A D | xo_encoder.h | 75 #define XO_STRINGIFY(_x) #_x 76 #define XO_STRINGIFY2(_x) XO_STRINGIFY(_x)
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_core.h | 50 #define USB_XFER_LOCK(_x) mtx_lock((_x)->xroot->xfer_mtx) 51 #define USB_XFER_UNLOCK(_x) mtx_unlock((_x)->xroot->xfer_mtx) 52 #define USB_XFER_LOCK_ASSERT(_x, _t) mtx_assert((_x)->xroot->xfer_mtx, _t)
|
/freebsd-11-stable/sys/dev/pms/RefTisa/sat/src/ |
H A D | smdefs.h | 668 #define LEBIT16_TO_BIT16(_x) (_x) 672 #define BIT16_TO_LEBIT16(_x) (_x) 676 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) 680 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) 684 #define LEBIT32_TO_BIT32(_x) (_x) [all...] |
/freebsd-11-stable/contrib/ntp/scripts/monitoring/ |
H A D | lr.pl | 58 my($_x, $_y) = @_; 61 $self->{sx} += $_x; 63 $self->{sxy} += $_x * $_y; 64 $self->{sx2} += $_x**2;
|
/freebsd-11-stable/include/ |
H A D | _ctype.h | 161 unsigned int _x; local 165 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); 166 if ((_x & _CTYPE_SWM) != 0) 167 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); 168 return ((_x & _CTYPE_R) != 0 ? 1 : -1);
|
/freebsd-11-stable/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tddefs.h | 836 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ 837 ((((bit16)(_x))&0xFF00)>>8))) 839 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ 840 ((((bit32)(_x))&0x0000FF00)<<8)| \ 841 ((((bit32)(_x))&0x00FF0000)>>8)| \ 842 ((((bit32)(_x))&0xFF000000)>>24))) 943 #define LEBIT16_TO_BIT16(_x) (_x) [all...] |
/freebsd-11-stable/contrib/libxo/tests/core/ |
H A D | test_03.c | 69 #define TO_ULL(_x) ((unsigned long long) _x)
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar934x_nfcreg.h | 57 #define AR934X_NFC_REG_LOOKUP(_x) (0x44 + (_i) * 4) 141 #define AR934X_NFC_INT_DEV_RDY(_x) BIT(4 + (_x))
|
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | efx_types.h | 249 #define __SWAP16(_x) \ 250 ((((_x) & 0xff) << 8) | \ 251 (((_x) >> 8) & 0xff)) 253 #define __SWAP32(_x) \ 254 ((__SWAP16((_x) & 0xffff) << 16) | \ 255 __SWAP16(((_x) >> 16) & 0xffff)) 257 #define __SWAP64(_x) \ 258 ((__SWAP32((_x) & 0xffffffff) << 32) | \ 259 __SWAP32(((_x) >> 32) & 0xffffffff)) 261 #define __NOSWAP16(_x) (_ [all...] |