/freebsd/sys/contrib/xen/hvm/ |
H A D | save.h | 65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 72 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 78 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 81 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 85 #define HVM_SAVE_TYPE(_x) __typeof__ (((struct __HVM_SAVE_TYPE_##_x *)(0))->t) argument 86 #define HVM_SAVE_LENGTH(_x) (sizeof (HVM_SAVE_TYPE(_x))) argument 87 #define HVM_SAVE_CODE(_x) (sizeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->c)) argument 90 # define HVM_SAVE_TYPE_COMPAT(_x) __typeof__ (((struct __HVM_SAVE_TYPE_COMPAT_##_x *)(0))->t) argument 91 # define HVM_SAVE_LENGTH_COMPAT(_x) (sizeof (HVM_SAVE_TYPE_COMPAT(_x))) argument 93 # define HVM_SAVE_HAS_COMPAT(_x) (sizeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->cpt)-1) argument [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kconfig.h | 52 #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
|
H A D | uaccess.h | 46 #define __get_user(_x, _p) ({ \ argument 54 #define __put_user(_x, _p) ({ \ argument 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 D | bcd.h | 41 #define bcd2bin(_x) linuxkpi_bcd2bin(_x) argument
|
H A D | ww_mutex.h | 67 #define ww_mutex_lock_slow(_m, _x) \ argument 70 #define ww_mutex_lock_slow_interruptible(_m, _x) \ argument
|
H A D | tracepoint.h | 43 #define DEFINE_EVENT(_x, _name, _proto, _args) \ argument
|
H A D | compiler.h | 78 #define __counted_by(_x) __attribute__((__counted_by__(_x))) argument 80 #define __counted_by(_x) argument
|
H A D | time.h | 122 ns_to_timespec64(_x) global() argument
|
H A D | minmax.h | 63 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) argument
|
/freebsd/sys/sys/ |
H A D | bitcount.h | 54 __bitcount16(__uint16_t _x) in __bitcount16() 65 __bitcount32(__uint32_t _x) in __bitcount32() 78 __bitcount64(__uint64_t _x) in __bitcount64() 93 __bitcount64(__uint64_t _x) in __bitcount64()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-pp_test.cc | 63 #define GMOCK_PP_INTERNAL_VAR_TEST_1(_x) 1 argument 64 #define GMOCK_PP_INTERNAL_VAR_TEST_2(_x, _y) 2 argument 65 #define GMOCK_PP_INTERNAL_VAR_TEST_3(_x, _y, _z) 3 argument
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/api/ |
H A D | sa.h | 137 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument 145 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument 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 195 #define LEBIT32_TO_BIT32(_x) (_x) argument 204 #define BIT32_TO_LEBIT32(_x) (_x) argument 213 #define BEBIT32_TO_BIT32(_x) AGSA_FLIP_4_BYTES(_x) argument 222 #define BIT32_TO_BEBIT32(_x) AGSA_FLIP_4_BYTES(_x) argument [all …]
|
/freebsd/sys/contrib/xen/io/ |
H A D | ring.h | 56 #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/sat/src/ |
H A D | smdefs.h | 667 #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/contrib/libxo/encoder/cbor/ |
H A D | enc_cbor.c | 95 #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
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_types.h | 250 #define __SWAP16(_x) \ argument 254 #define __SWAP32(_x) \ argument 258 #define __SWAP64(_x) \ argument 262 #define __NOSWAP16(_x) (_x) argument 263 #define __NOSWAP32(_x) (_x) argument 264 #define __NOSWAP64(_x) (_x) argument 268 #define __CPU_TO_LE_16(_x) ((uint16_t)__SWAP16(_x)) argument 269 #define __LE_TO_CPU_16(_x) ((uint16_t)__SWAP16(_x)) argument 270 #define __CPU_TO_BE_16(_x) ((uint16_t)__NOSWAP16(_x)) argument 271 #define __BE_TO_CPU_16(_x) ((uint16_t)__NOSWAP16(_x)) argument [all …]
|
/freebsd/tools/tools/ath/athratestats/ |
H A D | main.c | 74 #define PRINTATTR_ON(_x) do { \ argument 80 #define PRINTATTR_OFF(_x) do { \ argument
|
/freebsd/contrib/libxo/libxo/ |
H A D | xo_encoder.h | 122 #define XO_STRINGIFY(_x) #_x argument 123 #define XO_STRINGIFY2(_x) XO_STRINGIFY(_x) argument
|
H A D | xo.h | 45 #define __printflike(_x, _y) __attribute__((__format__ (__printf__, _x, _y))) argument 47 #define PRINTFLIKE(_x, _y) __printflike(_x, _y) argument 49 #define PRINTFLIKE(_x, _y) argument
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tddefs.h | 835 #define AGSA_FLIP_2_BYTES(_x) ((bit16)(((((bit16)(_x))&0x00FF)<<8)| \ argument 838 #define AGSA_FLIP_4_BYTES(_x) ((bit32)(((((bit32)(_x))&0x000000FF)<<24)| \ argument 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 958 #define LEBIT32_TO_BIT32(_x) (_x) argument 962 #define BIT32_TO_LEBIT32(_x) (_x) argument 967 #define BEBIT32_TO_BIT32(_x) AGSA_FLIP_4_BYTES(_x) argument 971 #define BIT32_TO_BEBIT32(_x) AGSA_FLIP_4_BYTES(_x) argument [all …]
|
/freebsd/contrib/libxo/tests/core/ |
H A D | test_03.c | 70 #define TO_ULL(_x) ((unsigned long long) _x) in main() argument
|
H A D | test_05.c | 22 #define xo_wcwidth(_x) wcwidth(_x) argument
|
/freebsd/sys/dev/dpaa2/ |
H A D | memac_mdio_common.c | 140 #define MDIO_CTL_PORT_ADDR(_x) (((_x) & 0x1f) << 5) argument 141 #define MDIO_CTL_DEV_ADDR(_x) ((_x) & 0x1f) argument
|
/freebsd/sys/net/route/ |
H A D | nhop_utils.h | 135 #define CHT_SLIST_FOREACH(_head, _PX, _x) \ argument 140 #define CHT_SLIST_FOREACH_SAFE(_head, _PX, _x, _tmp) \ argument
|
/freebsd/sys/dev/usb/ |
H A D | usb_core.h | 54 #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
|