Lines Matching refs:num_to_alloc
384 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument
401 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3()
405 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3()
790 lpfc_new_scsi_buf_s4(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s4() argument
810 num_to_alloc, phba->cfg_sg_dma_buf_size, sgl_size, in lpfc_new_scsi_buf_s4()
814 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s4()
928 "buffers\n", bcnt, num_to_alloc); in lpfc_new_scsi_buf_s4()
953 lpfc_new_scsi_buf(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf() argument
955 return vport->phba->lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_new_scsi_buf()
5429 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local
5481 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc()
5494 } else if (total + num_to_alloc > in lpfc_slave_alloc()
5500 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc()
5502 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc()
5504 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_slave_alloc()
5505 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
5510 num_to_alloc, num_allocated); in lpfc_slave_alloc()