Home
last modified time | relevance | path

Searched refs:qlen (Results 1 – 25 of 71) sorted by relevance

123

/drivers/md/
Ddm-ps-queue-length.c39 atomic_t qlen; /* the number of in-flight I/Os */ member
100 DMEMIT("%d ", atomic_read(&pi->qlen)); in ql_status()
152 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()
227 atomic_inc(&pi->qlen); in ql_start_io()
237 atomic_dec(&pi->qlen); in ql_end_io()
/drivers/usb/gadget/legacy/
Dgmidi.c52 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()
Dprinter.c51 static unsigned qlen = 10; variable
52 module_param(qlen, uint, S_IRUGO|S_IWUSR);
53 MODULE_PARM_DESC(qlen, "The number of 8k buffers to use per endpoint");
55 #define QLEN qlen
Dzero.c66 .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()
/drivers/crypto/cavium/cpt/
Dcptvf_main.c99 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 …]
Dcptpf_mbox.c117 vfx->qlen = mbx.data; in cpt_handle_mbox_intr()
118 cpt_cfg_qlen_for_vf(cpt, vf, vfx->qlen); in cpt_handle_mbox_intr()
Dcptpf.h39 u32 qlen; member
/drivers/usb/gadget/function/
Df_loopback.c34 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()
Dg_zero.h24 unsigned qlen; member
53 unsigned qlen; member
Du_midi.h26 unsigned int qlen; member
Df_midi.c95 unsigned int buflen, qlen; member
396 for (i = 0; i < midi->qlen && err == 0; i++) { in f_midi_set_alt()
1129 F_MIDI_OPT(qlen, false, 0);
1289 opts->qlen = 32; in f_midi_alloc_inst()
1387 midi->qlen = opts->qlen; in f_midi_alloc()
1391 status = kfifo_alloc(&midi->in_req_fifo, midi->qlen, GFP_KERNEL); in f_midi_alloc()
/drivers/nfc/st-nci/
Dndlc.c94 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/
Dotx_cptvf_main.c88 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 …]
Dotx_cptvf_reqmgr.c59 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/crypto/marvell/octeontx2/
Dotx2_cptvf_reqmgr.c50 int qlen) in get_free_pending_entry() argument
59 if (unlikely(q->rear == qlen)) in get_free_pending_entry()
261 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
267 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
281 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request()
494 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue()
520 pqueue->front = modulo_inc(pqueue->front, pqueue->qlen, 1); in process_pending_queue()
/drivers/crypto/cavium/nitrox/
Dnitrox_main.c48 static unsigned int qlen = DEFAULT_CMD_QLEN; variable
49 module_param(qlen, uint, 0644);
50 MODULE_PARM_DESC(qlen, "Command queue length - default 2048");
472 ndev->qlen = qlen; in nitrox_probe()
Dnitrox_reqmgr.c266 static inline bool cmdq_full(struct nitrox_cmdq *cmdq, int qlen) in cmdq_full() argument
268 if (atomic_inc_return(&cmdq->pending_count) > qlen) { in cmdq_full()
310 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr()
331 if (unlikely(cmdq_full(cmdq, ndev->qlen))) { in post_backlog_cmds()
357 if (unlikely(cmdq_full(cmdq, ndev->qlen))) { in nitrox_enqueue_request()
/drivers/tty/serial/
Dmen_z135_uart.c299 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/
Dbrcmu_utils.h78 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/scsi/fcoe/
Dfcoe_transport.c411 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue()
413 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue()
423 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue()
427 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue()
430 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue()
432 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue()
436 if (port->fcoe_pending_queue.qlen > port->max_queue_depth) in fcoe_check_wait_queue()
/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.h23 u16 qlen; member
63 u16 qlen; member
/drivers/net/usb/
Dusbnet.c456 if (dev->done.qlen == 1) in defer_bh()
1470 if (dev->txq.qlen >= TX_QLEN (dev)) in usbnet_start_xmit()
1503 for (i = 0; i < 10 && dev->rxq.qlen < RX_QLEN(dev); i++) { in rx_alloc_submit()
1554 if (dev->txq.qlen + dev->rxq.qlen + dev->done.qlen == 0) in usbnet_bh()
1564 int temp = dev->rxq.qlen; in usbnet_bh()
1569 if (temp != dev->rxq.qlen) in usbnet_bh()
1572 temp, dev->rxq.qlen); in usbnet_bh()
1573 if (dev->rxq.qlen < RX_QLEN(dev)) in usbnet_bh()
1576 if (dev->txq.qlen < TX_QLEN (dev)) in usbnet_bh()
1882 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dsrq.h46 u8 qlen; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Ddebugfs.c244 u32 ctrl, val, qlen = 0; in mt7915_queues_acq() local
255 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7915_queues_acq()
258 seq_printf(s, "AC%d%d: queued=%d\n", acs, index, qlen); in mt7915_queues_acq()
/drivers/net/wireless/mediatek/mt76/mt7921/
Ddebugfs.c134 u32 ctrl, val, qlen = 0; in mt7921_queues_acq() local
145 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7921_queues_acq()
148 seq_printf(s, "AC%d: queued=%d\n", i, qlen); in mt7921_queues_acq()

123