Home
last modified time | relevance | path

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

1234

/freebsd/sys/sys/
H A Dbitcount.h54 __bitcount16(__uint16_t _x) in __bitcount16() argument
57 _x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1); in __bitcount16()
58 _x = (_x & 0x3333) + ((_x & 0xcccc) >> 2); in __bitcount16()
59 _x = (_x + (_x >> 4)) & 0x0f0f; in __bitcount16()
60 _x = (_x + (_x >> 8)) & 0x00ff; in __bitcount16()
61 return (_x); in __bitcount16()
65 __bitcount32(__uint32_t _x) in __bitcount32() argument
68 _x = (_x & 0x55555555) + ((_x & 0xaaaaaaaa) >> 1); in __bitcount32()
69 _x = (_x & 0x33333333) + ((_x & 0xcccccccc) >> 2); in __bitcount32()
70 _x = (_x + (_x >> 4)) & 0x0f0f0f0f; in __bitcount32()
[all …]
/freebsd/sys/contrib/xen/hvm/
H A 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, 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) \ argument
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) \ argument
79 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}
[all …]
/freebsd/sys/dev/pms/RefTisa/sallsdk/api/
H A Dsa.h137 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument
138 ((((bit16)(_x))&0xFF00)>>8)))
145 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument
146 ((((bit32)(_x))&0x0000FF00)<<8)| \
147 ((((bit32)(_x))&0x00FF0000)>>8)| \
148 ((((bit32)(_x))&0xFF000000)>>24)))
159 #define LEBIT16_TO_BIT16(_x) (_x) argument
168 #define BIT16_TO_LEBIT16(_x) (_x) argument
177 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
186 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkconfig.h52 #define ___IS_XAB(_ignore, _x, ...) (_x) argument
53 #define __IS_XAB(_x) ___IS_XAB(_x 1, 0) argument
54 #define _IS_XAB(_x) __IS_XAB(__CONCAT(___XAB_, _x)) argument
57 #define IS_BUILTIN(_x) _IS_XAB(_x) argument
59 #define IS_MODULE(_x) _IS_XAB(_x ## _MODULE) argument
61 #define IS_ENABLED(_x) (IS_BUILTIN(_x) || IS_MODULE(_x)) argument
73 #define IS_REACHABLE(_x) (IS_BUILTIN(_x) || \ argument
74 (IS_MODULE(_x) && IS_BUILTIN(MODULE)))
H A Duaccess.h46 #define __get_user(_x, _p) ({ \ argument
50 (_x) = __x; \
54 #define __put_user(_x, _p) ({ \ argument
55 __typeof(*(_p)) __x = (_x); \
58 #define get_user(_x, _p) linux_copyin((_p), &(_x), sizeof(*(_p))) argument
59 #define put_user(_x, _p) __put_user(_x, _p) argument
H A Dmath.h61 __typeof(x) _x = (x); \
63 _x > _y ? _x - _y : _y - _x; \
H A 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/lib/msun/tests/
H A Dtest-utils.h150 long double _x = x; \
152 ATF_CHECK_MSG(fpequal_cs(_x, _y, checksign), \
153 "%s (%.25Lg) ~= %s (%.25Lg)", #x, _x, #y, _y); \
157 long double _x = x; \
159 bool eq = fpequal_tol(_x, _y, tol, flags); \
160 long double _diff = eq ? 0.0L : fabsl(_x - _y); \
162 #x, _x, #y, _y, _diff, fabsl(_y * tol)); \
174 long double _x = x; \
177 fpequal_cs(creal(_x), creal(_y), (checksign & CS_REAL) != 0) && \
178 fpequal_cs(cimag(_x), cimag(_y), (checksign & CS_IMAG) != 0); \
[all …]
/freebsd/sys/net/route/
H A Dnhop_utils.h135 #define CHT_SLIST_FOREACH(_head, _PX, _x) \ argument
137 for (_x = CHT_FIRST(_head, _i); _x; _x = _PX##_next(_x))
140 #define CHT_SLIST_FOREACH_SAFE(_head, _PX, _x, _tmp) \ argument
142 for (_x = CHT_FIRST(_head, _i); (_tmp = _PX##_next(_x), _x); _x = _tmp)
148 typeof(*(_head)->ptr) _x, _y; \
150 _x = CHT_FIRST(_head, _old_idx); \
151 _y = _x; \
153 _y = _PX##_next(_x); \
154 _new_idx = _PX##_hash_obj(_x) & (_new_hsize - 1);\
155 _PX##_next(_x) = _CHT_FIRST(_new_ptr, _new_idx);\
[all …]
/freebsd/sys/dev/pms/RefTisa/sat/src/
H A Dsmdefs.h667 #define LEBIT16_TO_BIT16(_x) (_x) argument
671 #define BIT16_TO_LEBIT16(_x) (_x) argument
675 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
679 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
683 #define LEBIT32_TO_BIT32(_x) (_x) argument
687 #define BIT32_TO_LEBIT32(_x) (_x) argument
692 #define BEBIT32_TO_BIT32(_x) AGSA_FLIP_4_BYTES(_x) argument
696 #define BIT32_TO_BEBIT32(_x) AGSA_FLIP_4_BYTES(_x) argument
702 #define LEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
706 #define BIT16_TO_LEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd/sys/contrib/xen/io/
H A Dring.h56 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
57 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
58 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
59 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
60 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtddefs.h835 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument
836 ((((bit16)(_x))&0xFF00)>>8)))
838 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument
839 ((((bit32)(_x))&0x0000FF00)<<8)| \
840 ((((bit32)(_x))&0x00FF0000)>>8)| \
841 ((((bit32)(_x))&0xFF000000)>>24)))
942 #define LEBIT16_TO_BIT16(_x) (_x) argument
946 #define BIT16_TO_LEBIT16(_x) (_x) argument
950 #define BIT16_TO_BEBIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
954 #define BEBIT16_TO_BIT16(_x) AGSA_FLIP_2_BYTES(_x) argument
[all …]
/freebsd/stand/
H A DMakefile63 .for _x in ${S.yes}
64 SUBDIR+=${_x}
65 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}}
66 SUBDIR+=${_x}32
67 INTERP_DEPENDS+=${_x}32
69 .if ${_x} != "libsa"
70 SUBDIR_DEPEND_${_x}+= libsa
71 SUBDIR_DEPEND_${_x}32+= libsa32
/freebsd/sys/dev/sfxge/common/
H A Defx_types.h250 #define __SWAP16(_x) \ argument
251 ((((_x) & 0xff) << 8) | \
252 (((_x) >> 8) & 0xff))
254 #define __SWAP32(_x) \ argument
255 ((__SWAP16((_x) & 0xffff) << 16) | \
256 __SWAP16(((_x) >> 16) & 0xffff))
258 #define __SWAP64(_x) \ argument
259 ((__SWAP32((_x) & 0xffffffff) << 32) | \
260 __SWAP32(((_x) >> 32) & 0xffffffff))
262 #define __NOSWAP16(_x) (_x) argument
[all …]
/freebsd/contrib/bmake/mk/
H A Dmkopt.sh95 for _x in $_cmdline
97 case "$_x" in
101 case "$_x" in
102 -DWITH_$_o|-DWITHOUT_$_o) eval ${_x#-D}=1;;
103 -DWITH_$_o=*|-DWITHOUT_$_o=*) eval ${_x#-D};;
104 ${_MKOPT_PREFIX:-MK_}$_o=*) eval "$_x";;
/freebsd/libexec/rc/rc.d/
H A Drfcomm_pppd_server23 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
/freebsd/sys/netinet/
H A Dsctp_uio.h1132 #define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1) argument
1133 #define SCTP_STAT_DECR(_x) SCTP_STAT_DECR_BY(_x,1) argument
1135 #define SCTP_STAT_INCR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x += _d) argument
1136 #define SCTP_STAT_DECR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x -= _d) argument
1138 #define SCTP_STAT_INCR_BY(_x,_d) atomic_add_int(&SCTP_BASE_STAT(_x), _d) argument
1139 #define SCTP_STAT_DECR_BY(_x,_d) atomic_subtract_int(&SCTP_BASE_STAT(_x), _d) argument
1142 #define SCTP_STAT_INCR_COUNTER32(_x) SCTP_STAT_INCR(_x) argument
1143 #define SCTP_STAT_INCR_COUNTER64(_x) SCTP_STAT_INCR(_x) argument
1144 #define SCTP_STAT_INCR_GAUGE32(_x) SCTP_STAT_INCR(_x) argument
1145 #define SCTP_STAT_DECR_COUNTER32(_x) SCTP_STAT_DECR(_x) argument
[all …]
/freebsd/sys/dev/usb/
H A Dusb_core.h54 #define USB_XFER_LOCK(_x) USB_MTX_LOCK((_x)->xroot->xfer_mtx) argument
55 #define USB_XFER_UNLOCK(_x) USB_MTX_UNLOCK((_x)->xroot->xfer_mtx) argument
56 #define USB_XFER_LOCK_ASSERT(_x, _t) USB_MTX_ASSERT((_x)->xroot->xfer_mtx, _t) argument
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A 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 …]
H A 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 …]
H A Dar9300reg.h26 #define AR_MAC_DMA_OFFSET(_x) offsetof(struct mac_dma_reg, _x) argument
447 #define AR_MAC_QCU_OFFSET(_x) offsetof(struct mac_qcu_reg, _x) argument
550 #define AR_MAC_DCU_OFFSET(_x) offsetof(struct mac_dcu_reg, _x) argument
728 #define AR9300_HOSTIF_OFFSET(_x) offsetof(struct host_intf_reg, _x) argument
729 #define AR9340_HOSTIF_OFFSET(_x) offsetof(struct host_intf_reg_ar9340, _x) argument
1090 #define AR_OTP_EFUSE_OFFSET(_x) offsetof(struct efuse_reg_WLAN, _x) argument
1100 #define AR_RTC_OFFSET(_x) offsetof(struct rtc_reg, _x) argument
1171 #define AR_RTC_SYNC_OFFSET(_x) offsetof(struct rtc_sync_reg, _x) argument
1211 #define AR_AN_OFFSET(_x) offsetof(struct analog_intf_reg_csr, _x) argument
1310 #define AR_MAC_PCU_OFFSET(_x) offsetof(struct mac_pcu_reg, _x) argument
[all …]
/freebsd/include/
H A D_ctype.h160 unsigned int _x; in __wcwidth() local
164 _x = (unsigned int)__maskrune(_c, _CTYPE_SWM|_CTYPE_R); in __wcwidth()
165 if ((_x & _CTYPE_SWM) != 0) in __wcwidth()
166 return ((_x & _CTYPE_SWM) >> _CTYPE_SWS); in __wcwidth()
167 return ((_x & _CTYPE_R) != 0 ? 1 : -1); in __wcwidth()
/freebsd/contrib/ntp/scripts/monitoring/
H A Dlr.pl58 my($_x, $_y) = @_;
61 $self->{sx} += $_x;
63 $self->{sxy} += $_x * $_y;
64 $self->{sx2} += $_x**2;
/freebsd/contrib/libxo/libxo/
H A Dxo_encoder.h122 #define XO_STRINGIFY(_x) #_x argument
123 #define XO_STRINGIFY2(_x) XO_STRINGIFY(_x) argument
/freebsd/contrib/libxo/encoder/cbor/
H A Denc_cbor.c95 #define CBOR_MAJOR(_x) ((_x) & CBOR_MAJOR_MASK) argument
96 #define CBOR_MAJOR_VAL(_x) ((_x) << CBOR_MAJOR_SHIFT) argument
97 #define CBOR_MINOR_VAL(_x) ((_x) & CBOR_MINOR_MASK) argument

1234