Lines Matching refs:qlen
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
286 qlen); in init_command_queues()
315 static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in cptvf_sw_init() argument
326 ret = init_command_queues(cptvf, qlen); in cptvf_sw_init()
333 ret = init_pending_queues(cptvf, qlen, nr_queues); in cptvf_sw_init()