Searched refs:num_to_alloc (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.c | 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() 6260 uint32_t num_to_alloc = 0; in lpfc_sdev_init() local 6320 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_sdev_init() 6333 } else if (total + num_to_alloc > in lpfc_sdev_init() 6339 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_sdev_init() 6341 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_sdev_init() 6343 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_sdev_init() 6344 if (num_to_alloc != num_allocated) { in lpfc_sdev_init() [all …]
|
| H A D | lpfc_init.c | 4467 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) in lpfc_new_io_buf() argument 4478 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_io_buf() 4556 "buffers of size x%zu bytes\n", bcnt, num_to_alloc, in lpfc_new_io_buf()
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_drv.c | 674 int num_to_alloc, struct vmxnet3_adapter *adapter) in vmxnet3_rq_alloc_rx_buf() argument 681 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 757 if (num_allocated == num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 1626 int num_to_alloc; in vmxnet3_rq_rx_complete() local 1961 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring); in vmxnet3_rq_rx_complete() 1968 while (num_to_alloc) { in vmxnet3_rq_rx_complete() 1987 num_to_alloc--; in vmxnet3_rq_rx_complete() 1995 if (num_to_alloc == 0) { in vmxnet3_rq_rx_complete()
|