Home
last modified time | relevance | path

Searched refs:num_to_alloc (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_scsi.c330 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument
347 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3()
351 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3()
5497 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local
5557 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc()
5570 } else if (total + num_to_alloc > in lpfc_slave_alloc()
5576 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc()
5578 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc()
5580 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc()
5581 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
[all …]
Dlpfc_crtn.h514 int lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc);
Dlpfc_init.c4080 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) in lpfc_new_io_buf() argument
4091 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_io_buf()
4169 "buffers\n", bcnt, num_to_alloc); in lpfc_new_io_buf()
/Linux-v5.4/drivers/net/vmxnet3/
Dvmxnet3_drv.c567 int num_to_alloc, struct vmxnet3_adapter *adapter) in vmxnet3_rq_alloc_rx_buf() argument
574 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
637 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf()
1300 int num_to_alloc; in vmxnet3_rq_rx_complete() local
1544 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring); in vmxnet3_rq_rx_complete()
1552 while (num_to_alloc) { in vmxnet3_rq_rx_complete()
1560 num_to_alloc--; in vmxnet3_rq_rx_complete()