/freebsd-10-stable/sys/ofed/include/linux/ |
H A D | uaccess.h | 32 #define get_user(_x, _p) -copyin((_p), &(_x), sizeof(*(_p))) 33 #define put_user(_x, _p) -copyout(&(_x), (_p), sizeof(*(_p)))
|
H A D | kernel.h | 174 #define min_t(type, _x, _y) ((type)(_x) < (type)(_y) ? (type)(_x) : (type)(_y)) 175 #define max_t(type, _x, _y) ((type)(_x) > (type)(_y) ? (type)(_x) : (type)(_y))
|
/freebsd-10-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-10-stable/sys/sys/ |
H A D | types.h | 301 __bitcount16(__uint16_t _x) argument 304 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); 305 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); 306 _x = (_x + (_x >> 312 __bitcount32(__uint32_t _x) argument 325 __bitcount64(__uint64_t _x) argument 340 __bitcount64(__uint64_t _x) argument [all...] |
/freebsd-10-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-10-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-10-stable/sys/powerpc/include/ |
H A D | endian.h | 103 __bswap16_var(__uint16_t _x) argument 106 return ((_x >> 8) | ((_x << 8) & 0xff00)); 110 __bswap32_var(__uint32_t _x) argument 113 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | 114 ((_x << 24) & 0xff000000)); 118 __bswap64_var(__uint64_t _x) argument 121 return ((_x >> 5 [all...] |
/freebsd-10-stable/sys/ia64/include/ |
H A D | endian.h | 70 __bswap64(__uint64_t _x) argument 75 : "=r" (__r) : "r"(_x)); 80 __bswap32(__uint32_t _x) argument 83 return (__bswap64(_x) >> 32); 87 __bswap16(__uint16_t _x) argument 90 return (__bswap64(_x) >> 48);
|
/freebsd-10-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-10-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-10-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-10-stable/etc/rc.d/ |
H A D | rfcomm_pppd_server | 23 local _bdaddr _channel _x 52 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_sp 53 if [ -n "${_x}" ]; then 61 eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_dun 62 if [ -n "${_x}" ]; then
|
H A D | jail | 172 eval _x=\"\$jail_${_jv}_ip_multi${alias}\" 173 [ -z "$_x" ] && break 175 jail_handle_ips_option $_x $_interface 334 local _x _type _i _defif 335 _x=$1 338 if [ -z "${_x}" ]; then 346 while [ ${#_x} -gt 0 ]; do 347 case "${_x}" in 349 _i=`expr "${_x}" : '^\([^,]*\)'` 350 _x [all...] |
/freebsd-10-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-10-stable/contrib/llvm/include/llvm/Support/ |
H A D | system_error.h | 719 inline bool operator<(const error_condition& _x, const error_condition& _y) { argument 720 return _x.category() < _y.category() 721 || (_x.category() == _y.category() && _x.value() < _y.value()); 786 inline bool operator<(const error_code& _x, const error_code& _y) { argument 787 return _x.category() < _y.category() 788 || (_x.category() == _y.category() && _x.value() < _y.value()); 791 inline bool operator==(const error_code& _x, const error_code& _y) { argument 792 return _x 795 operator ==(const error_code& _x, const error_condition& _y) argument 800 operator ==(const error_condition& _x, const error_code& _y) argument 804 operator ==(const error_condition& _x, const error_condition& _y) argument 808 operator !=(const error_code& _x, const error_code& _y) argument 812 operator !=(const error_code& _x, const error_condition& _y) argument 816 operator !=(const error_condition& _x, const error_code& _y) argument 820 operator !=(const error_condition& _x, const error_condition& _y) argument [all...] |
/freebsd-10-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-10-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-10-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-10-stable/include/ |
H A D | _ctype.h | 160 unsigned int _x; local 164 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); 165 if ((_x & _CTYPE_SWM) != 0) 166 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); 167 return ((_x & _CTYPE_R) != 0 ? 1 : -1);
|
/freebsd-10-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-10-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...] |
/freebsd-10-stable/sys/boot/i386/libi386/ |
H A D | spinconsole.c | 45 extern void curs_move(int *_x, int *_y, int x, int y);
|
/freebsd-10-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300eep.h | 413 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ 414 ( ( (const u_int8_t *)( &_x ) )[1]<< 8) ) ) 416 #define SWAP32(_x) ((u_int32_t)( \ 417 (((const u_int8_t *)(&_x))[0]) | \ 418 (((const u_int8_t *)(&_x))[1]<< 8) | \ 419 (((const u_int8_t *)(&_x))[2]<<16) | \ 420 (((const u_int8_t *)(&_x))[3]<<24))) 425 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[ [all...] |
/freebsd-10-stable/contrib/gcclibs/libgomp/ |
H A D | omp.h.in | 39 unsigned char _x[@OMP_LOCK_SIZE@] 45 unsigned char _x[@OMP_NEST_LOCK_SIZE@]
|
/freebsd-10-stable/sys/netinet/ |
H A D | sctp_uio.h | 1125 #define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1) 1126 #define SCTP_STAT_DECR(_x) SCTP_STAT_DECR_BY(_x,1) 1128 #define SCTP_STAT_INCR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x += _d) 1129 #define SCTP_STAT_DECR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x -= _d) 1131 #define SCTP_STAT_INCR_BY(_x,_d) atomic_add_int(&SCTP_BASE_STAT(_x), _ [all...] |