Home
last modified time | relevance | path

Searched refs:q_depth (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbnad.c115 for (i = 0; i < ccb->q_depth; i++) { in bnad_cq_cmpl_init()
120 BNA_QE_INDX_ADD(ccb_prod, wis, ccb->q_depth); in bnad_cq_cmpl_init()
169 for (q = 0; q < unmap_q->q_depth; q++) { in bnad_free_all_txbufs()
176 unmap_cons, unmap_q->q_depth, skb, in bnad_free_all_txbufs()
214 updated_hw_cons, tcb->q_depth); in bnad_free_txbufs()
216 BUG_ON(!(wis <= BNA_QE_IN_USE_CNT(tcb, tcb->q_depth))); in bnad_free_txbufs()
230 unmap_cons, unmap_q->q_depth, skb, in bnad_free_txbufs()
282 BNA_QE_FREE_CNT(tcb, tcb->q_depth) >= in bnad_tx_free_tasklet()
308 BNA_QE_FREE_CNT(tcb, tcb->q_depth) >= in bnad_tx()
360 for (unmap_cons = 0; unmap_cons < unmap_q->q_depth; unmap_cons++) { in bnad_free_all_rxbufs()
[all …]
Dbna_types.h465 u32 q_depth; member
601 u32 q_depth; member
619 int q_depth; member
663 u32 q_depth; member
709 int q_depth; member
Dbna.h163 ((_q_ptr)->q.q_depth - 1))
168 & ((_q_ptr)->q.q_depth - 1))
171 (BNA_QE_FREE_CNT(&((_q_ptr)->q), (_q_ptr)->q.q_depth))
174 (BNA_QE_IN_USE_CNT(&(_q_ptr)->q, (_q_ptr)->q.q_depth))
Dbfa_msgq.c526 msgq_cfg->cmdq.q_depth = htons(msgq->cmdq.depth); in bfa_msgq_init()
528 msgq_cfg->rspq.q_depth = htons(msgq->rspq.depth); in bfa_msgq_init()
Dbnad.h231 u32 q_depth; member
Dbna_tx_rx.c2210 dq_depth = q_cfg->q_depth; in bna_rx_res_req()
2211 hq_depth = ((q_cfg->rxp_type == BNA_RXP_SINGLE) ? 0 : q_cfg->q_depth); in bna_rx_res_req()
2447 q0->rcb->q_depth = rx_cfg->q_depth; in bna_rx_create()
2472 q1->rcb->q_depth = rx_cfg->q_depth; in bna_rx_create()
2496 rxp->cq.ccb->q_depth = rx_cfg->q_depth + in bna_rx_create()
2498 0 : rx_cfg->q_depth); in bna_rx_create()
3566 txq->tcb->q_depth = tx_cfg->txq_depth; in bna_tx_create()
Dbfi.h438 u16 q_depth; /* Total num of entries in the queue */ member
/linux-3.4.99/drivers/block/
Dnvme.c114 u16 q_depth; member
150 return (void *)&nvmeq->cmdid_data[BITS_TO_LONGS(nvmeq->q_depth)]; in nvme_cmd_info()
171 int depth = nvmeq->q_depth - 1; in alloc_cmdid()
235 if (cmdid >= nvmeq->q_depth) { in free_cmdid()
285 if (++tail == nvmeq->q_depth) in nvme_submit_cmd()
518 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_flush()
605 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_bio_queue()
650 if (++head == nvmeq->q_depth) { in nvme_process_cq()
782 c.create_cq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_cq()
803 c.create_sq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_sq()
[all …]
/linux-3.4.99/drivers/scsi/bfa/
Dbfi.h498 #define BFI_MSGQ_FULL(_q) (((_q->pi + 1) % _q->q_depth) == _q->ci)
500 #define BFI_MSGQ_UPDATE_CI(_q) (_q->ci = (_q->ci + 1) % _q->q_depth)
501 #define BFI_MSGQ_UPDATE_PI(_q) (_q->pi = (_q->pi + 1) % _q->q_depth)
504 #define BFI_MSGQ_FREE_CNT(_q) ((_q->ci - _q->pi - 1) & (_q->q_depth - 1))
545 u16 q_depth; /* Total num of entries in the queue */ member
Dbfa_fcpim.h124 u16 q_depth; member
Dbfa_defs_svc.h856 u16 q_depth; /* SCSI Queue depth */ member
Dbfa_svc.c3424 fcport->cfg.q_depth = in bfa_fcport_isr()
3425 cpu_to_be16(fcport->cfg.q_depth); in bfa_fcport_isr()
3787 attr->pport_cfg.q_depth = bfa_fcpim_qdepth_get(bfa); in bfa_fcport_get_attr()
Dbfa_fcpim.c504 return fcpim->q_depth; in bfa_fcpim_qdepth_get()
/linux-3.4.99/drivers/target/tcm_fc/
Dtfc_conf.c209 u32 q_depth; in ft_add_acl() local
222 q_depth = 32; /* XXX bogus default - get from tpg? */ in ft_add_acl()
224 &acl->se_node_acl, name, q_depth); in ft_add_acl()