Lines Matching refs:num_to_alloc
251 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument
268 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3()
272 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3()
6235 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local
6295 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc()
6308 } else if (total + num_to_alloc > in lpfc_slave_alloc()
6314 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc()
6316 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc()
6318 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc()
6319 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
6324 num_to_alloc, num_allocated); in lpfc_slave_alloc()