/drivers/tty/hvc/ |
D | hvc_beat.c | 46 static int qlen = 0; in hvc_beat_get_chars() local 50 if (qlen) { in hvc_beat_get_chars() 51 if (qlen > cnt) { in hvc_beat_get_chars() 53 qlen -= cnt; in hvc_beat_get_chars() 54 memmove(q + cnt, q, qlen); in hvc_beat_get_chars() 59 memcpy(buf, q, qlen); in hvc_beat_get_chars() 60 r = qlen; in hvc_beat_get_chars() 61 qlen = 0; in hvc_beat_get_chars() 67 qlen = got; in hvc_beat_get_chars()
|
/drivers/md/ |
D | dm-queue-length.c | 38 atomic_t qlen; /* the number of in-flight I/Os */ member 98 DMEMIT("%d ", atomic_read(&pi->qlen)); in ql_status() 141 atomic_set(&pi->qlen, 0); in ql_add_path() 185 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) in ql_select_path() 188 if (!atomic_read(&best->qlen)) in ql_select_path() 205 atomic_inc(&pi->qlen); in ql_start_io() 215 atomic_dec(&pi->qlen); in ql_end_io()
|
/drivers/usb/gadget/ |
D | gmidi.c | 64 static unsigned int qlen = 32; variable 65 module_param(qlen, uint, S_IRUGO); 66 MODULE_PARM_DESC(qlen, "USB read request queue length"); 135 buflen, qlen); in midi_bind_config()
|
D | zero.c | 70 .qlen = 32, 252 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); 253 MODULE_PARM_DESC(qlen, "depth of loopback queue"); 300 lb_opts->qlen = gzero_options.qlen; in zero_bind()
|
D | f_loopback.c | 48 static unsigned qlen; variable 334 for (i = 0; i < qlen && result == 0; i++) { in enable_loopback() 384 qlen = lb_opts->qlen; in loopback_alloc() 385 if (!qlen) in loopback_alloc() 386 qlen = 32; in loopback_alloc()
|
D | g_zero.h | 16 unsigned qlen; member 32 unsigned qlen; member
|
D | f_midi.c | 90 unsigned int buflen, qlen; member 371 for (i = 0; i < midi->qlen && err == 0; i++) { in f_midi_set_alt() 936 unsigned int qlen, in f_midi_bind_config() argument 978 midi->qlen = qlen; in f_midi_bind_config()
|
D | f_hid.c | 47 unsigned int qlen; member 528 for (i = 0; i < hidg->qlen && status == 0; i++) { in hidg_set_alt() 737 hidg->qlen = 4; in hidg_bind_config()
|
D | u_ether.c | 102 static inline int qlen(struct usb_gadget *gadget) in qlen() function 417 if (++req_cnt > qlen(dev->gadget)) in rx_fill() 1048 result = alloc_requests(dev, link, qlen(dev->gadget)); in gether_connect() 1052 DBG(dev, "qlen %d\n", qlen(dev->gadget)); in gether_connect()
|
D | printer.c | 118 static unsigned qlen = 10; variable 119 module_param(qlen, uint, S_IRUGO|S_IWUSR); 121 #define QLEN qlen
|
/drivers/net/wireless/brcm80211/include/ |
D | brcmu_utils.h | 89 return pq->q[prec].skblist.qlen; in pktq_plen() 94 return pq->q[prec].max - pq->q[prec].skblist.qlen; in pktq_pavail() 99 return pq->q[prec].skblist.qlen >= pq->q[prec].max; in pktq_pfull()
|
/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 385 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue() 387 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue() 397 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 401 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 404 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue() 406 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue() 410 if (port->fcoe_pending_queue.qlen > port->max_queue_depth) in fcoe_check_wait_queue()
|
/drivers/net/usb/ |
D | usbnet.c | 412 if (dev->done.qlen == 1) in defer_bh() 1296 if (dev->txq.qlen >= TX_QLEN (dev)) in usbnet_start_xmit() 1326 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { in rx_alloc_submit() 1373 if ((dev->txq.qlen + dev->rxq.qlen + dev->done.qlen) == 0) { in usbnet_bh() 1383 int temp = dev->rxq.qlen; in usbnet_bh() 1388 if (temp != dev->rxq.qlen) in usbnet_bh() 1391 temp, dev->rxq.qlen); in usbnet_bh() 1392 if (dev->rxq.qlen < RX_QLEN(dev)) in usbnet_bh() 1395 if (dev->txq.qlen < TX_QLEN (dev)) in usbnet_bh() 1655 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend() [all …]
|
/drivers/net/caif/ |
D | caif_serial.c | 270 if (ser->head.qlen <= SEND_QUEUE_LOW && in handle_tx() 289 if (ser->head.qlen > SEND_QUEUE_HIGH && in caif_xmit()
|
D | caif_spi.c | 443 if (cfspi->flow_off_sent && cfspi->qhead.qlen < cfspi->qd_low_mark && in cfspi_xmitlen() 509 cfspi->qhead.qlen > cfspi->qd_high_mark && in cfspi_xmit()
|
D | caif_hsi.c | 107 if (cfhsi->qhead[i].qlen) in cfhsi_can_send_aggregate() 112 if (cfhsi->qhead[CFHSI_PRIO_BEBK].qlen >= CFHSI_MAX_PKTS) in cfhsi_can_send_aggregate()
|
/drivers/usb/host/ |
D | ohci-dbg.c | 596 unsigned qlen = 0; in fill_periodic_buffer() local 600 qlen++; in fill_periodic_buffer() 610 qlen, in fill_periodic_buffer()
|
/drivers/net/wireless/rtlwifi/ |
D | usb.c | 621 unsigned int qlen; in _rtl_rx_completed() local 632 qlen = skb_queue_len(&rtlusb->rx_queue); in _rtl_rx_completed() 633 if (qlen >= __RX_SKB_MAX_QUEUED) { in _rtl_rx_completed() 636 qlen); in _rtl_rx_completed()
|
/drivers/input/misc/ |
D | wistron_btns.c | 1141 u8 qlen; in poll_bios() local 1145 qlen = CMOS_READ(cmos_address); in poll_bios() 1146 if (qlen == 0) in poll_bios()
|
/drivers/bluetooth/ |
D | hci_h5.c | 156 BT_DBG("hu %p retransmitting %u pkts", hu, h5->unack.qlen); in h5_timed_event() 690 if (h5->unack.qlen >= h5->tx_win) in h5_dequeue()
|
D | hci_bcsp.c | 311 if (bcsp->unack.qlen < BCSP_TXWINSIZE && (skb = skb_dequeue(&bcsp->rel)) != NULL) { in bcsp_dequeue() 675 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen); in bcsp_timed_event()
|
/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 497 int qlen; in neo_copy_data_from_queue_to_uart() local 543 qlen = uart_circ_chars_pending(circ); in neo_copy_data_from_queue_to_uart() 546 n = min(n, qlen); in neo_copy_data_from_queue_to_uart()
|
/drivers/net/wireless/brcm80211/brcmutil/ |
D | utils.c | 224 len += pq->q[prec].skblist.qlen; in brcmu_pktq_mlen()
|
/drivers/misc/ |
D | hpilo.c | 48 int qlen = len & 7 ? (len >> 3) + 1 : len >> 3; in mk_entry() local 49 return id << ENTRY_BITPOS_DESCRIPTOR | qlen << ENTRY_BITPOS_QWORDS; in mk_entry()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | bcmsdh.c | 386 fn, addr, pktq->qlen); in brcmf_sdcard_recv_chain()
|