/linux-master/drivers/usb/gadget/function/ |
H A D | u_midi.h | 26 unsigned int qlen; member in struct:f_midi_opts
|
H A D | g_zero.h | 24 unsigned qlen; member in struct:usb_zero_options 53 unsigned qlen; member in struct:f_lb_opts
|
H A D | f_loopback.c | 34 unsigned qlen; member in struct:f_loopback 278 * of requests it submitted (just maintains qlen count), we 317 * we buffer at most 'qlen' transfers; We allocate buffers only 321 for (i = 0; i < loop->qlen && result == 0; i++) { 439 loop->qlen = lb_opts->qlen; 440 if (!loop->qlen) 441 loop->qlen = 32; 477 result = sprintf(page, "%d\n", opts->qlen); 500 opts->qlen [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_readq.c | 48 q->qlen = 0; 76 if (q->qlen) { 77 q->qlen = 0; 146 if (q->qlen >= q->maxlen - 1) { 153 q->qlen++; 171 if (q->qlen == 0) 184 (q->qlen > 0 || q->head == q->tail), 195 if (q->qlen > 0) { 197 q->qlen--; 209 return q->qlen; [all...] |
H A D | seq_oss_readq.h | 20 int qlen; member in struct:seq_oss_readq
|
/linux-master/net/core/ |
H A D | request_sock.c | 38 queue->fastopenq.qlen = 0; 72 * The lock also protects other fields such as fastopenq->qlen, which is 98 fastopenq->qlen--; 114 * TFO when the qlen exceeds max_qlen. 126 fastopenq->qlen++;
|
H A D | gen_stats.c | 348 qstats->qlen += qcpu->qlen; 363 qstats->qlen += q->qlen; 377 * @qlen: queue length statistics 389 struct gnet_stats_queue *q, __u32 qlen) 394 qstats.qlen = qlen; 398 d->tc_stats.qlen = qstats.qlen; 387 gnet_stats_copy_queue(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | srq.h | 46 u8 qlen; member in struct:srq_entry
|
/linux-master/include/sound/ |
H A D | seq_midi_event.h | 18 int qlen; /* queue length */ member in struct:snd_midi_event
|
/linux-master/include/uapi/linux/ |
H A D | gen_stats.h | 53 * @qlen: queue length 60 __u32 qlen; member in struct:gnet_stats_queue
|
/linux-master/net/sched/ |
H A D | sch_sfq.c | 103 sfq_index qlen; /* number of skbs in skblist */ member in struct:sfq_slot 207 int qlen = slot->qlen; local 209 p = qlen + SFQ_MAX_FLOWS; 210 n = q->dep[qlen].next; 215 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */ 235 d = q->slots[x].qlen--; 248 d = ++q->slots[x].qlen; 310 sch->q.qlen--; 350 sfq_index x, qlen; local 631 unsigned int qlen, dropped = 0; local [all...] |
H A D | sch_sfb.c | 40 u16 qlen; /* length of virtual queue */ member in struct:sfb_bucket 132 if (b[hash].qlen < 0xFFFF) 133 b[hash].qlen++; 161 if (b[hash].qlen > 0) 162 b[hash].qlen--; 196 * compute max qlen, max p_mark, and avg p_mark 201 u32 qlen = 0, prob = 0, totalpm = 0; local 205 if (qlen < b->qlen) 206 qlen [all...] |
H A D | sch_skbprio.c | 82 if (sch->q.qlen < sch->limit) { 94 sch->q.qlen++; 125 BUG_ON(sch->q.qlen != 1); 148 sch->q.qlen--; 157 BUG_ON(sch->q.qlen); 255 q->qstats[cl - 1].qlen) < 0)
|
H A D | sch_codel.c | 68 /* We cant call qdisc_tree_reduce_backlog() if our qlen is 0, 71 if (q->stats.drop_count && sch->q.qlen) { 108 unsigned int qlen, dropped = 0; local 142 qlen = sch->q.qlen; 143 while (sch->q.qlen > sch->limit) { 150 qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped);
|
/linux-master/drivers/md/ |
H A D | dm-ps-queue-length.c | 40 atomic_t qlen; /* the number of in-flight I/Os */ member in struct:path_info 101 DMEMIT("%d ", atomic_read(&pi->qlen)); 153 atomic_set(&pi->qlen, 0); 204 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) 207 if (!atomic_read(&best->qlen)) 228 atomic_inc(&pi->qlen); 238 atomic_dec(&pi->qlen);
|
/linux-master/include/net/ |
H A D | sch_generic.h | 69 __u32 qlen; member in struct:qdisc_skb_head 187 return !READ_ONCE(qdisc->q.qlen); 515 return q->q.qlen; 520 __u32 qlen = q->qstats.qlen; local 525 qlen += per_cpu_ptr(q->cpu_qstats, i)->qlen; 527 qlen += q->q.qlen; 530 return qlen; 950 __u32 qlen = qdisc_qlen_sum(sch); local 955 qdisc_qstats_qlen_backlog(struct Qdisc *sch, __u32 *qlen, __u32 *backlog) argument 967 __u32 qlen, backlog; local 975 __u32 qlen, backlog; local [all...] |
H A D | request_sock.h | 186 * qlen - pending TFO requests (still in TCP_SYN_RECV). 206 int qlen; /* # of pending (TCP_SYN_RECV) reqs */ member in struct:fastopen_queue 224 atomic_t qlen; member in struct:request_sock_queue 266 atomic_dec(&queue->qlen); 272 atomic_inc(&queue->qlen); 277 return atomic_read(&queue->qlen);
|
/linux-master/drivers/usb/gadget/legacy/ |
H A D | gmidi.c | 52 static unsigned int qlen = 32; variable 53 module_param(qlen, uint, S_IRUGO); 54 MODULE_PARM_DESC(qlen, "USB read and write request queue length"); 156 midi_opts->qlen = qlen;
|
H A D | printer.c | 51 static unsigned qlen = 10; variable 52 module_param(qlen, uint, S_IRUGO|S_IWUSR); 53 MODULE_PARM_DESC(qlen, "The number of 8k buffers to use per endpoint"); 55 #define QLEN qlen
|
/linux-master/include/trace/events/ |
H A D | rcu.h | 514 TP_PROTO(const char *rcuname, struct rcu_head *rhp, long qlen), 516 TP_ARGS(rcuname, rhp, qlen), 522 __field(long, qlen) 529 __entry->qlen = qlen; 534 __entry->qlen) 574 long qlen), 576 TP_ARGS(rcuname, rhp, offset, qlen), 582 __field(long, qlen) 589 __entry->qlen [all...] |
/linux-master/sound/core/seq/ |
H A D | seq_midi_event.c | 50 int qlen; member in struct:status_event_list 141 dev->qlen = 0; 193 dev->qlen = status_event[dev->type].qlen; 195 if (dev->qlen > 0) { 199 dev->qlen--; 203 dev->qlen = status_event[dev->type].qlen - 1; 207 if (dev->qlen == 0) { 312 int qlen; local [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptpf.h | 39 u32 qlen; member in struct:cpt_vf_info
|
/linux-master/drivers/nfc/st-nci/ |
H A D | ndlc.c | 94 if (ndlc->send_q.qlen) 96 ndlc->send_q.qlen, ndlc->ack_pending_q.qlen); 98 while (ndlc->send_q.qlen) { 153 if (ndlc->rcv_q.qlen) 154 pr_debug("rcvQlen=%d\n", ndlc->rcv_q.qlen);
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | repair.c | 42 static void test_sock_checkpoint_queue(int sk, int queue, int qlen, argument 56 if (!qlen) { 61 q->buf = malloc(qlen); 64 ret = recv(sk, q->buf, qlen, MSG_PEEK | MSG_DONTWAIT); 65 if (ret != qlen) 66 test_error("recv(%d): %d", qlen, ret);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_debugfs.c | 75 u32 ctrl, val, qlen = 0; local 86 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, 89 seq_printf(s, "AC%d: queued=%d\n", i, qlen);
|