/freebsd-13-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | buffer.h | 682 #define ISC__BUFFER_INIT(_b, _base, _length) \ 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_INI [all...] |
/freebsd-13-stable/sys/dev/usb/ |
H A D | usb_core.h | 45 #define USB_BUS_LOCK(_b) USB_MTX_LOCK(&(_b)->bus_mtx) 46 #define USB_BUS_UNLOCK(_b) USB_MTX_UNLOCK(&(_b)->bus_mtx) 47 #define USB_BUS_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_mtx, _t) 50 #define USB_BUS_SPIN_LOCK(_b) USB_MTX_LOCK_SPIN(&(_b)->bus_spin_lock) 51 #define USB_BUS_SPIN_UNLOCK(_b) USB_MTX_UNLOCK_SPIN(&(_b) [all...] |
/freebsd-13-stable/contrib/libdivsufsort/include/ |
H A D | divsufsort_private.h | 146 # define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0) 149 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) 152 # define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b)) 154 #define STACK_PUSH(_a, _b, _ [all...] |
/freebsd-13-stable/sys/dev/sfxge/common/ |
H A D | efx_hash.c | 70 #define EFX_HASH_MIX(_a, _b, _c) \ 74 _c += _b; \ 75 _b -= _a; \ 76 _b ^= EFX_HASH_ROTATE(_a, 6); \ 78 _c -= _b; \ 79 _c ^= EFX_HASH_ROTATE(_b, 8); \ 80 _b += _a; \ 83 _c += _b; \ 84 _b -= _a; \ 85 _b [all...] |
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | sysmacros.h | 291 #define DECL_BITFIELD2(_a, _b) \ 292 uint8_t _a, _b 293 #define DECL_BITFIELD3(_a, _b, _c) \ 294 uint8_t _a, _b, _c 295 #define DECL_BITFIELD4(_a, _b, _c, _d) \ 296 uint8_t _a, _b, _c, _d 297 #define DECL_BITFIELD5(_a, _b, _c, _d, _e) \ 298 uint8_t _a, _b, _c, _d, _e 299 #define DECL_BITFIELD6(_a, _b, _c, _d, _e, _f) \ 300 uint8_t _a, _b, _ [all...] |
/freebsd-13-stable/sys/dev/uart/ |
H A D | uart_dev_imx.h | 209 #define CLR(_bas, _r, _b) \ 210 SETREG((_bas), (_r), GETREG((_bas), (_r)) & ~(_b)) 211 #define SET(_bas, _r, _b) \ 212 SETREG((_bas), (_r), GETREG((_bas), (_r)) | (_b)) 213 #define IS_SET(_bas, _r, _b) \ 214 ((GETREG((_bas), (_r)) & (_b)) ? 1 : 0) 216 #define ENA(_bas, _r, _b) SET((_bas), REG(_r), FLD(_r, _b)) 217 #define DIS(_bas, _r, _b) CLR((_bas), REG(_r), FLD(_r, _b)) [all...] |
/freebsd-13-stable/sys/dev/ixgbe/ |
H A D | ixgbe_rss.h | 60 #define rss_hash2bucket(_a,_b,_c) -1
|
H A D | ixgbe_sriov.h | 87 #define ixgbe_add_vf(_a,_b,_c) 88 #define ixgbe_init_iov(_a,_b,_c) 94 #define ixgbe_define_iov_schemas(_a,_b) 96 #define ixgbe_vf_que_index(_a, _b, _c) (_c)
|
/freebsd-13-stable/tools/tools/ath/common/ |
H A D | ah_osdep.h | 52 #define OS_MACEQU(_a, _b) \ 53 (bcmp((_a), (_b), IEEE80211_ADDR_LEN) == 0) 70 #define __printflike(_a,_b) \ 71 __attribute__ ((__format__ (__printf__, _a, _b)))
|
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | sysmacros.h | 347 #define DECL_BITFIELD2(_a, _b) \ 348 uint8_t _a, _b 349 #define DECL_BITFIELD3(_a, _b, _c) \ 350 uint8_t _a, _b, _c 351 #define DECL_BITFIELD4(_a, _b, _c, _d) \ 352 uint8_t _a, _b, _c, _d 353 #define DECL_BITFIELD5(_a, _b, _c, _d, _e) \ 354 uint8_t _a, _b, _c, _d, _e 355 #define DECL_BITFIELD6(_a, _b, _c, _d, _e, _f) \ 356 uint8_t _a, _b, _ [all...] |
/freebsd-13-stable/contrib/nvi/common/ |
H A D | util.h | 59 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) 60 #define MAX(_a,_b) ((_a)<(_b)?(_b):(_a))
|
/freebsd-13-stable/sys/contrib/openzfs/contrib/dracut/90zfs/ |
H A D | zfs-lib.sh.in | 9 ! _b=$(getarg "$@") && [ -z "$_b" ] && _b="$_default" 10 if [ -n "$_b" ]; then 11 [ "$_b" = "0" ] && return 1 12 [ "$_b" = "no" ] && return 1 13 [ "$_b" = "off" ] && return 1
|
/freebsd-13-stable/sys/arm/allwinner/a10/ |
H A D | a10_intc.c | 90 #define SW_INT_IRQ_PENDING_REG(_b) (0x10 + ((_b) * 4)) 91 #define SW_INT_FIQ_PENDING_REG(_b) (0x20 + ((_b) * 4)) 92 #define SW_INT_SELECT_REG(_b) (0x30 + ((_b) * 4)) 93 #define SW_INT_ENABLE_REG(_b) (0x40 + ((_b) * 4)) 94 #define SW_INT_MASK_REG(_b) (0x50 + ((_b) * [all...] |
/freebsd-13-stable/sys/dev/ath/ |
H A D | ah_osdep.h | 74 #define OS_MEMCMP(_a, _b, _l) memcmp((_a), (_b), (_l))
|
/freebsd-13-stable/sys/sys/ |
H A D | bitstring.h | 285 int _value, _offset, _logsize, _b; local 305 _b = _logsize; 306 while ((_test & (_test + 1)) != 0 && _b-- > 0) 307 _test |= _test >> (((_size - 1) >> _b) + 1) / 2; 332 int _value, _offset, _logsize, _b; local 352 _b = _logsize; 353 while ((_test & (_test + 1)) != 0 && _b-- > 0) 354 _test |= _test >> (((_size - 1) >> _b) + 1) / 2;
|
/freebsd-13-stable/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-13-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 1227 # define DT1(_n,_a,_b) DTRACE_PROBE1(_n,_a,_b) 1228 # define DT2(_n,_a,_b,_c,_d) DTRACE_PROBE2(_n,_a,_b,_c,_d) 1229 # define DT3(_n,_a,_b,_c,_d,_e,_f) \ 1230 DTRACE_PROBE3(_n,_a,_b,_c,_d,_e,_f) 1231 # define DT4(_n,_a,_b,_c,_d,_e,_f,_g,_h) \ 1232 DTRACE_PROBE4(_n,_a,_b,_c,_d,_e,_f,_g,_h) 1235 # define DT1(_n,_a,_b) 1236 # define DT2(_n,_a,_b,_ [all...] |
/freebsd-13-stable/sys/arm/nvidia/ |
H A D | tegra_lic.c | 67 #define WR4(_sc, _b, _r, _v) bus_write_4((_sc)->mem_res[_b], (_r), (_v)) 68 #define RD4(_sc, _b, _r) bus_read_4((_sc)->mem_res[_b], (_r))
|
/freebsd-13-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.h | 34 #define min_t(type, _a, _b) (((type)(_a) < (type)(_b)) ? (type)(_a) : (type)(_b))
|
/freebsd-13-stable/sys/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 438 #define CCMP_ENCRYPT(_i, _b, _b0, _pos, _e, _len) do { \ 440 xor_block(_b, _pos, _len); \ 441 rijndael_encrypt(&ctx->cc_aes, _b, _b); \ 583 #define CCMP_DECRYPT(_i, _b, _b0, _pos, _a, _len) do { \ 587 rijndael_encrypt(&ctx->cc_aes, _b0, _b); \ 588 xor_block(_pos, _b, _len); \
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 416 #define kmem_free(_b, _s) umem_free(_b, _s) 419 #define vmem_free(_b, _s) kmem_free(_b, _s) 420 #define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \ 421 umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) 424 #define kmem_cache_free(_c, _b) umem_cache_free(_c, _b) 739 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ 740 sysevent_post_event(_c, _d, _b, "libzpoo [all...] |
/freebsd-13-stable/sys/netinet6/ |
H A D | frag6.c | 139 #define IP6QB_LOCK(_b) mtx_lock(&V_ip6qb[(_b)].lock) 140 #define IP6QB_TRYLOCK(_b) mtx_trylock(&V_ip6qb[(_b)].lock) 141 #define IP6QB_LOCK_ASSERT(_b) mtx_assert(&V_ip6qb[(_b)].lock, MA_OWNED) 142 #define IP6QB_UNLOCK(_b) mtx_unlock(&V_ip6qb[(_b)].lock) 143 #define IP6QB_HEAD(_b) (&V_ip6qb[(_b)] [all...] |
/freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
H A D | divsufsort.c | 94 # define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0) 97 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) 100 # define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b)) 102 #define STACK_PUSH(_a, _b, _ [all...] |
/freebsd-13-stable/usr.bin/netstat/ |
H A D | nhgrp.c | 181 cmp_nhg_idx(const void *_a, const void *_b) argument 186 b = _b;
|
/freebsd-13-stable/contrib/wpa/src/utils/ |
H A D | common.c | 909 int _b = *(int *) b; local 913 if (_b == 0) 915 return _a - _b;
|