| /f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/ |
| H A D | test.h | 3 #define assert_cmp(t, a, b, cmp, neg_cmp, pri, ...) do { \ argument 20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ argument 22 #define assert_ptr_ne(a, b, ...) assert_cmp(void *, a, b, !=, \ argument 61 #define assert_ld_lt(a, b, ...) assert_cmp(long, a, b, <, \ argument 67 #define assert_ld_gt(a, b, ...) assert_cmp(long, a, b, >, \ argument 70 #define assert_lu_eq(a, b, ...) assert_cmp(unsigned long, \ argument 72 #define assert_lu_ne(a, b, ...) assert_cmp(unsigned long, \ argument 213 #define assert_b_eq(a, b, ...) do { \ argument 229 #define assert_b_ne(a, b, ...) do { \ argument 248 #define assert_str_eq(a, b, ...) do { \ argument [all …]
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_seq.h | 42 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) argument 43 #define SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0) argument 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) argument 45 #define SEQ_GEQ(a,b) ((int)((a)-(b)) >= 0) argument 50 #define WIN_LT(a,b) (ntohs(a) < ntohs(b)) argument 51 #define WIN_LEQ(a,b) (ntohs(a) <= ntohs(b)) argument 52 #define WIN_GT(a,b) (ntohs(a) > ntohs(b)) argument 53 #define WIN_GEQ(a,b) (ntohs(a) >= ntohs(b)) argument 59 #define TSTMP_LT(a,b) ((int)((a)-(b)) < 0) argument 60 #define TSTMP_GT(a,b) ((int)((a)-(b)) > 0) argument [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_seq.h | 42 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) argument 43 #define SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0) argument 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) argument 45 #define SEQ_GEQ(a,b) ((int)((a)-(b)) >= 0) argument 50 #define WIN_LT(a,b) (ntohs(a) < ntohs(b)) argument 51 #define WIN_LEQ(a,b) (ntohs(a) <= ntohs(b)) argument 52 #define WIN_GT(a,b) (ntohs(a) > ntohs(b)) argument 53 #define WIN_GEQ(a,b) (ntohs(a) >= ntohs(b)) argument 59 #define TSTMP_LT(a,b) ((int)((a)-(b)) < 0) argument 60 #define TSTMP_GT(a,b) ((int)((a)-(b)) > 0) argument [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lua_bit.c | 50 uint64_t b; member 52 UBits b; member 60 UBits b; in barg() local 106 #define bshl(b, n) (b << n) argument 107 #define bshr(b, n) (b >> n) argument 108 #define bsar(b, n) ((SBits)b >> n) argument 109 #define brol(b, n) ((b << n) | (b >> (32-n))) argument 110 #define bror(b, n) ((b << (32-n)) | (b >> n)) argument 122 UBits b = barg(L, 1); in BIT_SH() local 129 UBits b = barg(L, 1); in bit_tohex() local [all …]
|
| H A D | luaconf.h | 281 #define lua_freeline(L,b) ((void)L, free(b)) argument 283 #define lua_readline(L,b,p) \ argument 533 #define luai_numadd(a,b) ((a)+(b)) argument 534 #define luai_numsub(a,b) ((a)-(b)) argument 535 #define luai_nummul(a,b) ((a)*(b)) argument 536 #define luai_numdiv(a,b) ((a)/(b)) argument 538 #define luai_numpow(a,b) (pow(a,b)) argument 540 #define luai_numeq(a,b) ((a)==(b)) argument 541 #define luai_numlt(a,b) ((a)<(b)) argument 542 #define luai_numle(a,b) ((a)<=(b)) argument [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | libkern.h | 91 static __inline int imax(int a, int b) { return (a > b ? a : b); } in imax() 92 static __inline int imin(int a, int b) { return (a < b ? a : b); } in imin() 93 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() 94 static __inline long lmin(long a, long b) { return (a < b ? a : b); } in lmin() 95 static __inline u_int max(u_int a, u_int b) { return (a > b ? a : b); } in max() 96 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } in min() 97 static __inline quad_t qmax(quad_t a, quad_t b) { return (a > b ? a : b); } in qmax() 103 static __inline __uintmax_t ummax(__uintmax_t a, __uintmax_t b) in ummax() 108 static __inline __uintmax_t ummin(__uintmax_t a, __uintmax_t b) in ummin() 113 static __inline off_t omax(off_t a, off_t b) { return (a > b ? a : b); } in omax() [all …]
|
| H A D | random.h | 61 #define read_random(a, b) (*_read_random)(a, b) argument 62 #define read_random_uio(a, b) (*_read_random_uio)(a, b) argument 142 #define random_harvest_queue(a, b, c) do {} while (0) argument 143 #define random_harvest_fast(a, b, c) do {} while (0) argument 144 #define random_harvest_direct(a, b, c) do {} while (0) argument 151 #define random_harvest_fast_uma(a, b, c) random_harvest_fast(a, b, c) argument 153 #define random_harvest_fast_uma(a, b, c) do {} while (0) argument 157 #define random_harvest_queue_ether(a, b) random_harvest_queue(a, b, RANDOM_NET_ETHER) argument 159 #define random_harvest_queue_ether(a, b) do {} while (0) argument
|
| H A D | smr.h | 49 #define SMR_SEQ_LT(a, b) ((smr_delta_t)((a)-(b)) < 0) argument 50 #define SMR_SEQ_LEQ(a, b) ((smr_delta_t)((a)-(b)) <= 0) argument 51 #define SMR_SEQ_GT(a, b) ((smr_delta_t)((a)-(b)) > 0) argument 52 #define SMR_SEQ_GEQ(a, b) ((smr_delta_t)((a)-(b)) >= 0) argument 53 #define SMR_SEQ_DELTA(a, b) ((smr_delta_t)((a)-(b))) argument 54 #define SMR_SEQ_MIN(a, b) (SMR_SEQ_LT((a), (b)) ? (a) : (b)) argument 55 #define SMR_SEQ_MAX(a, b) (SMR_SEQ_GT((a), (b)) ? (a) : (b)) argument
|
| H A D | qmath.h | 354 #define Q_QCMPQ(a, b, intcmp, fraccmp) \ argument 359 #define Q_QLTQ(a, b) Q_QCMPQ(a, b, <, <) argument 362 #define Q_QLEQ(a, b) Q_QCMPQ(a, b, <, <=) argument 365 #define Q_QGTQ(a, b) Q_QCMPQ(a, b, >, >) argument 368 #define Q_QGEQ(a, b) Q_QCMPQ(a, b, >, >=) argument 371 #define Q_QEQ(a, b) Q_QCMPQ(a, b, ==, ==) argument 387 #define Q_QCANREPQ(a, b) \ argument 472 #define Q_NORMPREC(a, b) \ argument 501 #define Q_QADDSUBQ(a, b, eop) \ argument 523 #define Q_QDIVQ(a, b) \ argument [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
| H A D | blake2b-compress-avx2.h | 30 #define ADD(a, b) _mm256_add_epi64(a, b) argument 31 #define SUB(a, b) _mm256_sub_epi64(a, b) argument 33 #define XOR(a, b) _mm256_xor_si256(a, b) argument 34 #define AND(a, b) _mm256_and_si256(a, b) argument 35 #define OR(a, b) _mm256_or_si256(a, b) argument 42 #define BLAKE2B_G1_V1(a, b, c, d, m) \ argument 53 #define BLAKE2B_G2_V1(a, b, c, d, m) \ argument 64 #define BLAKE2B_DIAG_V1(a, b, c, d) \ argument 71 #define BLAKE2B_UNDIAG_V1(a, b, c, d) \ argument 80 #define BLAKE2B_ROUND_V1(a, b, c, d, r, m) \ argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | timer.h | 39 #define ddi_time_before(a, b) (typecheck(clock_t, a) && \ argument 42 #define ddi_time_after(a, b) ddi_time_before(b, a) argument 43 #define ddi_time_before_eq(a, b) (!ddi_time_after(a, b)) argument 44 #define ddi_time_after_eq(a, b) ddi_time_before_eq(b, a) argument 46 #define ddi_time_before64(a, b) (typecheck(int64_t, a) && \ argument 49 #define ddi_time_after64(a, b) ddi_time_before64(b, a) argument 50 #define ddi_time_before_eq64(a, b) (!ddi_time_after64(a, b)) argument 51 #define ddi_time_after_eq64(a, b) ddi_time_before_eq64(b, a) argument
|
| /f-stack/freebsd/arm/xilinx/ |
| H A D | zy7_gpio.c | 103 #define ZY7_GPIO_MASK_DATA_LSW(b) (0x0000+8*(b)) /* maskable wr lo */ argument 105 #define ZY7_GPIO_DATA(b) (0x0040+4*(b)) /* in/out data */ argument 106 #define ZY7_GPIO_DATA_RO(b) (0x0060+4*(b)) /* input data */ argument 108 #define ZY7_GPIO_DIRM(b) (0x0204+0x40*(b)) /* direction mode */ argument 109 #define ZY7_GPIO_OEN(b) (0x0208+0x40*(b)) /* output enable */ argument 110 #define ZY7_GPIO_INT_MASK(b) (0x020c+0x40*(b)) /* int mask */ argument 111 #define ZY7_GPIO_INT_EN(b) (0x0210+0x40*(b)) /* int enable */ argument 112 #define ZY7_GPIO_INT_DIS(b) (0x0214+0x40*(b)) /* int disable */ argument 113 #define ZY7_GPIO_INT_STAT(b) (0x0218+0x40*(b)) /* int status */ argument 114 #define ZY7_GPIO_INT_TYPE(b) (0x021c+0x40*(b)) /* int type */ argument [all …]
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_function_versioning.h | 47 #define VERSION_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@DPDK_" R… argument 55 #define VERSION_SYMBOL_EXPERIMENTAL(b, e) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) … argument 62 #define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(".symver " RTE_STR(b) RTE_STR(e) ", " RTE_STR(b) "@@DP… argument 89 #define VERSION_SYMBOL(b, e, n) argument 90 #define VERSION_SYMBOL_EXPERIMENTAL(b, e) argument 92 #define BIND_DEFAULT_SYMBOL(b, e, n) argument
|
| /f-stack/dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_hw_access.h | 115 #define CPTX_VQX_CTL(a, b) (0x0000100ll + 0x1000000000ll * \ argument 117 #define CPTX_VQX_SADDR(a, b) (0x0000200ll + 0x1000000000ll * \ argument 119 #define CPTX_VQX_DONE_WAIT(a, b) (0x0000400ll + 0x1000000000ll * \ argument 121 #define CPTX_VQX_INPROG(a, b) (0x0000410ll + 0x1000000000ll * \ argument 123 #define CPTX_VQX_DONE(a, b) (0x0000420ll + 0x1000000000ll * \ argument 125 #define CPTX_VQX_DONE_ACK(a, b) (0x0000440ll + 0x1000000000ll * \ argument 127 #define CPTX_VQX_DONE_INT_W1S(a, b) (0x0000460ll + 0x1000000000ll * \ argument 129 #define CPTX_VQX_DONE_INT_W1C(a, b) (0x0000468ll + 0x1000000000ll * \ argument 135 #define CPTX_VQX_MISC_INT(a, b) (0x0000500ll + 0x1000000000ll * \ argument 143 #define CPTX_VQX_DOORBELL(a, b) (0x0000600ll + 0x1000000000ll * \ argument [all …]
|
| /f-stack/freebsd/netgraph/bluetooth/hci/ |
| H A D | ng_hci_var.h | 83 #define NG_HCI_BUFF_CMD_SET(b, v) (b).cmd_free = (v) argument 84 #define NG_HCI_BUFF_CMD_GET(b, v) (v) = (b).cmd_free argument 85 #define NG_HCI_BUFF_CMD_USE(b, v) (b).cmd_free -= (v) argument 87 #define NG_HCI_BUFF_ACL_USE(b, v) (b).acl_free -= (v) argument 88 #define NG_HCI_BUFF_ACL_FREE(b, v) \ argument 96 #define NG_HCI_BUFF_ACL_SIZE(b, v) (v) = (b).acl_size argument 97 #define NG_HCI_BUFF_ACL_SET(b, n, s, f) \ argument 104 #define NG_HCI_BUFF_SCO_USE(b, v) (b).sco_free -= (v) argument 105 #define NG_HCI_BUFF_SCO_FREE(b, v) \ argument 113 #define NG_HCI_BUFF_SCO_SIZE(b, v) (v) = (b).sco_size argument [all …]
|
| /f-stack/dpdk/lib/librte_reorder/ |
| H A D | rte_reorder.c | 59 rte_reorder_init(struct rte_reorder_buffer *b, unsigned int bufsize, in rte_reorder_init() 105 struct rte_reorder_buffer *b = NULL; in rte_reorder_create() local 178 rte_reorder_reset(struct rte_reorder_buffer *b) in rte_reorder_reset() 189 rte_reorder_free_mbufs(struct rte_reorder_buffer *b) in rte_reorder_free_mbufs() 203 rte_reorder_free(struct rte_reorder_buffer *b) in rte_reorder_free() 239 struct rte_reorder_buffer *b = NULL; in rte_reorder_find_existing() local 267 rte_reorder_fill_overflow(struct rte_reorder_buffer *b, unsigned n) in rte_reorder_fill_overflow() 318 rte_reorder_insert(struct rte_reorder_buffer *b, struct rte_mbuf *mbuf) in rte_reorder_insert() 384 rte_reorder_drain(struct rte_reorder_buffer *b, struct rte_mbuf **mbufs, in rte_reorder_drain()
|
| /f-stack/tools/libnetgraph/ |
| H A D | internal.h | 77 #define socket(a,b,c) ng_socket(a,b,c) argument 78 #define connect(a,b,c) ng_connect(a,b,c) argument 79 #define bind(a,b,c) ng_bind(a,b,c) argument 80 #define sendto(a,b,c,d,e,f) ng_sendto(a,b,c,d,e,f) argument 81 #define recvfrom(a,b,c,d,e,f) ng_recvfrom(a,b,c,d,e,f) argument
|
| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_bitmap.h | 66 #define CK_BITMAP_INIT(a, b, c) \ argument 69 #define CK_BITMAP_NEXT(a, b, c) \ argument 72 #define CK_BITMAP_SET(a, b) \ argument 75 #define CK_BITMAP_BTS(a, b) \ argument 78 #define CK_BITMAP_RESET(a, b) \ argument 81 #define CK_BITMAP_TEST(a, b) \ argument 84 #define CK_BITMAP_UNION(a, b) \ argument 87 #define CK_BITMAP_INTERSECTION(a, b) \ argument 96 #define CK_BITMAP_EMPTY(a, b) \ argument 99 #define CK_BITMAP_FULL(a, b) \ argument [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_reorder.c | 25 struct rte_reorder_buffer *b; member 38 struct rte_reorder_buffer *b = NULL; in test_reorder_create() local 58 struct rte_reorder_buffer *b = NULL; in test_reorder_init() local 94 struct rte_reorder_buffer *b = NULL; in test_reorder_find_existing() local 133 struct rte_reorder_buffer *b = NULL; in test_reorder_insert() local 220 struct rte_reorder_buffer *b = NULL; in test_reorder_drain() local
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_string.c | 37 uu_streq(const char *a, const char *b) in uu_streq() 44 uu_strcaseeq(const char *a, const char *b) in uu_strcaseeq() 51 uu_strbw(const char *a, const char *b) in uu_strbw()
|
| /f-stack/dpdk/lib/librte_eal/windows/include/ |
| H A D | sched.h | 24 #define _NUM_SETS(b) (((b) + _BIT_SET_MASK) / _BITS_PER_SET) argument 25 #define _WHICH_SET(b) ((b) / _BITS_PER_SET) argument 26 #define _WHICH_BIT(b) ((b) & (_BITS_PER_SET - 1)) argument 32 #define CPU_SET(b, s) ((s)->_bits[_WHICH_SET(b)] |= (1LL << _WHICH_BIT(b))) argument 42 #define CPU_ISSET(b, s) (((s)->_bits[_WHICH_SET(b)] & \ argument
|
| /f-stack/freebsd/libkern/ |
| H A D | jenkins_hash.c | 91 #define mix(a,b,c) \ argument 126 #define final(a,b,c) \ argument 155 uint32_t a,b,c; in jenkins_hash32() local 215 uint32_t a,b,c; /* internal state */ in jenkins_hash() local 368 uint32_t a,b,c; in jenkins_hash() local
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_jhash.h | 42 #define __rte_jhash_mix(a, b, c) do { \ argument 51 #define __rte_jhash_final(a, b, c) do { \ argument 78 uint32_t a, b, c; in __rte_jhash_2hashes() local 307 __rte_jhash_3words(uint32_t a, uint32_t b, uint32_t c, uint32_t initval) in __rte_jhash_3words() 334 rte_jhash_3words(uint32_t a, uint32_t b, uint32_t c, uint32_t initval) in rte_jhash_3words() 353 rte_jhash_2words(uint32_t a, uint32_t b, uint32_t initval) in rte_jhash_2words()
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_jhash.h | 48 #define __rte_jhash_mix(a, b, c) do { \ argument 57 #define __rte_jhash_final(a, b, c) do { \ argument 84 uint32_t a, b, c; in __rte_jhash_2hashes() local 313 __rte_jhash_3words(uint32_t a, uint32_t b, uint32_t c, uint32_t initval) in __rte_jhash_3words() 340 rte_jhash_3words(uint32_t a, uint32_t b, uint32_t c, uint32_t initval) in rte_jhash_3words() 359 rte_jhash_2words(uint32_t a, uint32_t b, uint32_t initval) in rte_jhash_2words()
|
| /f-stack/dpdk/drivers/common/octeontx2/hw/ |
| H A D | otx2_rvu.h | 21 #define RVU_AF_AFPFX_MBOXX(a, b) \ argument 48 #define RVU_PRIV_PFX_NIXX_CFG(a, b) \ argument 54 #define RVU_PRIV_PFX_CPTX_CFG(a, b) \ argument 58 #define RVU_PRIV_HWVFX_NIXX_CFG(a, b) \ argument 64 #define RVU_PRIV_HWVFX_CPTX_CFG(a, b) \ argument 67 #define RVU_PF_VFX_PFVF_MBOXX(a, b) \ argument 109 #define RVU_BAR_RVU_PFX_FUNCX_BAR2(a, b) \ argument 175 #define AF_BAR2_ALIASX(a, b) \ argument 177 #define TIM_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument 178 #define SSO_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument [all …]
|