Home
last modified time | relevance | path

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

1234

/freebsd-12-stable/sys/sys/
Dtypes.h324 __bitcount16(__uint16_t _x) in __bitcount16() argument
327 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); in __bitcount16()
328 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); in __bitcount16()
329 _x = (_x + (_x >> 4)) & 0x0f0f; in __bitcount16()
330 _x = (_x + (_x >> 8)) & 0x00ff; in __bitcount16()
331 return (_x); in __bitcount16()
335 __bitcount32(__uint32_t _x) in __bitcount32() argument
338 _x = (_x & 0x55555555) + ((_x & 0xaaaaaaaa) >> 1); in __bitcount32()
339 _x = (_x & 0x33333333) + ((_x & 0xcccccccc) >> 2); in __bitcount32()
340 _x = (_x + (_x >> 4)) & 0x0f0f0f0f; in __bitcount32()
[all …]
/freebsd-12-stable/sys/xen/interface/hvm/
Dsave.h65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument
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) \ argument
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) \ argument
77 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}
[all …]
/freebsd-12-stable/sys/dev/pms/RefTisa/sallsdk/api/
Dsa.h138 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument
139 ((((bit16)(_x))&0xFF00)>>8)))
146 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument
147 ((((bit32)(_x))&0x0000FF00)<<8)| \
148 ((((bit32)(_x))&0x00FF0000)>>8)| \
149 ((((bit32)(_x))&0xFF000000)>>24)))
160 #define LEBIT16_TO_BIT16(_x) (_x) argument
169 #define BIT16_TO_LEBIT16(_x) (_x) argument
178 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
187 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd-12-stable/sys/riscv/include/
Dendian.h63 __bswap64(__uint64_t _x) in __bswap64() argument
67 ret = (_x >> 56); in __bswap64()
68 ret |= ((_x >> 40) & 0xff00); in __bswap64()
69 ret |= ((_x >> 24) & 0xff0000); in __bswap64()
70 ret |= ((_x >> 8) & 0xff000000); in __bswap64()
71 ret |= ((_x << 8) & ((__uint64_t)0xff << 32)); in __bswap64()
72 ret |= ((_x << 24) & ((__uint64_t)0xff << 40)); in __bswap64()
73 ret |= ((_x << 40) & ((__uint64_t)0xff << 48)); in __bswap64()
74 ret |= (_x << 56); in __bswap64()
80 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
[all …]
/freebsd-12-stable/sys/sparc64/include/
Dendian.h90 __bswap16_var(__uint16_t _x) in __bswap16_var() argument
93 return ((_x >> 8) | ((_x << 8) & 0xff00)); in __bswap16_var()
97 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
100 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | in __bswap32_var()
101 ((_x << 24) & 0xff000000)); in __bswap32_var()
105 __bswap64_var(__uint64_t _x) in __bswap64_var() argument
108 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | in __bswap64_var()
109 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | in __bswap64_var()
110 ((_x << 24) & ((__uint64_t)0xff << 40)) | in __bswap64_var()
111 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56))); in __bswap64_var()
/freebsd-12-stable/sys/mips/include/
Dendian.h89 __bswap16_var(__uint16_t _x) in __bswap16_var() argument
92 return ((_x >> 8) | ((_x << 8) & 0xff00)); in __bswap16_var()
96 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
99 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | in __bswap32_var()
100 ((_x << 24) & 0xff000000)); in __bswap32_var()
104 __bswap64_var(__uint64_t _x) in __bswap64_var() argument
107 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | in __bswap64_var()
108 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | in __bswap64_var()
109 ((_x << 24) & ((__uint64_t)0xff << 40)) | in __bswap64_var()
110 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56))); in __bswap64_var()
/freebsd-12-stable/sys/powerpc/include/
Dendian.h110 __bswap16_var(__uint16_t _x) in __bswap16_var() argument
113 return ((_x >> 8) | ((_x << 8) & 0xff00)); in __bswap16_var()
117 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
120 return ((_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | in __bswap32_var()
121 ((_x << 24) & 0xff000000)); in __bswap32_var()
125 __bswap64_var(__uint64_t _x) in __bswap64_var() argument
128 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | in __bswap64_var()
129 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | in __bswap64_var()
130 ((_x << 24) & ((__uint64_t)0xff << 40)) | in __bswap64_var()
131 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56))); in __bswap64_var()
/freebsd-12-stable/sys/xen/interface/io/
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
/freebsd-12-stable/sys/dev/pms/RefTisa/sat/src/
Dsmdefs.h668 #define LEBIT16_TO_BIT16(_x) (_x) argument
672 #define BIT16_TO_LEBIT16(_x) (_x) argument
676 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
680 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
684 #define LEBIT32_TO_BIT32(_x) (_x) argument
688 #define BIT32_TO_LEBIT32(_x) (_x) argument
693 #define BEBIT32_TO_BIT32(_x) AGSA_FLIP_4_BYTES(_x) argument
697 #define BIT32_TO_BEBIT32(_x) AGSA_FLIP_4_BYTES(_x) argument
703 #define LEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
707 #define BIT16_TO_LEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd-12-stable/sys/x86/include/
Dendian.h94 __bswap16_var(__uint16_t _x) in __bswap16_var() argument
97 return (__bswap16_gen(_x)); in __bswap16_var()
101 __bswap32_var(__uint32_t _x) in __bswap32_var() argument
105 __asm("bswap %0" : "+r" (_x)); in __bswap32_var()
106 return (_x); in __bswap32_var()
108 return (__bswap32_gen(_x)); in __bswap32_var()
113 __bswap64_var(__uint64_t _x) in __bswap64_var() argument
117 __asm("bswap %0" : "+r" (_x)); in __bswap64_var()
118 return (_x); in __bswap64_var()
124 return (__bswap64_gen(_x)); in __bswap64_var()
/freebsd-12-stable/sys/arm/include/
Dendian.h78 __bswap64(__uint64_t _x) in __bswap64() argument
81 return ((_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | in __bswap64()
82 ((_x >> 8) & 0xff000000) | ((_x << 8) & ((__uint64_t)0xff << 32)) | in __bswap64()
83 ((_x << 24) & ((__uint64_t)0xff << 40)) | in __bswap64()
84 ((_x << 40) & ((__uint64_t)0xff << 48)) | ((_x << 56))); in __bswap64()
/freebsd-12-stable/sys/dev/pms/RefTisa/tisa/sassata/common/
Dtddefs.h836 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument
837 ((((bit16)(_x))&0xFF00)>>8)))
839 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument
840 ((((bit32)(_x))&0x0000FF00)<<8)| \
841 ((((bit32)(_x))&0x00FF0000)>>8)| \
842 ((((bit32)(_x))&0xFF000000)>>24)))
943 #define LEBIT16_TO_BIT16(_x) (_x) argument
947 #define BIT16_TO_LEBIT16(_x) (_x) argument
951 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
955 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
Duaccess.h48 #define __get_user(_x, _p) ({ \ argument
52 (_x) = __x; \
56 #define __put_user(_x, _p) ({ \ argument
57 __typeof(*(_p)) __x = (_x); \
60 #define get_user(_x, _p) linux_copyin((_p), &(_x), sizeof(*(_p))) argument
61 #define put_user(_x, _p) __put_user(_x, _p) argument
Dww_mutex.h67 #define ww_mutex_lock_slow(_m, _x) \ argument
68 ww_mutex_lock(_m, _x)
70 #define ww_mutex_lock_slow_interruptible(_m, _x) \ argument
71 ww_mutex_lock_interruptible(_m, _x)
/freebsd-12-stable/sys/dev/sfxge/common/
Defx_types.h251 #define __SWAP16(_x) \ argument
252 ((((_x) & 0xff) << 8) | \
253 (((_x) >> 8) & 0xff))
255 #define __SWAP32(_x) \ argument
256 ((__SWAP16((_x) & 0xffff) << 16) | \
257 __SWAP16(((_x) >> 16) & 0xffff))
259 #define __SWAP64(_x) \ argument
260 ((__SWAP32((_x) & 0xffffffff) << 32) | \
261 __SWAP32(((_x) >> 32) & 0xffffffff))
263 #define __NOSWAP16(_x) (_x) argument
[all …]
/freebsd-12-stable/stand/
DMakefile62 .for _x in ${S.yes}
63 SUBDIR+=${_x}
64 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}}
65 SUBDIR+=${_x}32
67 .if ${_x} != "libsa"
68 SUBDIR_DEPEND_${_x}+= libsa
69 SUBDIR_DEPEND_${_x}32+= libsa32
/freebsd-12-stable/libexec/rc/rc.d/
Drfcomm_pppd_server24 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
Djail188 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
366 case "${_x}" in
368 _i=`expr -- "${_x}" : '^\([^,]*\)'`
369 _x=`expr -- "${_x}" : "^[^,]*,\(.*\)"`
371 *) _i=${_x}
[all …]
/freebsd-12-stable/sys/netinet/
Dsctp_uio.h1134 #define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1) argument
1135 #define SCTP_STAT_DECR(_x) SCTP_STAT_DECR_BY(_x,1) argument
1137 #define SCTP_STAT_INCR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x += _d) argument
1138 #define SCTP_STAT_DECR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x -= _d) argument
1140 #define SCTP_STAT_INCR_BY(_x,_d) atomic_add_int(&SCTP_BASE_STAT(_x), _d) argument
1141 #define SCTP_STAT_DECR_BY(_x,_d) atomic_subtract_int(&SCTP_BASE_STAT(_x), _d) argument
1144 #define SCTP_STAT_INCR_COUNTER32(_x) SCTP_STAT_INCR(_x) argument
1145 #define SCTP_STAT_INCR_COUNTER64(_x) SCTP_STAT_INCR(_x) argument
1146 #define SCTP_STAT_INCR_GAUGE32(_x) SCTP_STAT_INCR(_x) argument
1147 #define SCTP_STAT_DECR_COUNTER32(_x) SCTP_STAT_DECR(_x) argument
[all …]
/freebsd-12-stable/sys/dev/usb/
Dusb_core.h55 #define USB_XFER_LOCK(_x) USB_MTX_LOCK((_x)->xroot->xfer_mtx) argument
56 #define USB_XFER_UNLOCK(_x) USB_MTX_UNLOCK((_x)->xroot->xfer_mtx) argument
57 #define USB_XFER_LOCK_ASSERT(_x, _t) USB_MTX_ASSERT((_x)->xroot->xfer_mtx, _t) argument
/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/
Dar9300eep.h419 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ argument
420 ( ( (const u_int8_t *)( &_x ) )[1]<< 8) ) )
422 #define SWAP32(_x) ((u_int32_t)( \ argument
423 (((const u_int8_t *)(&_x))[0]) | \
424 (((const u_int8_t *)(&_x))[1]<< 8) | \
425 (((const u_int8_t *)(&_x))[2]<<16) | \
426 (((const u_int8_t *)(&_x))[3]<<24)))
431 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[1] ) |\ argument
432 ( ( (const u_int8_t *)( &_x ) )[0]<< 8) ) )
434 #define SWAP32(_x) ((u_int32_t)( \ argument
[all …]
Dar9300phy.h41 #define AR_CHAN_OFFSET(_x) (AR_CHAN_BASE + offsetof(struct chn_reg_map, _x)) argument
294 #define AR_MRC_OFFSET(_x) (AR_MRC_BASE + offsetof(struct mrc_reg_map, _x)) argument
329 #define AR_BBB_OFFSET(_x) (AR_BBB_BASE + offsetof(struct bbb_reg_map, _x)) argument
337 #define AR_AGC_OFFSET(_x) (AR_AGC_BASE + offsetof(struct agc_reg_map, _x)) argument
524 #define AR_SM_OFFSET(_x) (AR_SM_BASE + offsetof(struct sm_reg_map, _x)) argument
1209 #define AR_CHAN1_OFFSET(_x) (AR_CHAN1_BASE + offsetof(struct chn1_reg_map, _x)) argument
1237 #define AR_AGC1_OFFSET(_x) (AR_AGC1_BASE + offsetof(struct agc1_reg_map, _x)) argument
1254 #define AR_AGC1_OFFSET_POSEIDON(_x) (AR_AGC1_BASE_POSEIDON + offsetof(struct agc1_reg_map, _x)) argument
1272 #define AR_SM1_OFFSET(_x) (AR_SM1_BASE + offsetof(struct sm1_reg_map, _x)) argument
1319 #define AR_SM1_OFFSET_POSEIDON(_x) (AR_SM1_BASE_POSEIDON + offsetof(struct sm1_reg_map, _x)) argument
[all …]
/freebsd-12-stable/include/
D_ctype.h163 unsigned int _x; in __wcwidth() local
167 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); in __wcwidth()
168 if ((_x & _CTYPE_SWM) != 0) in __wcwidth()
169 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); in __wcwidth()
170 return ((_x & _CTYPE_R) != 0 ? 1 : -1); in __wcwidth()
/freebsd-12-stable/contrib/libxo/libxo/
Dxo_encoder.h75 #define XO_STRINGIFY(_x) #_x argument
76 #define XO_STRINGIFY2(_x) XO_STRINGIFY(_x) argument
/freebsd-12-stable/contrib/ntp/scripts/monitoring/
Dlr.pl58 my($_x, $_y) = @_;
61 $self->{sx} += $_x;
63 $self->{sxy} += $_x * $_y;
64 $self->{sx2} += $_x**2;

1234