Searched refs:qlen (Results 51 - 75 of 161) sorted by relevance

1234567

/linux-master/net/sched/
H A Dsch_teql.c81 if (q->q.qlen < dev->tx_queue_len) {
110 sch->q.qlen = dat->q.qlen + q->q.qlen;
H A Dsch_etf.c192 sch->q.qlen++;
225 sch->q.qlen--;
250 sch->q.qlen--;
429 sch->q.qlen--;
H A Dsch_fq_codel.c180 sch->q.qlen -= i;
217 if (++sch->q.qlen <= sch->limit && !memory_limited)
221 prev_qlen = sch->q.qlen;
232 prev_qlen -= sch->q.qlen;
267 sch->q.qlen--;
317 /* We cant call qdisc_tree_reduce_backlog() if our qlen is 0,
320 if (q->cstats.drop_count && sch->q.qlen) {
434 while (sch->q.qlen > sch->limit ||
661 qs.qlen++;
669 if (gnet_stats_copy_queue(d, NULL, &qs, qs.qlen) <
[all...]
H A Dsch_fifo.c31 if (likely(sch->q.qlen < sch->limit))
42 if (likely(sch->q.qlen < sch->limit))
H A Dsch_ets.c293 if (!ets_class_is_strict(q, cl) && sch->q.qlen)
427 first = !cl->qdisc->q.qlen;
443 sch->q.qlen++;
452 sch->q.qlen--;
488 if (cl->qdisc->q.qlen == 0)
651 if (q->classes[i].qdisc->q.qlen) {
657 if (i >= q->nstrict && q->classes[i].qdisc->q.qlen)
713 if (q->classes[band].qdisc->q.qlen)
H A Dsch_mqprio.c564 sch->q.qlen = 0;
581 sch->q.qlen += qdisc_qlen(qdisc);
670 __u32 qlen; variable
695 sch->q.qlen += qdisc_qlen(qdisc);
699 qlen = qdisc_qlen(sch) + qstats.qlen;
705 gnet_stats_copy_queue(d, NULL, &qstats, qlen) < 0)
H A Dsch_qfq.c322 if (cl->qdisc->q.qlen > 0) { /* adding an active class */
371 if (cl->qdisc->q.qlen > 0) /* class is active */
987 if (cl->qdisc->q.qlen == 0) /* no more packets, remove from list */
1125 } else if (sch->q.qlen == 0) { /* no aggregate to serve */
1140 sch->q.qlen--;
1145 sch->q.qlen++;
1242 first = !cl->qdisc->q.qlen;
1255 ++sch->q.qlen;
1471 if (cl->qdisc->q.qlen > 0)
H A Dsch_mq.c134 sch->q.qlen = 0;
151 sch->q.qlen += qdisc_qlen(qdisc);
H A Dsch_hfsc.c748 if (cl->qdisc->q.qlen == 0 && cl->cl_flags & HFSC_FSC)
991 if (cl->qdisc->q.qlen != 0) {
1337 __u32 qlen; local
1339 qdisc_qstats_qlen_backlog(cl->qdisc, &qlen, &cl->qstats.backlog);
1347 gnet_stats_copy_queue(d, NULL, &cl->qstats, qlen) < 0)
1554 first = !cl->qdisc->q.qlen;
1580 sch->q.qlen++;
1595 if (sch->q.qlen == 0)
1633 if (cl->qdisc->q.qlen != 0) {
1648 sch->q.qlen
[all...]
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptpf_mbox.c117 vfx->qlen = mbx.data;
118 cpt_cfg_qlen_for_vf(cpt, vf, vfx->qlen);
H A Dcptvf_reqmanager.c13 * @qlen: queue length
16 int qlen)
27 if (unlikely(q->rear == qlen))
40 if (unlikely(queue->front == pqinfo->qlen))
485 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen);
15 get_free_pending_entry(struct pending_queue *q, int qlen) argument
/linux-master/include/crypto/
H A Dalgapi.h120 unsigned int qlen; member in struct:crypto_queue
179 return queue->qlen;
/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_reqmgr.c266 static inline bool cmdq_full(struct nitrox_cmdq *cmdq, int qlen) argument
268 if (atomic_inc_return(&cmdq->pending_count) > qlen) {
310 cmdq->write_idx = incr_index(idx, 1, ndev->qlen);
331 if (unlikely(cmdq_full(cmdq, ndev->qlen))) {
357 if (unlikely(cmdq_full(cmdq, ndev->qlen))) {
H A Dnitrox_dev.h223 * @qlen: Command queue length
249 u16 qlen; member in struct:nitrox_device
/linux-master/drivers/scsi/fcoe/
H A Dfcoe_transport.c390 * transmitted it returns the qlen. If an error occurs it restores
411 while (port->fcoe_pending_queue.qlen) {
412 /* keep qlen > 0 until fcoe_start_io succeeds */
413 port->fcoe_pending_queue.qlen++;
423 port->fcoe_pending_queue.qlen--;
427 port->fcoe_pending_queue.qlen--;
430 if (port->fcoe_pending_queue.qlen < port->min_queue_depth)
432 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer))
436 if (port->fcoe_pending_queue.qlen > port->max_queue_depth)
/linux-master/crypto/
H A Dalgapi.c946 queue->qlen = 0;
956 if (unlikely(queue->qlen >= queue->max_qlen)) {
966 queue->qlen++;
977 if (unlikely(queue->qlen >= queue->max_qlen))
980 queue->qlen++;
989 if (unlikely(!queue->qlen))
992 queue->qlen--;
/linux-master/fs/adfs/
H A Ddir.c332 static int __adfs_compare(const unsigned char *qstr, u32 qlen, argument
337 if (qlen != len)
340 for (i = 0; i < qlen; i++)
/linux-master/net/ipv4/
H A Dtcp_fastopen.c253 queue->fastopenq.qlen++;
308 * between qlen overflow causing Fast Open to be disabled
316 if (fastopenq->qlen >= max_qlen) {
327 fastopenq->qlen--;
/linux-master/net/caif/
H A Dcaif_dev.c170 int err, high = 0, qlen = 0; local
203 if (!(sch->flags & TCQ_F_NOLOCK) && likely(sch->q.qlen < high))
223 qlen, high);
/linux-master/sound/core/seq/oss/
H A Dseq_oss_ioctl.c104 return put_user(dp->readq->qlen, p) ? -EFAULT : 0;
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.h153 u32 qlen; /* Queue length */ member in struct:otx_cpt_pending_queue
/linux-master/net/sunrpc/
H A Dsysfs.c155 xprt->min_reqs, xprt->num_reqs, xprt->binding.qlen,
156 xprt->sending.qlen, xprt->pending.qlen,
157 xprt->backlog.qlen, xprt->main, srcport,
/linux-master/net/unix/
H A Ddiag.c72 sk->sk_receive_queue.qlen * sizeof(u32));
107 rql.udiag_rqueue = sk->sk_receive_queue.qlen;
/linux-master/net/netfilter/
H A Dnfnetlink_log.c65 unsigned int qlen; /* number of nlmsgs in skb */ member in struct:nfulnl_instance
363 if (inst->qlen > 1) {
376 inst->qlen = 0;
803 inst->qlen++;
809 if (inst->qlen >= qthreshold)
1101 inst->peer_portid, inst->qlen,
/linux-master/drivers/usb/gadget/function/
H A Df_midi.c95 unsigned int buflen, qlen; member in struct:f_midi
396 for (i = 0; i < midi->qlen && err == 0; i++) {
1173 F_MIDI_OPT(qlen, false, 0);
1274 opts->qlen = 32;
1366 midi->qlen = opts->qlen;
1370 status = kfifo_alloc(&midi->in_req_fifo, midi->qlen, GFP_KERNEL);

Completed in 262 milliseconds

1234567