| /f-stack/freebsd/sys/ |
| H A D | bitset.h | 52 ((p)->__bits[__bitset_word(_s, n)] &= ~__bitset_mask((_s), (n))) 57 ((((p)->__bits[__bitset_word(_s, n)] & __bitset_mask((_s), (n))) != 0)) 60 ((p)->__bits[__bitset_word(_s, n)] |= __bitset_mask((_s), (n))) 75 BIT_ZERO(_s, p); \ 76 (p)->__bits[__bitset_word(_s, n)] = __bitset_mask((_s), (n)); \ 184 __bitset_mask((_s), n)) 188 __bitset_mask((_s), n)) 192 __bitset_mask((_s), n)) 247 #define BIT_FFS(_s, p) BIT_FFS_AT((_s), (p), 0) argument 280 #define BITSET_SIZE(_s) (__bitset_words((_s)) * sizeof(long)) argument [all …]
|
| H A D | _bitset.h | 45 #define __bitset_words(_s) (__howmany(_s, _BITSET_BITS)) argument 47 #define BITSET_DEFINE(t, _s) \ argument 49 long __bits[__bitset_words((_s))]; \
|
| H A D | qmath.h | 223 char *_r, *_s = s; \ 226 *_s++ = '-'; \ 228 _r = _s; \ 231 if ((_s - (s)) < ((ptrdiff_t)(slen))) \ 232 *_s++ = Q_IBITS2CH(q, _part, base); \ 243 *(_s - _i - 1) = *_s; /* Copy LHS char to RHS. */ \ 247 if ((_s - (s)) < ((ptrdiff_t)(slen))) \ 248 *_s++ = '.'; \ 257 *_s++ = Q_FBITS2CH(q, _part, base); \ 263 *_s = '\0'; \ [all …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | bitset.h | 42 #define BIT_CLR(_s, n, p) \ argument 43 ((p)->__bits[__bitset_word(_s, n)] &= ~__bitset_mask((_s), (n))) 47 #define BIT_ISSET(_s, n, p) \ argument 48 ((((p)->__bits[__bitset_word(_s, n)] & __bitset_mask((_s), (n))) != 0)) 50 #define BIT_SET(_s, n, p) \ argument 51 ((p)->__bits[__bitset_word(_s, n)] |= __bitset_mask((_s), (n))) 66 BIT_ZERO(_s, p); \ 67 (p)->__bits[__bitset_word(_s, n)] = __bitset_mask((_s), (n)); \ 139 __bitset_mask((_s), n)) 143 __bitset_mask((_s), n)) [all …]
|
| H A D | _bitset.h | 43 #define __bitset_words(_s) (__howmany(_s, _BITSET_BITS)) argument 45 #define BITSET_DEFINE(t, _s) \ argument 47 long __bits[__bitset_words((_s))]; \
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_pcie.h | 86 #define MTK_PCIE_BAR0SETUP(_s) (MTK_PCI_PCIE0_BAR0SETUP + (_s)*0x1000) argument 87 #define MTK_PCIE_BAR1SETUP(_s) (MTK_PCI_PCIE0_BAR1SETUP + (_s)*0x1000) argument 88 #define MTK_PCIE_IMBASEBAR0(_s) (MTK_PCI_PCIE0_IMBASEBAR0 + (_s)*0x1000) argument 89 #define MTK_PCIE_ID(_s) (MTK_PCI_PCIE0_ID + (_s)*0x1000) argument 90 #define MTK_PCIE_CLASS(_s) (MTK_PCI_PCIE0_CLASS + (_s)*0x1000) argument 91 #define MTK_PCIE_SUBID(_s) (MTK_PCI_PCIE0_SUBID + (_s)*0x1000) argument 92 #define MTK_PCIE_STATUS(_s) (MTK_PCI_PCIE0_STATUS + (_s)*0x1000) argument
|
| H A D | mtk_pcie.c | 865 #define mtk_pcie_phy_set(_sc, _reg, _s, _n, _v) \ argument 867 (~(((1ull << (_n)) - 1) << (_s)))) | ((_v) << (_s))))
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_shim.h | 7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument 14 #define assert(_s) KASSERT((_s), ("DPDK: assert failed")) argument
|
| /f-stack/freebsd/netgraph/atm/sscop/ |
| H A D | ng_sscop_cust.h | 200 struct sscop_sig *_s; \ 203 _s = TAILQ_FIRST(F); \ 204 TAILQ_REMOVE(F, _s, link); \ 205 TAILQ_INSERT_TAIL(T, _s, link); \ 211 struct sscop_sig *_s; \ 214 _s = TAILQ_LAST(F, sscop_sigq); \ 215 TAILQ_REMOVE(F, _s, link); \ 216 TAILQ_INSERT_HEAD(T, _s, link); \
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 419 #define kmem_alloc(_s, _f) umem_alloc(_s, _f) 420 #define kmem_zalloc(_s, _f) umem_zalloc(_s, _f) 421 #define kmem_free(_b, _s) umem_free(_b, _s) 422 #define vmem_alloc(_s, _f) kmem_alloc(_s, _f) 423 #define vmem_zalloc(_s, _f) kmem_zalloc(_s, _f) 424 #define vmem_free(_b, _s) kmem_free(_b, _s)
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_compat.h | 137 #define cxgbe_roundup(_p, _s) (((unsigned long)(_p) + (_s - 1)) & ~(_s - 1)) argument
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 104 char _s[INET6_ADDRSTRLEN], _d[INET6_ADDRSTRLEN]; \ 177 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_translate_icmpv6() 239 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_rewrite_internal() 297 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_rewrite_external() 380 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in ipfw_nptv6()
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_osdep.h | 55 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument 56 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) argument
|
| /f-stack/dpdk/drivers/net/igc/base/ |
| H A D | igc_osdep.h | 50 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) \ argument 55 (void)(_s); \
|
| H A D | igc_regs.h | 207 #define IGC_I210_TXPBS_SIZE(_n, _s) ((_s) << (6 * (_n))) argument
|
| /f-stack/dpdk/drivers/common/iavf/ |
| H A D | iavf_type.h | 20 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) (_p); (_q); (_r); (_s); argument 21 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) (_p); (_q); (_r); (_s); (_t); argument
|
| /f-stack/freebsd/arm64/rockchip/clk/ |
| H A D | rk_cru.h | 48 #define GATE(_idx, _clkname, _pname, _o, _s) \ argument 54 .shift = _s, \
|
| H A D | rk3288_cru.c | 83 #define GATE(_idx, _clkname, _pname, _o, _s) \ argument 89 .shift = _s, \
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | ecore_sp.h | 115 #define ECORE_MEMCMP(_a, _b, _s) memcmp(_a, _b, _s) argument 116 #define ECORE_MEMCPY(_a, _b, _s) rte_memcpy(_a, _b, _s) argument 117 #define ECORE_MEMSET(_a, _c, _s) memset(_a, _c, _s) argument 122 #define ECORE_WAIT(_s, _t) DELAY(1000) argument 134 #define ECORE_FREE(_s, _buf, _size) \ argument
|
| /f-stack/freebsd/net/ |
| H A D | netmap_legacy.h | 208 #define _IOWR(_c, _n, _s) _IO(_c, _n) argument
|
| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_osdep.h | 41 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument
|
| H A D | e1000_regs.h | 203 #define E1000_I210_TXPBS_SIZE(_n, _s) ((_s) << (6 * (_n))) argument
|
| /f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_tx99_tgt.c | 42 #define PWR_MAS(_r, _s) (((_r) & 0x3f) << (_s)) in ar9300_tx99_tgt_channel_pwr_update() argument
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_type.h | 20 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) (_p); (_q); (_r); (_s); argument 21 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) (_p); (_q); (_r); (_s); (_t); argument
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_fil.h | 166 do { i6addr_t *_s = (i6addr_t *)(a); \ 168 _d->i6[0] = NLADD(_s->i6[0], x); \ 169 if (ntohl(_d->i6[0]) < ntohl(_s->i6[0])) { \ 171 if (ntohl(_d->i6[1]) < ntohl(_s->i6[1])) { \ 173 if (ntohl(_d->i6[2]) < ntohl(_s->i6[2])) { \
|