/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/usb/gadget/function/ |
H A D | u_midi.h | 29 unsigned int qlen; member in struct:f_midi_opts
|
H A D | g_zero.h | 27 unsigned qlen; member in struct:usb_zero_options 56 unsigned qlen; member in struct:f_lb_opts
|
H A D | f_loopback.c | 49 static unsigned qlen; variable 275 * of requests it submitted (just maintains qlen count), we 323 * we buffer at most 'qlen' transfers; fewer if any need more 326 for (i = 0; i < qlen && result == 0; i++) { 401 qlen = lb_opts->qlen; 402 if (!qlen) 403 qlen = 32; 443 result = sprintf(page, "%d", opts->qlen); 465 opts->qlen [all...] |
H A D | f_midi.c | 89 unsigned int buflen, qlen; member in struct:f_midi 364 for (i = 0; i < midi->qlen && err == 0; i++) { 971 F_MIDI_OPT(qlen, false, 0); 1123 opts->qlen = 32; 1222 midi->qlen = opts->qlen;
|
H A D | f_hid.c | 49 unsigned int qlen; member in struct:f_hidg 521 for (i = 0; i < hidg->qlen && status == 0; i++) { 731 hidg->qlen = 4;
|
H A D | u_ether.c | 101 static inline int qlen(struct usb_gadget *gadget, unsigned qmult) function 416 if (++req_cnt > qlen(dev->gadget, dev->qmult)) 1239 result = alloc_requests(dev, link, qlen(dev->gadget, 1244 DBG(dev, "qlen %d\n", qlen(dev->gadget, dev->qmult));
|
/drivers/usb/gadget/legacy/ |
H A D | gmidi.c | 65 static unsigned int qlen = 32; variable 66 module_param(qlen, uint, S_IRUGO); 67 MODULE_PARM_DESC(qlen, "USB read request queue length"); 139 buflen, qlen);
|
H A D | zero.c | 70 .qlen = GZERO_QLEN, 289 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); 290 MODULE_PARM_DESC(qlen, "depth of loopback queue"); 341 lb_opts->qlen = gzero_options.qlen;
|
/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)); 141 atomic_set(&pi->qlen, 0); 185 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) 188 if (!atomic_read(&best->qlen)) 205 atomic_inc(&pi->qlen); 215 atomic_dec(&pi->qlen);
|
/drivers/nfc/st21nfcb/ |
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);
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.h | 46 u16 qlen; member in struct:i40e_hmc_obj_rxq 86 u16 qlen; member in struct:i40e_hmc_obj_txq
|
/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_lan_hmc.h | 46 u16 qlen; member in struct:i40e_hmc_obj_rxq 86 u16 qlen; member in struct:i40e_hmc_obj_txq
|
/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/tty/serial/ |
H A D | men_z135_uart.c | 295 int qlen; local 312 qlen = uart_circ_chars_pending(xmit); 313 if (qlen <= 0) 326 txfree, qlen); 333 if (align && qlen >= 3 && BYTES_TO_ALIGN(wptr)) 335 else if (qlen > txfree) 338 n = qlen;
|
/drivers/net/usb/ |
H A D | usbnet.c | 357 * Not take default 5ms qlen for super speed HC to 358 * save memory, and iperf tests show 2.5ms qlen can 399 /* max qlen depend on hard_mtu and rx_urb_size */ 436 if (dev->done.qlen == 1) 1389 if (dev->txq.qlen >= TX_QLEN (dev)) 1422 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { 1472 if (dev->txq.qlen + dev->rxq.qlen + dev->done.qlen == 0) 1481 int temp = dev->rxq.qlen; [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 516 if (!pktlist->qlen) 552 target_list->qlen); 553 seg_sz = target_list->qlen; 712 addr, pktq->qlen); 718 if (pktq->qlen == 1) 775 brcmf_dbg(SDIO, "addr = 0x%x, size = %d\n", addr, pktq->qlen); 781 if (pktq->qlen == 1 || !sdiodev->sg_support)
|
/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 377 * transmitted it returns the qlen. If an error occurs it restores 398 while (port->fcoe_pending_queue.qlen) { 399 /* keep qlen > 0 until fcoe_start_io succeeds */ 400 port->fcoe_pending_queue.qlen++; 410 port->fcoe_pending_queue.qlen--; 414 port->fcoe_pending_queue.qlen--; 417 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) 419 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) 423 if (port->fcoe_pending_queue.qlen > port->max_queue_depth)
|
/drivers/net/caif/ |
H A D | caif_serial.c | 270 if (ser->head.qlen <= SEND_QUEUE_LOW && 289 if (ser->head.qlen > SEND_QUEUE_HIGH &&
|
/drivers/net/wireless/brcm80211/brcmutil/ |
H A D | utils.c | 224 len += pq->q[prec].skblist.qlen;
|
/drivers/bluetooth/ |
H A D | hci_bcsp.c | 312 if (bcsp->unack.qlen < BCSP_TXWINSIZE) { 679 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen);
|
H A D | hci_h5.c | 156 BT_DBG("hu %p retransmitting %u pkts", hu, h5->unack.qlen); 688 if (h5->unack.qlen >= h5->tx_win)
|
/drivers/net/wireless/rtlwifi/ |
H A D | usb.c | 628 unsigned int qlen; local 639 qlen = skb_queue_len(&rtlusb->rx_queue); 640 if (qlen >= __RX_SKB_MAX_QUEUED) { 642 "Pending RX skbuff queue full! (qlen: %d)\n", 643 qlen);
|
/drivers/staging/dgnc/ |
H A D | dgnc_cls.c | 1036 int qlen; local 1068 qlen = (head - tail) & WQUEUEMASK; 1071 n = min(n, qlen);
|
/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);
|