Home
last modified time | relevance | path

Searched refs:_q (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_rr.c256 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 Ddn_sched_wf2q.c98 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 Ddn_sched_qfq.c207 struct dn_queue _q; member
302 qfq_new_queue(struct dn_queue *_q) in qfq_new_queue() argument
304 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_new_queue()
305 struct qfq_class *cl = (struct qfq_class *)_q; in qfq_new_queue()
312 w = _q->fs->fs.par[0]; in qfq_new_queue()
313 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue()
333 qfq_free_queue(struct dn_queue *_q) in qfq_free_queue() argument
335 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_free_queue()
336 struct qfq_class *cl = (struct qfq_class *)_q; in qfq_free_queue()
529 if (cl->_q.mq.head == NULL) { in qfq_update_class()
[all …]
H A Ddn_sched_fq_codel.c288 fq_codel_enqueue(struct dn_sch_inst *_si, struct dn_queue *_q, in fq_codel_enqueue() argument
H A Dip_dummynet.c703 q_cleanup_q(void *_q, void *arg) in q_cleanup_q() argument
705 struct dn_queue *q = _q; in q_cleanup_q()
2447 drain_queue_cb(void *_q, void *arg) in drain_queue_cb() argument
2449 struct dn_queue *q = _q; in drain_queue_cb()
/freebsd/sys/dev/iavf/
H A Diavf_osdep.h88 #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.h217 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 Dbhndb_pcivar.h91 #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 Dlibelf_convert.m4587 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 Dice_osdep.h174 #define UNREFERENCED_2PARAMETER(_p, _q) do { \ argument
176 UNREFERENCED_PARAMETER(_q); \
178 #define UNREFERENCED_3PARAMETER(_p, _q, _r) do { \ argument
180 UNREFERENCED_PARAMETER(_q); \
183 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument
185 UNREFERENCED_PARAMETER(_q); \
189 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument
191 UNREFERENCED_PARAMETER(_q); \
/freebsd/sys/dev/ixl/
H A Di40e_osdep.h80 #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 Dffc_dh.c20 &ossl_bignum_ffdhe##sz##_p, &ossl_bignum_ffdhe##sz##_q, \
28 &ossl_bignum_modp_##sz##_p, &ossl_bignum_modp_##sz##_q, \
36 &ossl_bignum_dh##tag##_p, &ossl_bignum_dh##tag##_q, \
/freebsd/sys/netpfil/ipfw/test/
H A Dmain.c171 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 Dtest_dn_sched.c34 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/contrib/dev/mediatek/mt76/
H A Ddma.c16 #define Q_READ(_dev, _q, _field) ({ \ argument
19 if ((_q)->flags & MT_QFLAG_WED) \
21 ((_q)->wed_regs + \
24 _val = readl(&(_q)->regs->_field); \
28 #define Q_WRITE(_dev, _q, _field, _val) do { \ argument
30 if ((_q)->flags & MT_QFLAG_WED) \
32 ((_q)->wed_regs + _offset), \
35 writel(_val, &(_q)->regs->_field); \
40 #define Q_READ(_dev, _q, _field) readl(&(_q)->regs->_field) argument
41 #define Q_WRITE(_dev, _q, _field, _val) writel(_val, &(_q)->regs->_field) argument
/freebsd/sys/dev/ath/
H A Dif_athvar.h1120 #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/sys/compat/linuxkpi/common/include/linux/
H A Dskbuff.h280 #define skb_list_walk_safe(_q, skb, tmp) \ argument
281 for ((skb) = (_q)->next; (skb) != NULL && ((tmp) = (skb)->next); (skb) = (tmp))
512 #define skb_queue_walk(_q, skb) \ argument
513 for ((skb) = (_q)->next; (skb) != (struct sk_buff *)(_q); \
516 #define skb_queue_walk_safe(_q, skb, tmp) \ argument
517 for ((skb) = (_q)->next, (tmp) = (skb)->next; \
518 (skb) != (struct sk_buff *)(_q); (skb) = (tmp), (tmp) = (skb)->next)
/freebsd/sys/dev/ixgbe/
H A Dixgbe_osdep.h126 #define UNREFERENCED_2PARAMETER(_p, _q) argument
127 #define UNREFERENCED_3PARAMETER(_p, _q, _r) argument
128 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument
/freebsd/crypto/openssl/apps/
H A Dtestdsa.h208 st.q = dsa##bits##_q; \
213 st.q_l = sizeof(dsa##bits##_q); \
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c244 #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 Ddh_rfc5114.c37 dh->params.q = BN_dup(&ossl_bignum_dh##x##_q); \
/freebsd/crypto/openssl/include/crypto/
H A Dbn_dh.h12 extern const BIGNUM ossl_bignum_dh##x##_q; \
/freebsd/sys/dev/bhnd/
H A Dbhnd.h373 #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 Dglob.c605 compare_gps(const void *_p, const void *_q) argument
608 const struct glob_path_stat *q = (const struct glob_path_stat *)_q;
/freebsd/sys/dev/netmap/
H A Dnetmap_kern.h1373 #define netmap_tx_irq(_n, _q) netmap_rx_irq(_n, _q, NULL) argument

12