Home
last modified time | relevance | path

Searched refs:qlen (Results 1 – 25 of 44) sorted by relevance

12

/f-stack/dpdk/examples/qos_sched/
H A Dstats.c16 uint16_t qlen; in qavg_q() local
45 average += qlen; in qavg_q()
62 uint16_t qlen; in qavg_tcpipe() local
92 &stats, &qlen); in qavg_tcpipe()
97 &stats, &qlen); in qavg_tcpipe()
117 uint16_t qlen; in qavg_pipe() local
145 &stats, &qlen); in qavg_pipe()
164 uint16_t qlen; in qavg_tcsubport() local
197 &stats, &qlen); in qavg_tcsubport()
234 uint16_t qlen; in qavg_subport() local
[all …]
/f-stack/freebsd/net/altq/
H A Daltq_classq.h72 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro
107 qlen(q)++; in _addq()
122 qlen(q)--; in _getq()
145 qlen(q)--; in _getq_tail()
164 n = random() % qlen(q) + 1; in _getq_random()
173 qlen(q)--; in _getq_random()
193 qlen(q)--; in _removeq()
H A Daltq_rio.c356 avg += (prec->qlen << FP_SHIFT) - (avg >> rp->rio_wshift); in rio_addq()
370 if (avg >= prec->th_min_s && prec->qlen > 1) { in rio_addq()
391 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q)) in rio_addq()
410 rp->rio_precstate[i].qlen++; in rio_addq()
440 if (--rp->rio_precstate[i].qlen == 0) { in rio_getq()
H A Daltq_rmclass.c243 qlen(cl->q_) = 0; in rmc_newclass()
1434 ASSERT(qlen(cl->q_) > 0); in rmc_drop_action()
1727 qlen(q)++; in _addq()
1740 ASSERT(qlen(q) == 1); in _getq()
1743 qlen(q)--; in _getq()
1762 ASSERT(qlen(q) == 1); in _getq_tail()
1766 qlen(q)--; in _getq_tail()
1781 ASSERT(qlen(q) == 1); in _getq_random()
1795 qlen(q)--; in _getq_random()
1815 qlen(q)--; in _removeq()
[all …]
H A Daltq_rio.h62 int qlen; /* queue length */ member
H A Daltq_red.c319 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); in red_addq()
330 if (avg >= rp->red_thmin_s && qlen(q) > 1) { in red_addq()
361 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q)) in red_addq()
H A Daltq_priq.c315 qlen(cl->cl_q) = 0; in priq_class_create()
545 if (qlen(cl->cl_q) >= qlimit(cl->cl_q)) { in priq_addq()
595 ASSERT(qlen(cl->cl_q) == 0); in priq_purgeq()
602 sp->qlength = qlen(cl->cl_q); in get_class_stats()
H A Daltq_codel.c120 qlen(cif->cl_q) = 0; in codel_add_altq()
132 cif->cl_stats.qlength = qlen(cif->cl_q); in codel_add_altq()
289 if (qlen(q) < qlimit(q)) { in codel_addq()
H A Daltq_fairq.c668 if (qlen(&b->queue) >= qlimit(&b->queue)) { in fairq_addq()
851 ASSERT(qlen(&b->queue) == 0); in fairq_purgeq()
870 sp->qlength += qlen(&b->queue); in get_class_stats()
/f-stack/freebsd/net80211/
H A Dieee80211_power.c132 ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen) in ieee80211_node_psq_dequeue() argument
155 if (qlen != NULL) in ieee80211_node_psq_dequeue()
156 *qlen = psq->psq_len; in ieee80211_node_psq_dequeue()
185 int qlen; in psq_drain() local
188 qlen = psq->psq_len; in psq_drain()
204 return qlen; in psq_drain()
332 int qlen, age; in ieee80211_pwrsave() local
399 qlen = ++(psq->psq_len); in ieee80211_pwrsave()
403 "save frame with age %d, %u now queued", age, qlen); in ieee80211_pwrsave()
405 if (qlen == 1 && vap->iv_set_tim != NULL) in ieee80211_pwrsave()
H A Dieee80211_power.h73 struct mbuf *ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen);
/f-stack/freebsd/amd64/vmm/amd/
H A Damdvi_hw.c146 int qlen = -1; in amdvi_find_ats_qlen() local
158 qlen = (cap & 0x1F); in amdvi_find_ats_qlen()
159 qlen = qlen ? qlen : 32; in amdvi_find_ats_qlen()
163 qlen); in amdvi_find_ats_qlen()
164 qlen = (cap & PCIM_ATS_EN) ? qlen : -1; in amdvi_find_ats_qlen()
167 return (qlen); in amdvi_find_ats_qlen()
177 int qlen, i; in amdvi_dev_support_iotlb() local
181 if (qlen < 0) in amdvi_dev_support_iotlb()
377 int qlen; in amdvi_cmd_inv_iotlb() local
383 if (qlen < 0) { in amdvi_cmd_inv_iotlb()
[all …]
/f-stack/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_hw_access.c507 int ret = -ENOENT, len, qlen, i; in otx_cpt_get_resource() local
530 qlen = chunks * chunk_len; in otx_cpt_get_resource()
538 len += qlen * sizeof(uintptr_t); in otx_cpt_get_resource()
566 ret = otx_cpt_metabuf_mempool_create(dev, cpt_instance, qp_id, qlen); in otx_cpt_get_resource()
578 mem += qlen * sizeof(uintptr_t); in otx_cpt_get_resource()
579 len -= qlen * sizeof(uintptr_t); in otx_cpt_get_resource()
580 dma_addr += qlen * sizeof(uintptr_t); in otx_cpt_get_resource()
590 i = qlen; in otx_cpt_get_resource()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_dns_pxy.c237 ipf_p_dns_match_names(idns, query, qlen) in ipf_p_dns_match_names() argument
240 int qlen;
248 if (blen > qlen)
251 if (blen == qlen)
252 return strncasecmp(base, query, qlen);
268 return strncasecmp(base, query + qlen - blen, blen);
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_aqm_pie.h109 drop_early(struct pie_status *pst, uint32_t qlen) in drop_early() argument
119 || qlen <= 2 * MEAN_PKTSIZE) in drop_early()
H A Ddn_aqm_pie.c482 uint32_t qlen; in aqm_pie_enqueue() local
501 qlen = (f->flags & DN_QSIZE_BYTES) ? in aqm_pie_enqueue()
505 if (qlen >= f->qsize) in aqm_pie_enqueue()
523 if (!(pst->sflags & PIE_ACTIVE) && qlen >= pst->one_third_q_size) { in aqm_pie_enqueue()
532 if ((pprms->flags & PIE_ON_OFF_MODE_ENABLED) && qlen<=0) in aqm_pie_enqueue()
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_lan_hmc.h24 u16 qlen; member
64 u16 qlen; member
/f-stack/dpdk/app/test/
H A Dtest_sched.c196 uint16_t qlen; in test_sched() local
197 rte_sched_queue_read_stats(port, QUEUE, &queue_stats, &qlen); in test_sched()
/f-stack/freebsd/netgraph/bluetooth/include/
H A Dng_ubt.h74 int32_t qlen; /* queue length */ member
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_resolver.c1296 u_char *query, u_short qlen) in ngx_resolver_send_udp_query() argument
1316 if ((size_t) n != (size_t) qlen) { in ngx_resolver_send_udp_query()
1334 u_char *query, u_short qlen) in ngx_resolver_send_tcp_query() argument
1401 if (b->end - b->last < 2 + qlen) { in ngx_resolver_send_tcp_query()
1406 *b->last++ = (u_char) (qlen >> 8); in ngx_resolver_send_tcp_query()
1407 *b->last++ = (u_char) qlen; in ngx_resolver_send_tcp_query()
1638 u_short qlen; in ngx_resolver_tcp_read() local
1671 qlen += *p++; in ngx_resolver_tcp_read()
1679 b->pos += 2 + qlen; in ngx_resolver_tcp_read()
3635 rn->qlen = (u_short) len; in ngx_resolver_create_name_query()
[all …]
H A Dngx_resolver.h105 u_short qlen; member
/f-stack/dpdk/lib/librte_sched/
H A Drte_sched.h455 uint16_t *qlen);
H A Drte_sched.c1640 uint16_t *qlen) in rte_sched_queue_read_stats() argument
1666 if (qlen == NULL) { in rte_sched_queue_read_stats()
1684 *qlen = q->qw - q->qr; in rte_sched_queue_read_stats()
1788 uint16_t qlen) in rte_sched_port_red_drop() argument
1806 return rte_red_enqueue(red_cfg, red, qlen, port->time); in rte_sched_port_red_drop()
1825 uint16_t qlen __rte_unused) in rte_sched_port_red_drop()
1921 uint16_t qlen; in rte_sched_port_enqueue_qwa() local
1925 qlen = q->qw - q->qr; in rte_sched_port_enqueue_qwa()
1929 (qlen >= qsize))) { in rte_sched_port_enqueue_qwa()
1933 qindex, pkt, qlen < qsize); in rte_sched_port_enqueue_qwa()
[all …]
/f-stack/freebsd/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c1691 int error = 0, queue, qlen; in ng_ubt_rcvmsg() local
1758 qlen = ((ng_ubt_node_qlen_ep *) (msg->data))->qlen; in ng_ubt_rcvmsg()
1779 q->maxlen = qlen; in ng_ubt_rcvmsg()
1817 ((ng_ubt_node_qlen_ep *) (rsp->data))->qlen = q->maxlen; in ng_ubt_rcvmsg()
/f-stack/freebsd/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c785 int qlen; local
815 qlen = _IF_QLEN(&sc->outq);
823 if (qlen == 1) {

12