/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/legacy/ |
D | gmidi.c | 62 static unsigned int qlen = 32; variable 63 module_param(qlen, uint, S_IRUGO); 64 MODULE_PARM_DESC(qlen, "USB read request queue length"); 166 midi_opts->qlen = qlen; in midi_bind()
|
D | zero.c | 70 .qlen = GZERO_QLEN, 255 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); 256 MODULE_PARM_DESC(qlen, "depth of loopback queue"); 303 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 329 for (i = 0; i < loop->qlen && result == 0; i++) { in alloc_requests() 447 loop->qlen = lb_opts->qlen; in loopback_alloc() 448 if (!loop->qlen) in loopback_alloc() 449 loop->qlen = 32; in loopback_alloc() 485 result = sprintf(page, "%d\n", opts->qlen); in f_lb_opts_qlen_show() 508 opts->qlen = num; in f_lb_opts_qlen_store() 515 CONFIGFS_ATTR(f_lb_opts_, qlen); 585 lb_opts->qlen = GZERO_QLEN; in loopback_alloc_instance()
|
D | g_zero.h | 21 unsigned qlen; member 46 unsigned qlen; member
|
D | u_midi.h | 29 unsigned int qlen; member
|
D | f_midi.c | 89 unsigned int buflen, qlen; member 356 for (i = 0; i < midi->qlen && err == 0; i++) { in f_midi_set_alt() 961 F_MIDI_OPT(qlen, false, 0); 1113 opts->qlen = 32; in f_midi_alloc_inst() 1213 midi->qlen = opts->qlen; in f_midi_alloc()
|
D | u_ether.c | 106 static inline int qlen(struct usb_gadget *gadget, unsigned qmult) in qlen() function 422 if (++req_cnt > qlen(dev->gadget, dev->qmult)) in rx_fill() 1226 result = alloc_requests(dev, link, qlen(dev->gadget, in gether_connect() 1231 DBG(dev, "qlen %d\n", qlen(dev->gadget, dev->qmult)); in gether_connect()
|
D | f_hid.c | 55 unsigned int qlen; member 566 for (i = 0; i < hidg->qlen && status == 0; i++) { in hidg_set_alt() 977 hidg->qlen = 4; in hidg_alloc()
|
/drivers/nfc/st-nci/ |
D | ndlc.c | 106 if (ndlc->send_q.qlen) in llt_ndlc_send_queue() 108 ndlc->send_q.qlen, ndlc->ack_pending_q.qlen); in llt_ndlc_send_queue() 110 while (ndlc->send_q.qlen) { in llt_ndlc_send_queue() 165 if (ndlc->rcv_q.qlen) in llt_ndlc_rcv_queue() 166 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/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 | 398 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue() 400 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue() 410 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 414 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 417 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue() 419 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue() 423 if (port->fcoe_pending_queue.qlen > port->max_queue_depth) in fcoe_check_wait_queue()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.h | 46 u16 qlen; member 86 u16 qlen; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_lan_hmc.h | 46 u16 qlen; member 86 u16 qlen; member
|
/drivers/net/usb/ |
D | usbnet.c | 448 if (dev->done.qlen == 1) in defer_bh() 1431 if (dev->txq.qlen >= TX_QLEN (dev)) in usbnet_start_xmit() 1464 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { in rx_alloc_submit() 1514 if (dev->txq.qlen + dev->rxq.qlen + dev->done.qlen == 0) in usbnet_bh() 1523 int temp = dev->rxq.qlen; in usbnet_bh() 1528 if (temp != dev->rxq.qlen) in usbnet_bh() 1531 temp, dev->rxq.qlen); in usbnet_bh() 1532 if (dev->rxq.qlen < RX_QLEN(dev)) in usbnet_bh() 1535 if (dev->txq.qlen < TX_QLEN (dev)) in usbnet_bh() 1815 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend() [all …]
|
/drivers/net/wireless/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() 287 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/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/staging/dgnc/ |
D | dgnc_tty.c | 915 int qlen = 0; in dgnc_wakeup_writes() local 926 qlen = ch->ch_w_head - ch->ch_w_tail; in dgnc_wakeup_writes() 927 if (qlen < 0) in dgnc_wakeup_writes() 928 qlen += WQUEUESIZE; in dgnc_wakeup_writes() 930 if (qlen >= (WQUEUESIZE - 256)) { in dgnc_wakeup_writes() 950 if ((qlen == 0) && in dgnc_wakeup_writes() 992 if ((qlen == 0) && in dgnc_wakeup_writes()
|
D | dgnc_cls.c | 967 int qlen; in cls_copy_data_from_queue_to_uart() local 993 qlen = (head - tail) & WQUEUEMASK; in cls_copy_data_from_queue_to_uart() 996 n = min(n, qlen); in cls_copy_data_from_queue_to_uart()
|
/drivers/input/misc/ |
D | wistron_btns.c | 1160 u8 qlen; in poll_bios() local 1164 qlen = CMOS_READ(cmos_address); in poll_bios() 1165 if (qlen == 0) in poll_bios()
|