Lines Matching refs:num_to_alloc
246 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument
263 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3()
267 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3()
6251 uint32_t num_to_alloc = 0; in lpfc_sdev_init() local
6311 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_sdev_init()
6324 } else if (total + num_to_alloc > in lpfc_sdev_init()
6330 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_sdev_init()
6332 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_sdev_init()
6334 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_sdev_init()
6335 if (num_to_alloc != num_allocated) { in lpfc_sdev_init()
6340 num_to_alloc, num_allocated); in lpfc_sdev_init()