/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() 200 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) in ql_select_path() 203 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 | 52 static unsigned int qlen = 32; variable 53 module_param(qlen, uint, S_IRUGO); 54 MODULE_PARM_DESC(qlen, "USB read and write request queue length"); 156 midi_opts->qlen = qlen; in midi_bind()
|
D | zero.c | 66 .qlen = GZERO_QLEN, 254 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); 255 MODULE_PARM_DESC(qlen, "depth of loopback queue"); 313 lb_opts->qlen = gzero_options.qlen; in zero_bind()
|
D | printer.c | 51 static unsigned qlen = 10; variable 52 module_param(qlen, uint, S_IRUGO|S_IWUSR); 54 #define QLEN qlen
|
/drivers/crypto/cavium/cpt/ |
D | cptvf_main.c | 99 pqinfo->qlen = 0; in free_pending_queues() 103 static int alloc_pending_queues(struct pending_qinfo *pqinfo, u32 qlen, in alloc_pending_queues() argument 112 pqinfo->qlen = qlen; in alloc_pending_queues() 114 size = (qlen * sizeof(struct pending_entry)); in alloc_pending_queues() 139 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues() argument 147 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, nr_queues); in init_pending_queues() 205 u32 qlen) in alloc_command_queues() argument 215 cptvf->qsize = min(qlen, cqinfo->qchunksize) * in alloc_command_queues() 218 q_size = qlen * cqinfo->cmd_size; in alloc_command_queues() 279 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues() argument [all …]
|
D | cptpf_mbox.c | 117 vfx->qlen = mbx.data; in cpt_handle_mbox_intr() 118 cpt_cfg_qlen_for_vf(cpt, vf, vfx->qlen); in cpt_handle_mbox_intr()
|
D | cptpf.h | 39 u32 qlen; member
|
D | cptvf_reqmanager.c | 16 int qlen) in get_free_pending_entry() argument 27 if (unlikely(q->rear == qlen)) in get_free_pending_entry() 40 if (unlikely(queue->front == pqinfo->qlen)) in pending_queue_inc_front() 489 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen); in process_request()
|
/drivers/usb/gadget/function/ |
D | f_loopback.c | 34 unsigned qlen; member 323 for (i = 0; i < loop->qlen && result == 0; i++) { in alloc_requests() 441 loop->qlen = lb_opts->qlen; in loopback_alloc() 442 if (!loop->qlen) in loopback_alloc() 443 loop->qlen = 32; in loopback_alloc() 479 result = sprintf(page, "%d\n", opts->qlen); in f_lb_opts_qlen_show() 502 opts->qlen = num; in f_lb_opts_qlen_store() 509 CONFIGFS_ATTR(f_lb_opts_, qlen); 579 lb_opts->qlen = GZERO_QLEN; in loopback_alloc_instance()
|
D | g_zero.h | 24 unsigned qlen; member 53 unsigned qlen; member
|
D | u_midi.h | 26 unsigned int qlen; member
|
D | f_midi.c | 95 unsigned int buflen, qlen; member 396 for (i = 0; i < midi->qlen && err == 0; i++) { in f_midi_set_alt() 1137 F_MIDI_OPT(qlen, false, 0); 1297 opts->qlen = 32; in f_midi_alloc_inst() 1395 midi->qlen = opts->qlen; in f_midi_alloc() 1399 status = kfifo_alloc(&midi->in_req_fifo, midi->qlen, GFP_KERNEL); in f_midi_alloc()
|
/drivers/nfc/st-nci/ |
D | ndlc.c | 94 if (ndlc->send_q.qlen) in llt_ndlc_send_queue() 96 ndlc->send_q.qlen, ndlc->ack_pending_q.qlen); in llt_ndlc_send_queue() 98 while (ndlc->send_q.qlen) { in llt_ndlc_send_queue() 153 if (ndlc->rcv_q.qlen) in llt_ndlc_rcv_queue() 154 pr_debug("rcvQlen=%d\n", ndlc->rcv_q.qlen); in llt_ndlc_rcv_queue()
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_main.c | 88 queue->qlen = 0; in free_pending_queues() 93 static int alloc_pending_queues(struct otx_cpt_pending_qinfo *pqinfo, u32 qlen, in alloc_pending_queues() argument 102 size = (qlen * sizeof(struct otx_cpt_pending_entry)); in alloc_pending_queues() 114 queue->qlen = qlen; in alloc_pending_queues() 127 static int init_pending_queues(struct otx_cptvf *cptvf, u32 qlen, in init_pending_queues() argument 136 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, num_queues); in init_pending_queues() 189 u32 qlen) in alloc_command_queues() argument 200 cptvf->qsize = min(qlen, cqinfo->qchunksize) * in alloc_command_queues() 203 q_size = qlen * OTX_CPT_INST_SIZE; in alloc_command_queues() 265 static int init_command_queues(struct otx_cptvf *cptvf, u32 qlen) in init_command_queues() argument [all …]
|
D | otx_cptvf_reqmgr.c | 59 int qlen) in get_free_pending_entry() argument 68 if (unlikely(q->rear == qlen)) in get_free_pending_entry() 325 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 331 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 346 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request() 567 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue() 593 pqueue->front = modulo_inc(pqueue->front, pqueue->qlen, 1); in process_pending_queue()
|
/drivers/tty/serial/ |
D | men_z135_uart.c | 299 int qlen; in men_z135_handle_tx() local 316 qlen = uart_circ_chars_pending(xmit); in men_z135_handle_tx() 317 if (qlen <= 0) in men_z135_handle_tx() 331 txfree, qlen); in men_z135_handle_tx() 338 if (align && qlen >= 3 && BYTES_TO_ALIGN(wptr)) in men_z135_handle_tx() 340 else if (qlen > txfree) in men_z135_handle_tx() 343 n = qlen; in men_z135_handle_tx()
|
/drivers/net/wireless/broadcom/brcm80211/include/ |
D | brcmu_utils.h | 78 return pq->q[prec].skblist.qlen; in pktq_plen() 83 return pq->q[prec].max - pq->q[prec].skblist.qlen; in pktq_pavail() 88 return pq->q[prec].skblist.qlen >= pq->q[prec].max; in pktq_pfull()
|
/drivers/crypto/cavium/nitrox/ |
D | nitrox_main.c | 48 static unsigned int qlen = DEFAULT_CMD_QLEN; variable 49 module_param(qlen, uint, 0644); 50 MODULE_PARM_DESC(qlen, "Command queue length - default 2048"); 487 ndev->qlen = qlen; in nitrox_probe()
|
D | nitrox_reqmgr.c | 264 static inline bool cmdq_full(struct nitrox_cmdq *cmdq, int qlen) in cmdq_full() argument 266 if (atomic_inc_return(&cmdq->pending_count) > qlen) { in cmdq_full() 307 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr() 328 if (unlikely(cmdq_full(cmdq, ndev->qlen))) { in post_backlog_cmds() 354 if (unlikely(cmdq_full(cmdq, ndev->qlen))) { in nitrox_enqueue_request()
|
/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 410 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue() 412 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue() 422 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 426 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue() 429 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue() 431 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue() 435 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 | 23 u16 qlen; member 63 u16 qlen; member
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | debugfs.c | 294 u32 ctrl, val, qlen = 0; in mt7615_queues_acq() local 305 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7615_queues_acq() 308 seq_printf(s, "AC%d%d: queued=%d\n", wmm_idx, acs, qlen); in mt7615_queues_acq()
|
/drivers/net/usb/ |
D | usbnet.c | 439 if (dev->done.qlen == 1) in defer_bh() 1438 if (dev->txq.qlen >= TX_QLEN (dev)) in usbnet_start_xmit() 1471 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { in rx_alloc_submit() 1522 if (dev->txq.qlen + dev->rxq.qlen + dev->done.qlen == 0) in usbnet_bh() 1532 int temp = dev->rxq.qlen; in usbnet_bh() 1537 if (temp != dev->rxq.qlen) in usbnet_bh() 1540 temp, dev->rxq.qlen); in usbnet_bh() 1541 if (dev->rxq.qlen < RX_QLEN(dev)) in usbnet_bh() 1544 if (dev->txq.qlen < TX_QLEN (dev)) in usbnet_bh() 1849 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend() [all …]
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | srq.h | 46 u8 qlen; member
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | debugfs.c | 259 u32 ctrl, val, qlen = 0; in mt7915_queues_acq() local 270 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7915_queues_acq() 273 seq_printf(s, "AC%d%d: queued=%d\n", acs, index, qlen); in mt7915_queues_acq()
|