/freebsd-13-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, uint32_t size) \ 68 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \ 69 struct __HVM_SAVE_TYPE_COMPAT_##_x { _ctype t; } 72 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ 73 static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \ 75 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}; \ 76 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; } 78 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ 79 struct __HVM_SAVE_TYPE_##_x { _typ [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | types.h | 324 __bitcount16(__uint16_t _x) argument 327 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); 328 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); 329 _x = (_x + (_x >> 335 __bitcount32(__uint32_t _x) argument 348 __bitcount64(__uint64_t _x) argument 363 __bitcount64(__uint64_t _x) argument [all...] |
/freebsd-13-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-13-stable/sys/mips/include/ |
H A D | endian.h | 89 __bswap16_var(__uint16_t _x) argument 92 return ((_x >> 8) | ((_x << 8) & 0xff00)); 96 __bswap32_var(__uint32_t _x) argument 99 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 100 ((_x << 24) & 0xff000000)); 104 __bswap64_var(__uint64_t _x) argument 107 return ((_x >> 5 [all...] |
/freebsd-13-stable/sys/powerpc/include/ |
H A D | endian.h | 110 __bswap16_var(__uint16_t _x) argument 113 return ((_x >> 8) | ((_x << 8) & 0xff00)); 117 __bswap32_var(__uint32_t _x) argument 120 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 121 ((_x << 24) & 0xff000000)); 125 __bswap64_var(__uint64_t _x) argument 128 return ((_x >> 5 [all...] |
/freebsd-13-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)
|
H A D | kernel.h | 490 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) 618 #define ___IS_XAB(_ignore, _x, ...) (_x) 619 #define __IS_XAB(_x) ___IS_XAB(_x 1, 0) 620 #define _IS_XAB(_x) __IS_XAB(__CONCAT(___XAB_, _x)) 623 #define IS_BUILTIN(_x) _IS_XAB(_x) [all...] |
/freebsd-13-stable/sys/arm/include/ |
H A D | endian.h | 78 __bswap64(__uint64_t _x) argument 81 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | 82 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | 83 ((_x << 24) & ((__uint64_t)0xff << 40)) | 84 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56)));
|
/freebsd-13-stable/lib/msun/tests/ |
H A D | test-utils.h | 152 long double _x = x; \ 154 ATF_CHECK_MSG(fpequal_cs(_x, _y, checksign), \ 155 "%s (%.25Lg) ~= %s (%.25Lg)", #x, _x, #y, _y); \ 159 long double _x = x; \ 161 bool eq = fpequal_tol(_x, _y, tol, flags); \ 162 long double _diff = eq ? 0.0L : fabsl(_x - _y); \ 164 #x, _x, #y, _y, _diff, fabsl(_y * tol)); \ 176 long double _x = x; \ 179 fpequal_cs(creal(_x), creal(_y), (checksign & CS_REAL) != 0) && \ 180 fpequal_cs(cimag(_x), cima [all...] |
/freebsd-13-stable/stand/ |
H A D | Makefile | 64 .for _x in ${S.yes} 65 SUBDIR+=${_x} 66 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}} 67 SUBDIR+=${_x}32 69 .if ${_x} != "libsa" 70 SUBDIR_DEPEND_${_x}+= libsa 71 SUBDIR_DEPEND_${_x}32+= libsa32
|
/freebsd-13-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-13-stable/libexec/rc/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-13-stable/sys/xen/interface/io/ |
H A D | ring.h | 56 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) 57 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) 58 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>> [all...] |
/freebsd-13-stable/sys/dev/usb/ |
H A D | usb_core.h | 55 #define USB_XFER_LOCK(_x) USB_MTX_LOCK((_x)->xroot->xfer_mtx) 56 #define USB_XFER_UNLOCK(_x) USB_MTX_UNLOCK((_x)->xroot->xfer_mtx) 57 #define USB_XFER_LOCK_ASSERT(_x, _t) USB_MTX_ASSERT((_x)->xroot->xfer_mtx, _t)
|
/freebsd-13-stable/sys/net/route/ |
H A D | nhop_utils.h | 154 #define CHT_SLIST_FOREACH(_head, _PX, _x) \ 156 for (_x = CHT_FIRST(_head, _i); _x; _x = _PX##_next(_x)) 162 typeof(*(_head)->ptr) _x, _y; \ 164 _x = CHT_FIRST(_head, _old_idx); \ 165 _y = _x; \ 167 _y = _PX##_next(_x); \ 168 _new_idx = _PX##_hash_obj(_x) [all...] |
/freebsd-13-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-13-stable/contrib/libxo/libxo/ |
H A D | xo_encoder.h | 122 #define XO_STRINGIFY(_x) #_x 123 #define XO_STRINGIFY2(_x) XO_STRINGIFY(_x)
|
/freebsd-13-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-13-stable/include/ |
H A D | _ctype.h | 163 unsigned int _x; local 167 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); 168 if ((_x & _CTYPE_SWM) != 0) 169 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); 170 return ((_x & _CTYPE_R) != 0 ? 1 : -1);
|
/freebsd-13-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-13-stable/contrib/libxo/tests/core/ |
H A D | test_03.c | 70 #define TO_ULL(_x) ((unsigned long long) _x)
|
/freebsd-13-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-13-stable/sys/dev/sfxge/common/ |
H A D | efx_types.h | 252 #define __SWAP16(_x) \ 253 ((((_x) & 0xff) << 8) | \ 254 (((_x) >> 8) & 0xff)) 256 #define __SWAP32(_x) \ 257 ((__SWAP16((_x) & 0xffff) << 16) | \ 258 __SWAP16(((_x) >> 16) & 0xffff)) 260 #define __SWAP64(_x) \ 261 ((__SWAP32((_x) & 0xffffffff) << 32) | \ 262 __SWAP32(((_x) >> 32) & 0xffffffff)) 264 #define __NOSWAP16(_x) (_ [all...] |