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

/linux-master/drivers/scsi/lpfc/
H A Dlpfc_scsi.c232 * @num_to_alloc: The requested number of buffers to allocate.
243 * 0 = failure, less than num_to_alloc is a partial failure.
246 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) argument
263 num_to_alloc, phba->cfg_sg_dma_buf_size,
267 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) {
6220 uint32_t num_to_alloc = 0; local
6280 num_to_alloc = vport->cfg_lun_queue_depth + 2;
6293 } else if (total + num_to_alloc >
6299 num_to_alloc, phba->cfg_hba_queue_depth,
6301 num_to_alloc
[all...]
H A Dlpfc_crtn.h582 int lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc);
H A Dlpfc_init.c4477 * @num_to_alloc: The requested number of buffers to allocate.
4486 * 0 = failure, less than num_to_alloc is a partial failure.
4489 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) argument
4500 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) {
4578 "buffers of size x%zu bytes\n", bcnt, num_to_alloc,
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c608 * of the rx queue and update the rx desc. stop after @num_to_alloc buffers
614 int num_to_alloc, struct vmxnet3_adapter *adapter)
621 while (num_allocated <= num_to_alloc) {
697 if (num_allocated == num_to_alloc) {
1529 int num_to_alloc; local
1853 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring);
1860 while (num_to_alloc) {
1879 num_to_alloc--;
1887 if (num_to_alloc == 0) {
613 vmxnet3_rq_alloc_rx_buf(struct vmxnet3_rx_queue *rq, u32 ring_idx, int num_to_alloc, struct vmxnet3_adapter *adapter) argument

Completed in 200 milliseconds