/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | buffer.h | 682 #define ISC__BUFFER_INIT(_b, _base, _length) \ argument 689 (_b)->base = _u.var; \ 690 (_b)->length = (_length); \ 691 (_b)->used = 0; \ 692 (_b)->current = 0; \ 693 (_b)->active = 0; \ 694 (_b)->mctx = NULL; \ 695 ISC_LINK_INIT(_b, link); \ 696 (_b)->magic = ISC_BUFFER_MAGIC; \ 699 #define ISC__BUFFER_INITNULL(_b) ISC__BUFFER_INIT(_b, NULL, 0) argument [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_hash.c | 68 #define EFX_HASH_MIX(_a, _b, _c) \ argument 72 _c += _b; \ 73 _b -= _a; \ 74 _b ^= EFX_HASH_ROTATE(_a, 6); \ 76 _c -= _b; \ 77 _c ^= EFX_HASH_ROTATE(_b, 8); \ 78 _b += _a; \ 81 _c += _b; \ 82 _b -= _a; \ 83 _b ^= EFX_HASH_ROTATE(_a, 19); \ [all …]
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | sysmacros.h | 347 #define DECL_BITFIELD2(_a, _b) \ argument 348 uint8_t _a, _b 349 #define DECL_BITFIELD3(_a, _b, _c) \ argument 350 uint8_t _a, _b, _c 351 #define DECL_BITFIELD4(_a, _b, _c, _d) \ argument 352 uint8_t _a, _b, _c, _d 353 #define DECL_BITFIELD5(_a, _b, _c, _d, _e) \ argument 354 uint8_t _a, _b, _c, _d, _e 355 #define DECL_BITFIELD6(_a, _b, _c, _d, _e, _f) \ argument 356 uint8_t _a, _b, _c, _d, _e, _f [all …]
|
/freebsd/contrib/libdivsufsort/include/ |
H A D | divsufsort_private.h | 146 # define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0) argument 149 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) argument 152 # define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b)) argument 154 #define STACK_PUSH(_a, _b, _c, _d)\ argument 157 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 160 #define STACK_PUSH5(_a, _b, _c, _d, _e)\ argument 163 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 166 #define STACK_POP(_a, _b, _c, _d)\ argument 170 (_a) = stack[--ssize].a, (_b) = stack[ssize].b,\ 173 #define STACK_POP5(_a, _b, _c, _d, _e)\ argument [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_core.h | 44 #define USB_BUS_LOCK(_b) USB_MTX_LOCK(&(_b)->bus_mtx) argument 45 #define USB_BUS_UNLOCK(_b) USB_MTX_UNLOCK(&(_b)->bus_mtx) argument 46 #define USB_BUS_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_mtx, _t) argument 49 #define USB_BUS_SPIN_LOCK(_b) USB_MTX_LOCK_SPIN(&(_b)->bus_spin_lock) argument 50 #define USB_BUS_SPIN_UNLOCK(_b) USB_MTX_UNLOCK_SPIN(&(_b)->bus_spin_lock) argument 51 #define USB_BUS_SPIN_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_spin_lock, _t) argument
|
/freebsd/sys/dev/uart/ |
H A D | uart_dev_imx.h | 206 #define CLR(_bas, _r, _b) \ argument 207 SETREG((_bas), (_r), GETREG((_bas), (_r)) & ~(_b)) 208 #define SET(_bas, _r, _b) \ argument 209 SETREG((_bas), (_r), GETREG((_bas), (_r)) | (_b)) 210 #define IS_SET(_bas, _r, _b) \ argument 211 ((GETREG((_bas), (_r)) & (_b)) ? 1 : 0) 213 #define ENA(_bas, _r, _b) SET((_bas), REG(_r), FLD(_r, _b)) argument 214 #define DIS(_bas, _r, _b) CLR((_bas), REG(_r), FLD(_r, _b)) argument 215 #define IS(_bas, _r, _b) IS_SET((_bas), REG(_r), FLD(_r, _b)) argument
|
/freebsd/contrib/nvi/common/ |
H A D | util.h | 59 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) argument 60 #define MAX(_a,_b) ((_a)<(_b)?(_b):(_a)) argument
|
/freebsd/sys/arm/allwinner/a10/ |
H A D | a10_intc.c | 88 #define SW_INT_IRQ_PENDING_REG(_b) (0x10 + ((_b) * 4)) argument 89 #define SW_INT_FIQ_PENDING_REG(_b) (0x20 + ((_b) * 4)) argument 90 #define SW_INT_SELECT_REG(_b) (0x30 + ((_b) * 4)) argument 91 #define SW_INT_ENABLE_REG(_b) (0x40 + ((_b) * 4)) argument 92 #define SW_INT_MASK_REG(_b) (0x50 + ((_b) * 4)) argument
|
/freebsd/tools/tools/ath/common/ |
H A D | ah_osdep.h | 50 #define OS_MACEQU(_a, _b) \ argument 51 (bcmp((_a), (_b), IEEE80211_ADDR_LEN) == 0) 68 #define __printflike(_a,_b) \ argument 69 __attribute__ ((__format__ (__printf__, _a, _b)))
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_sriov.h | 86 #define ixgbe_add_vf(_a,_b,_c) argument 87 #define ixgbe_init_iov(_a,_b,_c) argument 93 #define ixgbe_define_iov_schemas(_a,_b) argument 95 #define ixgbe_vf_que_index(_a, _b, _c) (_c) argument
|
H A D | ixgbe_rss.h | 60 #define rss_hash2bucket(_a,_b,_c) -1 argument
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_compat.h | 1210 # define DT1(_n,_a,_b) DTRACE_PROBE1(_n,_a,_b) argument 1211 # define DT2(_n,_a,_b,_c,_d) DTRACE_PROBE2(_n,_a,_b,_c,_d) argument 1212 # define DT3(_n,_a,_b,_c,_d,_e,_f) \ argument 1213 DTRACE_PROBE3(_n,_a,_b,_c,_d,_e,_f) 1214 # define DT4(_n,_a,_b,_c,_d,_e,_f,_g,_h) \ argument 1215 DTRACE_PROBE4(_n,_a,_b,_c,_d,_e,_f,_g,_h) 1216 # define DT5(_n,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j) \ argument 1217 DTRACE_PROBE5(_n,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j) 1220 # define DT1(_n,_a,_b) argument 1221 # define DT2(_n,_a,_b,_c,_d) argument [all …]
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_common.h | 537 typeof (b) _b = (b); \ 538 _a < _b ? _a : _b; \ 547 typeof (b) _b = (b); \ 548 _a > _b ? _a : _b; \
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 419 #define kmem_free(_b, _s) umem_free(_b, _s) 422 #define vmem_free(_b, _s) kmem_free(_b, _s) 423 #define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \ 424 umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) 427 #define kmem_cache_free(_c, _b) umem_cache_free(_c, _b) 760 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ 761 sysevent_post_event(_c, _d, _b, "libzpool", _e, _f)
|
/freebsd/sys/dev/ice/ |
H A D | ice_defs.h | 53 #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b)) argument
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_lic.c | 65 #define WR4(_sc, _b, _r, _v) bus_write_4((_sc)->mem_res[_b], (_r), (_v)) argument 66 #define RD4(_sc, _b, _r) bus_read_4((_sc)->mem_res[_b], (_r)) argument
|
/freebsd/sys/netinet6/ |
H A D | frag6.c | 142 #define IP6QB_LOCK(_b) mtx_lock(&V_ip6qb[(_b)].lock) argument 143 #define IP6QB_TRYLOCK(_b) mtx_trylock(&V_ip6qb[(_b)].lock) argument 144 #define IP6QB_LOCK_ASSERT(_b) mtx_assert(&V_ip6qb[(_b)].lock, MA_OWNED) argument 145 #define IP6QB_UNLOCK(_b) mtx_unlock(&V_ip6qb[(_b)].lock) argument 146 #define IP6QB_HEAD(_b) (&V_ip6qb[(_b)].packets) argument
|
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 436 #define CCMP_ENCRYPT(_i, _b, _b0, _pos, _e, _len) do { \ argument 438 xor_block(_b, _pos, _len); \ 439 rijndael_encrypt(&ctx->cc_aes, _b, _b); \ 581 #define CCMP_DECRYPT(_i, _b, _b0, _pos, _a, _len) do { \ argument 585 rijndael_encrypt(&ctx->cc_aes, _b0, _b); \ 586 xor_block(_pos, _b, _len); \
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.h | 32 #define min_t(type, _a, _b) (((type)(_a) < (type)(_b)) ? (type)(_a) : (type)(_b)) argument
|
/freebsd/sys/dev/ath/ |
H A D | ah_osdep.h | 72 #define OS_MEMCMP(_a, _b, _l) memcmp((_a), (_b), (_l)) argument
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig_netlink.c | 297 cmp_iface(const void *_a, const void *_b) in cmp_iface() argument 300 const struct iface *b = *((const void * const *)_b); in cmp_iface() 306 cmp_ifaddr(const void *_a, const void *_b) in cmp_ifaddr() argument 309 const struct ifa *b = *((const void * const *)_b); in cmp_ifaddr()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | divsufsort.c | 94 # define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0) argument 97 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) argument 100 # define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b)) argument 102 #define STACK_PUSH(_a, _b, _c, _d)\ argument 105 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 108 #define STACK_PUSH5(_a, _b, _c, _d, _e)\ argument 111 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 114 #define STACK_POP(_a, _b, _c, _d)\ argument 118 (_a) = stack[--ssize].a, (_b) = stack[ssize].b,\ 121 #define STACK_POP5(_a, _b, _c, _d, _e)\ argument [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/soc/mediatek/ |
H A D | mtk_wed.h | 45 #define mtk_wed_device_start_hw_rro(_dev, _mask, _b) do { } while(0) argument
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | tinytest_macros.h | 164 int _b = (int)(b); \ 165 tt_assert_test_type(_a,_b,#a" "#op" "#b,long,(val1_ op val2_), \
|
/freebsd/contrib/libevent/test/ |
H A D | tinytest_macros.h | 164 int _b = (int)(b); \ 165 tt_assert_test_type(_a,_b,#a" "#op" "#b,long,(val1_ op val2_), \
|