/freebsd-src/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 42 #define __cpu_to_le64(x) htole64(x) argument 43 #define cpu_to_le64(x) __cpu_to_le64(x) argument 44 #define __le64_to_cpu(x) le64toh(x) argument 45 #define le64_to_cpu(x) __le64_to_cpu(x) argument 46 #define __cpu_to_le32(x) htole32(x) argument 47 #define cpu_to_le32(x) __cpu_to_le32(x) argument 48 #define __le32_to_cpu(x) le32toh(x) argument 49 #define le32_to_cpu(x) __le32_to_cpu(x) argument 50 #define __cpu_to_le16(x) htole16(x) argument 51 #define cpu_to_le16(x) __cpu_to_le16(x) argument [all …]
|
/freebsd-src/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | byteorder.h | 52 #define BSWAP_8(x) ((x) & 0xff) argument 53 #define BSWAP_16(x) ((x) & 0xffff) argument 54 #define BSWAP_32(x) ((x) & 0xffffffff) argument 55 #define BSWAP_64(x) (x) argument 62 #define BSWAP_8(x) ((x) & 0xff) argument 63 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 64 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) argument 65 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) argument 69 #define BMASK_8(x) ((x) & 0xff) argument 70 #define BMASK_16(x) ((x) & 0xffff) argument [all …]
|
/freebsd-src/sys/cddl/compat/opensolaris/sys/ |
H A D | byteorder.h | 51 #define BSWAP_8(x) ((x) & 0xff) argument 52 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 53 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) argument 54 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) argument 56 #define BMASK_8(x) ((x) & 0xff) argument 57 #define BMASK_16(x) ((x) & 0xffff) argument 58 #define BMASK_32(x) ((x) & 0xffffffff) argument 59 #define BMASK_64(x) (x) argument 65 #define BE_8(x) BMASK_8(x) argument 66 #define BE_16(x) BMASK_16(x) argument [all …]
|
/freebsd-src/sys/sys/ |
H A D | _endian.h | 85 #define __bswap16(x) __builtin_bswap16(x) argument 86 #define __bswap32(x) __builtin_bswap32(x) argument 87 #define __bswap64(x) __builtin_bswap64(x) argument 90 #define __ntohl(x) (__bswap32(x)) argument 91 #define __ntohs(x) (__bswap16(x)) argument 92 #define __htonl(x) (__bswap32(x)) argument 93 #define __htons(x) (__bswap16(x)) argument 95 #define __htonl(x) ((__uint32_t)(x)) argument 96 #define __htons(x) ((__uint16_t)(x)) argument 97 #define __ntohl(x) ((__uint32_t)(x)) argument [all …]
|
/freebsd-src/contrib/ntp/include/ |
H A D | ntp_assert.h | 35 #define ALWAYS_REQUIRE(x) calysto_assert(x) argument 36 #define ALWAYS_INSIST(x) calysto_assume(x) /* DLH calysto_assert()? */ argument 37 #define ALWAYS_INVARIANT(x) calysto_assume(x) argument 38 #define ALWAYS_ENSURE(x) calysto_assert(x) argument 66 #define ALWAYS_REQUIRE(x) assert(x) argument 67 #define ALWAYS_INSIST(x) assert(x) argument 68 #define ALWAYS_INVARIANT(x) assert(x) argument 69 #define ALWAYS_ENSURE(x) assert(x) argument 75 #define ALWAYS_REQUIRE(x) ISC_REQUIRE(x) argument 76 #define ALWAYS_INSIST(x) ISC_INSIST(x) argument [all …]
|
/freebsd-src/include/ |
H A D | tgmath.h | 65 #define __tg_generic(x, cfnl, cfn, cfnf, fnl, fn, fnf) \ argument 74 #define __tg_type(x) \ argument 77 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument 81 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument 86 #define __tg_generic_simple(x, fnl, fn, fnf) \ argument 92 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument 106 #define __tg_generic_full(x, cfnl, cfn, cfnf, fnl, fn, fnf) \ argument 112 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument 126 #define __tg_simple(x, fn) \ argument 128 #define __tg_simple2(x, y, fn) \ argument [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_math.h | 23 #define __has_builtin(x) 0 argument 38 #define crt_isfinite(x) _finite((x)) argument 39 #define crt_isinf(x) !_finite((x)) argument 40 #define crt_isnan(x) _isnan((x)) argument 46 #define crt_isfinite(x) __builtin_isfinite((x)) argument 48 #define crt_isfinite(x) \ argument 56 crt_isinf(x) global() argument 57 crt_isnan(x) global() argument 61 crt_copysign(x,y) global() argument 62 crt_copysignf(x,y) global() argument 63 crt_copysignl(x,y) global() argument 65 crt_copysign(x,y) global() argument 66 crt_copysignf(x,y) global() argument 67 crt_copysignl(x,y) global() argument 69 crt_copysignf128(x,y) global() argument 71 crt_copysignf128(x,y) global() argument 76 crt_fabs(x) global() argument 77 crt_fabsf(x) global() argument 78 crt_fabsl(x) global() argument 80 crt_fabs(x) global() argument 81 crt_fabsf(x) global() argument 82 crt_fabsl(x) global() argument 84 crt_fabsf128(x) global() argument 86 crt_fabsf128(x) global() argument 91 crt_fmaxl(x,y) global() argument 93 crt_fmaxl(x,y) global() argument 97 crt_logbl(x) global() argument 99 crt_logbl(x) global() argument 103 crt_scalbnl(x,y) global() argument 105 crt_scalbnl(x,y) global() argument [all...] |
/freebsd-src/sys/dev/cxgb/common/ |
H A D | cxgb_regs.h | 38 #define V_CONGMODE(x) ((x) << S_CONGMODE) argument 42 #define V_TNLFLMODE(x) ((x) << S_TNLFLMODE) argument 46 #define V_FATLPERREN(x) ((x) << S_FATLPERREN) argument 50 #define V_URGTNL(x) ((x) << S_URGTNL) argument 54 #define V_NEWNOTIFY(x) ((x) << S_NEWNOTIFY) argument 58 #define V_AVOIDCQOVFL(x) ((x) << S_AVOIDCQOVFL) argument 62 #define V_OPTONEINTMULTQ(x) ((x) << S_OPTONEINTMULTQ) argument 66 #define V_CQCRDTCTRL(x) ((x) << S_CQCRDTCTRL) argument 70 #define V_EGRENUPBP(x) ((x) << S_EGRENUPBP) argument 74 #define V_DROPPKT(x) ((x) << S_DROPPKT) argument [all …]
|
H A D | cxgb_sge_defs.h | 39 #define V_EC_CREDITS(x) ((x) << S_EC_CREDITS) argument 40 #define G_EC_CREDITS(x) (((x) >> S_EC_CREDITS) & M_EC_CREDITS) argument 43 #define V_EC_GTS(x) ((x) << S_EC_GTS) argument 48 #define V_EC_INDEX(x) ((x) << S_EC_INDEX) argument 49 #define G_EC_INDEX(x) (((x) >> S_EC_INDEX) & M_EC_INDEX) argument 53 #define V_EC_SIZE(x) ((x) << S_EC_SIZE) argument 54 #define G_EC_SIZE(x) (((x) >> S_EC_SIZE) & M_EC_SIZE) argument 58 #define V_EC_BASE_LO(x) ((x) << S_EC_BASE_LO) argument 59 #define G_EC_BASE_LO(x) (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO) argument 63 #define V_EC_BASE_HI(x) ((x) << S_EC_BASE_HI) argument [all …]
|
H A D | cxgb_tcb.h | 39 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 44 #define V_TCB_TIMER(x) ((x) << S_TCB_TIMER) argument 49 #define V_TCB_DACK_TIMER(x) ((x) << S_TCB_DACK_TIMER) argument 54 #define V_TCB_DEL_FLAG(x) ((x) << S_TCB_DEL_FLAG) argument 59 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 64 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 69 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 74 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 79 #define V_TCB_T_RXTSHIFT(x) ((x) << S_TCB_T_RXTSHIFT) argument 84 #define V_TCB_T_DUPACKS(x) ((x) << S_TCB_T_DUPACKS) argument [all …]
|
/freebsd-src/sys/dev/cxgbe/common/ |
H A D | t4_regs.h | 517 #define V_QID(x) ((x) << S_QID) argument 518 #define G_QID(x) (((x) >> S_QID) & M_QID) argument 521 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument 526 #define V_PIDX(x) ((x) << S_PIDX) argument 527 #define G_PIDX(x) (((x) >> S_PIDX) & M_PIDX) argument 532 #define V_DBTYPE(x) ((x) << S_DBTYPE) argument 537 #define V_PIDX_T5(x) ((x) << S_PIDX_T5) argument 538 #define G_PIDX_T5(x) (((x) >> S_PIDX_T5) & M_PIDX_T5) argument 541 #define V_SYNC_T6(x) ((x) << S_SYNC_T6) argument 548 #define V_INGRESSQID(x) ((x) << S_INGRESSQID) argument [all …]
|
H A D | t4_tcb.h | 39 #define V_TCB_ULP_TYPE(x) ((x) << S_TCB_ULP_TYPE) argument 45 #define V_TCB_ULP_RAW(x) ((x) << S_TCB_ULP_RAW) argument 51 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 57 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 63 #define V_TCB_T_FLAGS(x) ((__u64)(x) << S_TCB_T_FLAGS) argument 69 #define V_TCB_RSS_INFO(x) ((x) << S_TCB_RSS_INFO) argument 75 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 81 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 87 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 93 #define V_TCB_T_MAXSEG(x) ((x) << S_TCB_T_MAXSEG) argument [all …]
|
/freebsd-src/contrib/arm-optimized-routines/math/test/ |
H A D | ulp_wrappers.h | 17 static float sincosf_sinf(float x) {(void)cosf(x); return sinf(x);} in sincos_mpfr_cos() argument 11 sincosf_sinf(float x) sincosf_sinf() argument 12 sincosf_cosf(float x) sincosf_cosf() argument 13 sincos_sin(double x) sincos_sin() argument 14 sincos_cos(double x) sincos_cos() argument 16 sincos_mpfr_sin(mpfr_t y,const mpfr_t x,mpfr_rnd_t r) sincos_mpfr_sin() argument 22 Z_sinf(float x) Z_sinf() argument 23 Z_cosf(float x) Z_cosf() argument 24 Z_expf_1u(float x) Z_expf_1u() argument 25 Z_expf(float x) Z_expf() argument 26 Z_exp2f_1u(float x) Z_exp2f_1u() argument 27 Z_exp2f(float x) Z_exp2f() argument 28 Z_logf(float x) Z_logf() argument 29 Z_powf(float x,float y) Z_powf() argument 30 Z_sin(double x) Z_sin() argument 31 Z_cos(double x) Z_cos() argument 32 Z_exp(double x) Z_exp() argument 33 Z_log(double x) Z_log() argument 34 Z_pow(double x,double y) Z_pow() argument [all...] |
/freebsd-src/contrib/ofed/include/ |
H A D | byteorder.h | 54 #define cpu_to_le64p(x) htole64(*((uint64_t *)x)) argument 55 #define le64_to_cpup(x) le64toh(*((uint64_t *)x)) argument 56 #define cpu_to_le32p(x) htole32(*((uint32_t *)x)) argument 57 #define le32_to_cpup(x) le32toh(*((uint32_t *)x)) argument 58 #define cpu_to_le16p(x) htole16(*((uint16_t *)x)) argument 59 #define le16_to_cpup(x) le16toh(*((uint16_t *)x)) argument 60 #define cpu_to_be64p(x) htobe64(*((uint64_t *)x)) argument 61 #define be64_to_cpup(x) be64toh(*((uint64_t *)x)) argument 62 #define cpu_to_be32p(x) htobe32(*((uint32_t *)x)) argument 63 #define be32_to_cpup(x) be32toh(*((uint32_t *)x)) argument [all …]
|
/freebsd-src/contrib/openbsm/compat/ |
H A D | endian.h | 125 #define htobe16(x) bswap16((x)) argument 126 #define htobe32(x) bswap32((x)) argument 127 #define htobe64(x) bswap64((x)) argument 128 #define htole16(x) ((uint16_t)(x)) argument 129 #define htole32(x) ((uint32_t)(x)) argument 130 #define htole64(x) ((uint64_t)(x)) argument 132 #define be16toh(x) bswap16((x)) argument 133 #define be32toh(x) bswap32((x)) argument 134 #define be64toh(x) bswap64((x)) argument 135 #define le16toh(x) ((uint16_t)(x)) argument [all …]
|
/freebsd-src/contrib/arm-optimized-routines/pl/math/test/ |
H A D | mathbench_wrappers.h |
|
/freebsd-src/contrib/diff/lib/ |
H A D | unlocked-io.h | 45 # define clearerr(x) clearerr_unlocked (x) argument 47 # define clearerr_unlocked(x) clearerr (x) argument 51 # define feof(x) feof_unlocked (x) argument 53 # define feof_unlocked(x) feof (x) argument 57 # define ferror(x) ferror_unlocked (x) argument 59 # define ferror_unlocked(x) ferror (x) argument 63 # define fflush(x) fflush_unlocked (x) argument 65 # define fflush_unlocked(x) fflush (x) argument 69 # define fgets(x,y,z) fgets_unlocked (x,y,z) argument 71 # define fgets_unlocked(x,y,z) fgets (x,y,z) argument [all …]
|
/freebsd-src/contrib/ofed/libcxgb4/ |
H A D | t4_regs.h | 71 #define QID_V(x) ((x) << QID_S) argument 74 #define DBPRIO_V(x) ((x) << DBPRIO_S) argument 78 #define PIDX_V(x) ((x) << PIDX_S) argument 83 #define DBTYPE_V(x) ((x) << DBTYPE_S) argument 88 #define PIDX_T5_V(x) ((x) << PIDX_T5_S) argument 89 #define PIDX_T5_G(x) (((x) >> PIDX_T5_S) & PIDX_T5_M) argument 94 #define INGRESSQID_V(x) ((x) << INGRESSQID_S) argument 97 #define TIMERREG_V(x) ((x) << TIMERREG_S) argument 100 #define SEINTARM_V(x) ((x) << SEINTARM_S) argument 104 #define CIDXINC_V(x) ((x) << CIDXINC_S) argument [all …]
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
H A D | pm_runtime.h | 9 #define pm_runtime_mark_last_busy(x) (void)(x) argument 10 #define pm_runtime_use_autosuspend(x) (void)(x) argument 11 #define pm_runtime_dont_use_autosuspend(x) (void)(x) argument 12 #define pm_runtime_put_autosuspend(x) (void)(x) argument 13 #define pm_runtime_set_autosuspend_delay(x, y) (void)(x); (void)(y) argument 14 #define pm_runtime_set_active(x) (void)(x) argument 15 #define pm_runtime_allow(x) (void)(x) argument 16 #define pm_runtime_put_noidle(x) (void)(x) argument 17 #define pm_runtime_forbid(x) (void)(x) argument 18 #define pm_runtime_get_noresume(x) (void)(x) argument [all …]
|
/freebsd-src/tools/build/cross-build/include/mac/sys/ |
H A D | endian.h | 45 #define bswap16(x) __builtin_bswap16(x) argument 46 #define bswap32(x) __builtin_bswap32(x) argument 47 #define bswap64(x) __builtin_bswap64(x) argument 57 #define htobe16(x) bswap16((x)) argument 58 #define htobe32(x) bswap32((x)) argument 59 #define htobe64(x) bswap64((x)) argument 60 #define htole16(x) ((uint16_t)(x)) argument 61 #define htole32(x) ((uint32_t)(x)) argument 62 #define htole64(x) ((uint64_t)(x)) argument 64 #define be16toh(x) bswap16((x)) argument [all …]
|
/freebsd-src/sys/dev/cxgbe/crypto/ |
H A D | t4_keyctx.c | 67 #define V_TLS_KEYCTX_TX_WR_DUALCK(x) ((x) << S_TLS_KEYCTX_TX_WR_DUALCK) argument 68 #define G_TLS_KEYCTX_TX_WR_DUALCK(x) \ argument 74 #define V_TLS_KEYCTX_TX_WR_TXOPAD_PRESENT(x) \ argument 76 #define G_TLS_KEYCTX_TX_WR_TXOPAD_PRESENT(x) \ argument 84 #define V_TLS_KEYCTX_TX_WR_SALT_PRESENT(x) \ argument 86 #define G_TLS_KEYCTX_TX_WR_SALT_PRESENT(x) \ argument 94 #define V_TLS_KEYCTX_TX_WR_TXCK_SIZE(x) \ argument 96 #define G_TLS_KEYCTX_TX_WR_TXCK_SIZE(x) \ argument 102 #define V_TLS_KEYCTX_TX_WR_TXMK_SIZE(x) \ argument 104 #define G_TLS_KEYCTX_TX_WR_TXMK_SIZE(x) \ argument [all …]
|
/freebsd-src/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bit_util.h | 84 pow2_ceil_u64(uint64_t x) { in pow2_ceil_u64() 114 pow2_ceil_u32(uint32_t x) { in pow2_ceil_u32() 144 pow2_ceil_zu(size_t x) { in pow2_ceil_zu() 154 lg_floor(size_t x) { in lg_floor() 167 lg_floor(size_t x) { in lg_floor() 184 lg_floor(size_t x) { in lg_floor() 197 lg_floor(size_t x) { in lg_floor() 217 lg_ceil(size_t x) { in lg_ceil() 224 #define LG_FLOOR_1(x) 0 argument 225 #define LG_FLOOR_2(x) (x < (1ULL << 1) ? LG_FLOOR_1(x) : 1 + LG_FLOOR_1(x >> 1)) argument [all …]
|
/freebsd-src/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_debug.h | 46 #define KMP_DEBUG_USE_VAR(x) /* Nothing (it is used!) */ argument 56 #define KMP_DEBUG_USE_VAR(x) ((void)(x)) argument 63 #define KMP_DEBUG_USE_VAR(x) ((void)(x)) argument 81 #define KA_TRACE(d, x) \ argument 85 #define KB_TRACE(d, x) \ argument 89 #define KC_TRACE(d, x) \ argument 93 #define KD_TRACE(d, x) \ argument 97 #define KE_TRACE(d, x) \ argument 101 #define KF_TRACE(d, x) \ argument 105 #define K_DIAG(d, x) \ argument [all …]
|
/freebsd-src/contrib/libfido2/openbsd-compat/ |
H A D | openbsd-compat.h | 21 #define be16toh(x) OSSwapBigToHostInt16((x)) argument 22 #define htobe16(x) OSSwapHostToBigInt16((x)) argument 23 #define be32toh(x) OSSwapBigToHostInt32((x)) argument 24 #define htobe32(x) OSSwapHostToBigInt32((x)) argument 25 #define htole32(x) OSSwapHostToLittleInt32((x)) argument 26 #define htole64(x) OSSwapHostToLittleInt64((x)) argument 35 #define be16toh(x) ntohs((x)) argument 36 #define htobe16(x) htons((x)) argument 37 #define be32toh(x) ntohl((x)) argument 38 #define htobe32(x) htonl((x)) argument [all …]
|
/freebsd-src/usr.sbin/bhyve/ |
H A D | pci_xhci.h | 92 #define XHCI_SCTX_0_ROUTE_SET(x) ((x) & 0xFFFFF) argument 93 #define XHCI_SCTX_0_ROUTE_GET(x) ((x) & 0xFFFFF) argument 94 #define XHCI_SCTX_0_SPEED_SET(x) (((x) & 0xF) << 20) argument 95 #define XHCI_SCTX_0_SPEED_GET(x) (((x) >> 20) & 0xF) argument 96 #define XHCI_SCTX_0_MTT_SET(x) (((x) & 0x1) << 25) argument 97 #define XHCI_SCTX_0_MTT_GET(x) (((x) >> 25) & 0x1) argument 98 #define XHCI_SCTX_0_HUB_SET(x) (((x) & 0x1) << 26) argument 99 #define XHCI_SCTX_0_HUB_GET(x) (((x) >> 26) & 0x1) argument 100 #define XHCI_SCTX_0_CTX_NUM_SET(x) (((x) & 0x1F) << 27) argument 101 #define XHCI_SCTX_0_CTX_NUM_GET(x) (((x) >> 27) & 0x1F) argument [all …]
|