/drivers/tty/hvc/ |
H A D | hvc_beat.c | 46 static int qlen = 0; local 50 if (qlen) { 51 if (qlen > cnt) { 53 qlen -= cnt; 54 memmove(q + cnt, q, qlen); 56 } else { /* qlen <= cnt */ 59 memcpy(buf, q, qlen); 60 r = qlen; 61 qlen = 0; 67 qlen [all...] |
/drivers/md/ |
H A D | dm-queue-length.c | 38 atomic_t qlen; /* the number of in-flight I/Os */ member in struct:path_info 98 DMEMIT("%d ", atomic_read(&pi->qlen)); 140 atomic_set(&pi->qlen, 0); 184 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) 187 if (!atomic_read(&best->qlen)) 204 atomic_inc(&pi->qlen); 214 atomic_dec(&pi->qlen);
|
/drivers/usb/gadget/ |
H A D | gmidi.c | 66 static unsigned int qlen = 32; variable 67 module_param(qlen, uint, S_IRUGO); 68 MODULE_PARM_DESC(qlen, "USB read request queue length"); 138 buflen, qlen);
|
H A D | f_loopback.c | 47 static unsigned qlen = 32; variable 48 module_param(qlen, uint, 0); 272 * of requests it submitted (just maintains qlen count), we 328 * we buffer at most 'qlen' transfers; fewer if any need more 331 for (i = 0; i < qlen && result == 0; i++) {
|
H A D | f_midi.c | 86 unsigned int buflen, qlen; member in struct:f_midi 367 for (i = 0; i < midi->qlen && err == 0; i++) { 916 * @qlen the number of read requests to pre-allocate 926 unsigned int qlen) 975 midi->qlen = qlen; 921 f_midi_bind_config(struct usb_configuration *c, int index, char *id, unsigned int in_ports, unsigned int out_ports, unsigned int buflen, unsigned int qlen) argument
|
H A D | u_ether.c | 98 static inline int qlen(struct usb_gadget *gadget) function 903 result = alloc_requests(dev, link, qlen(dev->gadget)); 907 DBG(dev, "qlen %d\n", qlen(dev->gadget));
|
H A D | printer.c | 153 static unsigned qlen = 10; variable 154 module_param(qlen, uint, S_IRUGO|S_IWUSR); 156 #define QLEN qlen
|
/drivers/net/wireless/brcm80211/include/ |
H A D | brcmu_utils.h | 89 return pq->q[prec].skblist.qlen; 94 return pq->q[prec].max - pq->q[prec].skblist.qlen; 99 return pq->q[prec].skblist.qlen >= pq->q[prec].max;
|
/drivers/net/usb/ |
H A D | usbnet.c | 300 if (dev->done.qlen == 1) 1148 if (dev->txq.qlen >= TX_QLEN (dev)) 1200 if ((dev->txq.qlen + dev->rxq.qlen + dev->done.qlen) == 0) { 1209 int temp = dev->rxq.qlen; local 1210 int qlen = RX_QLEN (dev); 1212 if (temp < qlen) { 1217 for (i = 0; i < 10 && dev->rxq.qlen < qlen; [all...] |
/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 276 * transmitted it returns the qlen. If an error occurs it restores 297 while (port->fcoe_pending_queue.qlen) { 298 /* keep qlen > 0 until fcoe_start_io succeeds */ 299 port->fcoe_pending_queue.qlen++; 309 port->fcoe_pending_queue.qlen--; 313 port->fcoe_pending_queue.qlen--; 316 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) 318 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) 322 if (port->fcoe_pending_queue.qlen > port->max_queue_depth)
|
H A D | fcoe.c | 512 if (port->fcoe_pending_queue.qlen) 1419 if (fps->fcoe_rx_list.qlen == 1) 2244 if (pp->fcoe_rx_list.qlen == 1)
|
/drivers/block/ |
H A D | ub.c | 283 int qlen, qmax; member in struct:ub_scsi_cmd_queue 578 if (t->qlen++ == 0) { 586 if (t->qlen > t->qmax) 587 t->qmax = t->qlen; 594 if (t->qlen++ == 0) { 602 if (t->qlen > t->qmax) 603 t->qmax = t->qlen; 611 if (t->qlen == 0) 613 if (--t->qlen == 0)
|
/drivers/net/caif/ |
H A D | caif_serial.c | 272 if (ser->head.qlen <= SEND_QUEUE_LOW && 291 if (ser->head.qlen > SEND_QUEUE_HIGH &&
|
H A D | caif_hsi.c | 290 cfhsi->qhead.qlen <= cfhsi->q_low_mark && 908 cfhsi->qhead.qlen > cfhsi->q_high_mark &&
|
H A D | caif_spi.c | 450 if (cfspi->flow_off_sent && cfspi->qhead.qlen < cfspi->qd_low_mark && 516 cfspi->qhead.qlen > cfspi->qd_high_mark &&
|
/drivers/net/wireless/brcm80211/brcmutil/ |
H A D | utils.c | 203 len += pq->q[prec].skblist.qlen;
|
/drivers/bluetooth/ |
H A D | hci_bcsp.c | 311 if (bcsp->unack.qlen < BCSP_TXWINSIZE && (skb = skb_dequeue(&bcsp->rel)) != NULL) { 675 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen);
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | ampdu.c | 534 u16 qlen; local 550 qlen = pktq_plen(&qi->q, prec); 552 qlen < min(scb_ampdu->max_pdu, ini->ba_wsize))
|
/drivers/tty/serial/jsm/ |
H A D | jsm_neo.c | 497 int qlen; local 543 qlen = uart_circ_chars_pending(circ); 546 n = min(n, qlen);
|
/drivers/usb/host/ |
H A D | ohci-dbg.c | 596 unsigned qlen = 0; local 598 /* qlen measured here in TDs, not urbs */ 600 qlen++; 603 " (%cs dev%d ep%d%s-%s qlen %u" 610 qlen,
|
/drivers/input/misc/ |
H A D | wistron_btns.c | 1141 u8 qlen; local 1145 qlen = CMOS_READ(cmos_address); 1146 if (qlen == 0)
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 310 fn, addr, pktq->qlen);
|
/drivers/misc/ |
H A D | hpilo.c | 47 int qlen = len & 7 ? (len >> 3) + 1 : len >> 3; local 48 return id << ENTRY_BITPOS_DESCRIPTOR | qlen << ENTRY_BITPOS_QWORDS;
|
/drivers/crypto/ |
H A D | hifn_795x.c | 1927 "success: %lu: qlen: %u/%u, reset: %d.\n", 1929 dev->success, dev->queue.qlen, dev->queue.max_qlen, 2177 if (dev->started < HIFN_QUEUE_LENGTH && dev->queue.qlen) 2559 if (dev->started < HIFN_QUEUE_LENGTH && dev->queue.qlen)
|
/drivers/net/ethernet/toshiba/ |
H A D | tc35815.c | 1815 int qlen = (lp->tfd_start + TX_FD_NUM local 1825 if (lp->lstats.max_tx_qlen < qlen) 1826 lp->lstats.max_tx_qlen = qlen;
|