/drivers/md/ |
D | dm-queue-length.c | 39 atomic_t qlen; /* the number of in-flight I/Os */ member 100 DMEMIT("%d ", atomic_read(&pi->qlen)); in ql_status() 149 atomic_set(&pi->qlen, 0); in ql_add_path() 203 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) in ql_select_path() 206 if (!atomic_read(&best->qlen)) in ql_select_path() 224 atomic_inc(&pi->qlen); in ql_start_io() 234 atomic_dec(&pi->qlen); in ql_end_io()
|
/drivers/usb/gadget/legacy/ |
D | gmidi.c | 54 static unsigned int qlen = 32; variable 55 module_param(qlen, uint, S_IRUGO); 56 MODULE_PARM_DESC(qlen, "USB read and write request queue length"); 158 midi_opts->qlen = qlen; in midi_bind()
|
D | zero.c | 70 .qlen = GZERO_QLEN, 257 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); 258 MODULE_PARM_DESC(qlen, "depth of loopback queue"); 315 lb_opts->qlen = gzero_options.qlen; in zero_bind()
|
D | printer.c | 56 static unsigned qlen = 10; variable 57 module_param(qlen, uint, S_IRUGO|S_IWUSR); 59 #define QLEN qlen
|
/drivers/usb/gadget/function/ |
D | f_loopback.c | 38 unsigned qlen; member 327 for (i = 0; i < loop->qlen && result == 0; i++) { in alloc_requests() 445 loop->qlen = lb_opts->qlen; in loopback_alloc() 446 if (!loop->qlen) in loopback_alloc() 447 loop->qlen = 32; in loopback_alloc() 483 result = sprintf(page, "%d\n", opts->qlen); in f_lb_opts_qlen_show() 506 opts->qlen = num; in f_lb_opts_qlen_store() 513 CONFIGFS_ATTR(f_lb_opts_, qlen); 583 lb_opts->qlen = GZERO_QLEN; in loopback_alloc_instance()
|
D | g_zero.h | 23 unsigned qlen; member 52 unsigned qlen; member
|
D | u_midi.h | 29 unsigned int qlen; member
|
D | f_midi.c | 96 unsigned int buflen, qlen; member 380 for (i = 0; i < midi->qlen && err == 0; i++) { in f_midi_set_alt() 1091 F_MIDI_OPT(qlen, false, 0); 1243 opts->qlen = 32; in f_midi_alloc_inst() 1330 midi->qlen = opts->qlen; in f_midi_alloc() 1333 status = kfifo_alloc(&midi->in_req_fifo, midi->qlen, GFP_KERNEL); in f_midi_alloc()
|
D | f_sourcesink.c | 585 int i, size, qlen, status = 0; in source_sink_start_ep() local 603 qlen = ss->iso_qlen; in source_sink_start_ep() 606 qlen = ss->bulk_qlen; in source_sink_start_ep() 610 for (i = 0; i < qlen; i++) { in source_sink_start_ep()
|
D | f_hid.c | 55 unsigned int qlen; member 626 for (i = 0; i < hidg->qlen && status == 0; i++) { in hidg_set_alt() 1051 hidg->qlen = 4; in hidg_alloc()
|
/drivers/nfc/st-nci/ |
D | ndlc.c | 105 if (ndlc->send_q.qlen) in llt_ndlc_send_queue() 107 ndlc->send_q.qlen, ndlc->ack_pending_q.qlen); in llt_ndlc_send_queue() 109 while (ndlc->send_q.qlen) { in llt_ndlc_send_queue() 164 if (ndlc->rcv_q.qlen) in llt_ndlc_rcv_queue() 165 pr_debug("rcvQlen=%d\n", ndlc->rcv_q.qlen); in llt_ndlc_rcv_queue()
|
/drivers/tty/serial/ |
D | men_z135_uart.c | 302 int qlen; in men_z135_handle_tx() local 319 qlen = uart_circ_chars_pending(xmit); in men_z135_handle_tx() 320 if (qlen <= 0) in men_z135_handle_tx() 334 txfree, qlen); in men_z135_handle_tx() 341 if (align && qlen >= 3 && BYTES_TO_ALIGN(wptr)) in men_z135_handle_tx() 343 else if (qlen > txfree) in men_z135_handle_tx() 346 n = qlen; in men_z135_handle_tx()
|
/drivers/net/wireless/broadcom/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 | 421 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue() 423 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue() 433 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 437 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 440 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue() 442 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue() 446 if (port->fcoe_pending_queue.qlen > port->max_queue_depth) in fcoe_check_wait_queue()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_lan_hmc.h | 46 u16 qlen; member 86 u16 qlen; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.h | 46 u16 qlen; member 86 u16 qlen; member
|
/drivers/net/usb/ |
D | usbnet.c | 446 if (dev->done.qlen == 1) in defer_bh() 1426 if (dev->txq.qlen >= TX_QLEN (dev)) in usbnet_start_xmit() 1459 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { in rx_alloc_submit() 1509 if (dev->txq.qlen + dev->rxq.qlen + dev->done.qlen == 0) in usbnet_bh() 1519 int temp = dev->rxq.qlen; in usbnet_bh() 1524 if (temp != dev->rxq.qlen) in usbnet_bh() 1527 temp, dev->rxq.qlen); in usbnet_bh() 1528 if (dev->rxq.qlen < RX_QLEN(dev)) in usbnet_bh() 1531 if (dev->txq.qlen < TX_QLEN (dev)) in usbnet_bh() 1806 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | bcmsdh.c | 523 if (!pktlist->qlen) in brcmf_sdiod_sglist_rw() 555 target_list->qlen); in brcmf_sdiod_sglist_rw() 556 seg_sz = target_list->qlen; in brcmf_sdiod_sglist_rw() 714 addr, pktq->qlen); in brcmf_sdiod_recv_chain() 720 if (pktq->qlen == 1) in brcmf_sdiod_recv_chain() 778 brcmf_dbg(SDIO, "addr = 0x%x, size = %d\n", addr, pktq->qlen); in brcmf_sdiod_send_pkt() 784 if (pktq->qlen == 1 || !sdiodev->sg_support) in brcmf_sdiod_send_pkt()
|
/drivers/net/caif/ |
D | caif_serial.c | 269 if (ser->head.qlen <= SEND_QUEUE_LOW && in handle_tx() 288 if (ser->head.qlen > SEND_QUEUE_HIGH && in caif_xmit()
|
/drivers/tty/serial/jsm/ |
D | jsm_cls.c | 462 int qlen; in cls_copy_data_from_queue_to_uart() local 487 qlen = uart_circ_chars_pending(circ); in cls_copy_data_from_queue_to_uart() 490 n = min(n, qlen); in cls_copy_data_from_queue_to_uart()
|
/drivers/usb/host/ |
D | ohci-dbg.c | 532 unsigned qlen = 0; in fill_periodic_buffer() local 536 qlen++; in fill_periodic_buffer() 546 qlen, in fill_periodic_buffer()
|
/drivers/staging/dgnc/ |
D | dgnc_tty.c | 859 int qlen = 0; in dgnc_wakeup_writes() local 870 qlen = ch->ch_w_head - ch->ch_w_tail; in dgnc_wakeup_writes() 871 if (qlen < 0) in dgnc_wakeup_writes() 872 qlen += WQUEUESIZE; in dgnc_wakeup_writes() 874 if (qlen >= (WQUEUESIZE - 256)) { in dgnc_wakeup_writes() 887 if ((qlen == 0) && in dgnc_wakeup_writes() 922 if ((qlen == 0) && in dgnc_wakeup_writes()
|
D | dgnc_cls.c | 421 int qlen; in cls_copy_data_from_queue_to_uart() local 447 qlen = (head - tail) & WQUEUEMASK; in cls_copy_data_from_queue_to_uart() 450 n = min(n, qlen); in cls_copy_data_from_queue_to_uart()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | usb.c | 630 unsigned int qlen; in _rtl_rx_completed() local 641 qlen = skb_queue_len(&rtlusb->rx_queue); in _rtl_rx_completed() 642 if (qlen >= __RX_SKB_MAX_QUEUED) { in _rtl_rx_completed() 645 qlen); in _rtl_rx_completed()
|
/drivers/bluetooth/ |
D | hci_bcsp.c | 317 if (bcsp->unack.qlen < BCSP_TXWINSIZE) { in bcsp_dequeue() 707 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen); in bcsp_timed_event()
|