Searched refs:num_to_alloc (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 253 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument 270 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3() 274 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3() 6257 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local 6317 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc() 6330 } else if (total + num_to_alloc > in lpfc_slave_alloc() 6336 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc() 6338 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc() 6340 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc() 6341 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc() [all …]
|
D | lpfc_crtn.h | 581 int lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc);
|
D | lpfc_init.c | 4482 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) in lpfc_new_io_buf() argument 4493 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_io_buf() 4571 "buffers of size x%zu bytes\n", bcnt, num_to_alloc, in lpfc_new_io_buf()
|
/Linux-v6.1/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 587 int num_to_alloc, struct vmxnet3_adapter *adapter) in vmxnet3_rq_alloc_rx_buf() argument 594 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 660 if (num_allocated == num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 1427 int num_to_alloc; in vmxnet3_rq_rx_complete() local 1703 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring); in vmxnet3_rq_rx_complete() 1710 while (num_to_alloc) { in vmxnet3_rq_rx_complete() 1729 num_to_alloc--; in vmxnet3_rq_rx_complete() 1737 if (num_to_alloc == 0) { in vmxnet3_rq_rx_complete()
|