| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | dma.h | 51 #define Q_READ(_q, _field) ({ \ argument 54 if ((_q)->flags & MT_QFLAG_WED) \ 55 _val = mtk_wed_device_reg_read((_q)->wed, \ 56 ((_q)->wed_regs + \ 59 _val = readl(&(_q)->regs->_field); \ 63 #define Q_WRITE(_q, _field, _val) do { \ argument 65 if ((_q)->flags & MT_QFLAG_WED) \ 66 mtk_wed_device_reg_write((_q)->wed, \ 67 ((_q)->wed_regs + _offset), \ 70 writel(_val, &(_q)->regs->_field); \ [all …]
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | dn_sched_rr.c | 256 rr_new_queue(struct dn_queue *_q) in rr_new_queue() argument 258 struct rr_queue *q = (struct rr_queue *)_q; in rr_new_queue() 261 _q->ni.oid.subtype = DN_SCHED_RR; in rr_new_queue() 263 quantum = (uint64_t)_q->fs->fs.par[0] * _q->fs->fs.par[1]; in rr_new_queue() 273 if (_q->mq.head != NULL) { in rr_new_queue() 275 rr_append(q, (struct rr_si *)(_q->_si + 1)); in rr_new_queue() 281 rr_free_queue(struct dn_queue *_q) in rr_free_queue() argument 283 struct rr_queue *q = (struct rr_queue *)_q; in rr_free_queue() 287 struct rr_si *si = (struct rr_si *)(_q->_si + 1); in rr_free_queue()
|
| H A D | dn_sched_wf2q.c | 98 struct dn_queue _q; member 306 wf2qp_new_queue(struct dn_queue *_q) in wf2qp_new_queue() argument 308 struct wf2qp_queue *q = (struct wf2qp_queue *)_q; in wf2qp_new_queue() 310 _q->ni.oid.subtype = DN_SCHED_WF2QP; in wf2qp_new_queue() 313 q->inv_w = ONE_FP / _q->fs->fs.par[0]; in wf2qp_new_queue() 314 if (_q->mq.head != NULL) { in wf2qp_new_queue() 315 wf2qp_enqueue(_q->_si, _q, _q->mq.head); in wf2qp_new_queue()
|
| H A D | dn_sched_qfq.c | 187 struct dn_queue _q; member 282 qfq_new_queue(struct dn_queue *_q) in qfq_new_queue() argument 284 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_new_queue() 285 struct qfq_class *cl = (struct qfq_class *)_q; in qfq_new_queue() 292 w = _q->fs->fs.par[0]; in qfq_new_queue() 293 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue() 313 qfq_free_queue(struct dn_queue *_q) in qfq_free_queue() argument 315 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_free_queue() 316 struct qfq_class *cl = (struct qfq_class *)_q; in qfq_free_queue() 509 if (cl->_q.mq.head == NULL) { in qfq_update_class() [all …]
|
| H A D | dn_sched_fq_codel.c | 288 fq_codel_enqueue(struct dn_sch_inst *_si, struct dn_queue *_q, in fq_codel_enqueue() argument
|
| /freebsd/sys/dev/iavf/ |
| H A D | iavf_osdep.h | 88 #define UNREFERENCED_2PARAMETER(_p, _q) do { \ argument 90 UNREFERENCED_PARAMETER(_q); \ 92 #define UNREFERENCED_3PARAMETER(_p, _q, _r) do { \ argument 94 UNREFERENCED_PARAMETER(_q); \ 97 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument 99 UNREFERENCED_PARAMETER(_q); \ 103 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument 105 UNREFERENCED_PARAMETER(_q); \
|
| /freebsd/contrib/elftoolchain/common/ |
| H A D | _elftc.h | 217 struct type *_p, *_q, *_e; \ 239 _q = STAILQ_FIRST((head)); \ 240 while (_psz > 0 || (_qsz > 0 && _q != NULL)) { \ 242 _e = _q; \ 243 _q = STAILQ_NEXT(_q, field); \ 247 } else if (_qsz == 0 || _q == NULL) { \ 252 } else if (cmp(_p, _q) <= 0) { \ 258 _e = _q; \ 259 _q = STAILQ_NEXT(_q, field); \
|
| /freebsd/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_pcivar.h | 91 #define BHNDB_PCI_IS_QUIRK_END(_q) \ argument 92 (BHND_MATCH_IS_ANY(&(_q)->core_desc) && \ 93 BHND_MATCH_IS_ANY(&(_q)->chip_desc) && \ 94 (_q)->quirks == 0)
|
| /freebsd/contrib/elftoolchain/libelf/ |
| H A D | libelf_convert.m4 | 587 const unsigned char *const _q = (unsigned char *) &_t; \ 588 _p[0] = _q[0]; \ 589 _p[1] = _q[1]; \ 595 const unsigned char *const _q = (unsigned char *) &_t; \ 596 _p[0] = _q[0]; \ 597 _p[1] = _q[1]; \ 598 _p[2] = _q[2]; \ 599 _p[3] = _q[3]; \ 608 const unsigned char *const _q = (unsigned char *) &_t; \ 609 _p[0] = _q[0]; \ [all …]
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_osdep.h | 175 #define UNREFERENCED_2PARAMETER(_p, _q) do { \ argument 177 UNREFERENCED_PARAMETER(_q); \ 179 #define UNREFERENCED_3PARAMETER(_p, _q, _r) do { \ argument 181 UNREFERENCED_PARAMETER(_q); \ 184 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument 186 UNREFERENCED_PARAMETER(_q); \ 190 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument 192 UNREFERENCED_PARAMETER(_q); \
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | skbuff.h | 539 #define skb_queue_walk(_q, skb) \ argument 540 for ((skb) = (_q)->next; (skb) != (struct sk_buff *)(_q); \ 543 #define skb_queue_walk_safe(_q, skb, tmp) \ argument 544 for ((skb) = (_q)->next, (tmp) = (skb)->next; \ 545 (skb) != (struct sk_buff *)(_q); (skb) = (tmp), (tmp) = (skb)->next) 547 #define skb_list_walk_safe(_q, skb, tmp) \ argument 548 for ((skb) = (_q), (tmp) = ((skb) != NULL) ? (skb)->next ? NULL; \ 835 struct sk_buff_head _q; in skb_queue_purge() local 843 __skb_queue_head_init(&_q); in skb_queue_purge() 845 skb_queue_splice_init(q, &_q); in skb_queue_purge() [all …]
|
| /freebsd/sys/dev/ixl/ |
| H A D | i40e_osdep.h | 80 #define UNREFERENCED_2PARAMETER(_p, _q) argument 81 #define UNREFERENCED_3PARAMETER(_p, _q, _r) argument 82 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument 83 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) argument
|
| /freebsd/crypto/openssl/crypto/ffc/ |
| H A D | ffc_dh.c | 22 &ossl_bignum_ffdhe##sz##_q, \ 30 &ossl_bignum_modp_##sz##_p, &ossl_bignum_modp_##sz##_q, \ 38 &ossl_bignum_dh##tag##_p, &ossl_bignum_dh##tag##_q, \
|
| /freebsd/sys/netpfil/ipfw/test/ |
| H A D | main.c | 171 struct dn_queue *_q = FI2Q(c, mb->flow_id); in gnet_stats_enq() local 173 if (_q->ni.length == 1) { in gnet_stats_enq() 174 _q->ni.bytes = 0; in gnet_stats_enq() 175 _q->ni.sch_bytes = si->ni.bytes; in gnet_stats_enq() 183 struct dn_queue *_q = FI2Q(c, mb->flow_id); in gnet_stats_deq() local 186 _q->ni.bytes += len; in gnet_stats_deq() 189 if (_q->ni.length == 0) { in gnet_stats_deq() 190 double bytes = (double)_q->ni.bytes; in gnet_stats_deq() 191 double sch_bytes = (double)si->ni.bytes - _q->ni.sch_bytes; in gnet_stats_deq() 192 double weight = (double)_q->fs->fs.par[0] / c->wsum; in gnet_stats_deq()
|
| H A D | test_dn_sched.c | 34 dn_delete_queue(void *_q, void *do_free) in dn_delete_queue() argument 36 struct dn_queue *q = _q; in dn_delete_queue()
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_osdep.h | 126 #define UNREFERENCED_2PARAMETER(_p, _q) argument 127 #define UNREFERENCED_3PARAMETER(_p, _q, _r) argument 128 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument 129 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) argument
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | feature.h | 85 #define BRCMF_QUIRK_DEF(_q) \ argument 86 BRCMF_FEAT_QUIRK_ ## _q,
|
| H A D | feature.c | 54 #define BRCMF_QUIRK_DEF(_q) \ argument 55 #_q,
|
| /freebsd/sys/dev/ath/ |
| H A D | if_athvar.h | 1120 #define ath_hal_puttxbuf(_ah, _q, _bufaddr) \ argument 1121 ((*(_ah)->ah_setTxDP)((_ah), (_q), (_bufaddr))) 1122 #define ath_hal_gettxbuf(_ah, _q) \ argument 1123 ((*(_ah)->ah_getTxDP)((_ah), (_q))) 1124 #define ath_hal_numtxpending(_ah, _q) \ argument 1125 ((*(_ah)->ah_numTxPending)((_ah), (_q))) 1128 #define ath_hal_txstart(_ah, _q) \ argument 1129 ((*(_ah)->ah_startTxDma)((_ah), (_q))) 1171 #define ath_hal_resettxqueue(_ah, _q) \ argument 1172 ((*(_ah)->ah_resetTxQueue)((_ah), (_q))) [all …]
|
| /freebsd/crypto/openssl/apps/ |
| H A D | testdsa.h | 227 st.q = dsa##bits##_q; \ 232 st.q_l = sizeof(dsa##bits##_q); \
|
| /freebsd/sys/dev/xen/netfront/ |
| H A D | netfront.c | 244 #define XN_RX_LOCK(_q) mtx_lock(&(_q)->lock) argument 245 #define XN_RX_UNLOCK(_q) mtx_unlock(&(_q)->lock) argument 247 #define XN_TX_LOCK(_q) mtx_lock(&(_q)->lock) argument 248 #define XN_TX_TRYLOCK(_q) mtx_trylock(&(_q)->lock) argument 249 #define XN_TX_UNLOCK(_q) mtx_unlock(&(_q)->lock) argument 255 #define XN_RX_LOCK_ASSERT(_q) mtx_assert(&(_q)->lock, MA_OWNED); argument 256 #define XN_TX_LOCK_ASSERT(_q) mtx_assert(&(_q)->lock, MA_OWNED); argument
|
| /freebsd/crypto/openssl/crypto/dh/ |
| H A D | dh_rfc5114.c | 37 dh->params.q = BN_dup(&ossl_bignum_dh##x##_q); \
|
| /freebsd/crypto/openssl/include/crypto/ |
| H A D | bn_dh.h | 12 extern const BIGNUM ossl_bignum_dh##x##_q; \
|
| /freebsd/sys/dev/bhnd/ |
| H A D | bhnd.h | 373 #define BHND_DEVICE_QUIRK_IS_END(_q) \ argument 374 (((_q)->desc.m.match_flags == 0) && (_q)->quirks == 0)
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | glob.c | 603 compare_gps(const void *_p, const void *_q) argument 606 const struct glob_path_stat *q = (const struct glob_path_stat *)_q;
|