Home
last modified time | relevance | path

Searched refs:num_allocated (Results 1 – 5 of 5) sorted by relevance

/drivers/md/
Ddm-table.c42 unsigned int num_allocated; member
177 t->num_allocated = num; in alloc_targets()
693 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1647 int i, rc, size, num_allocated; in qede_alloc_mem_rxq() local
1691 num_allocated = i; in qede_alloc_mem_rxq()
1692 if (!num_allocated) { in qede_alloc_mem_rxq()
1695 } else if (num_allocated < rxq->num_rx_buffers) { in qede_alloc_mem_rxq()
1698 num_allocated); in qede_alloc_mem_rxq()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c564 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local
569 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
632 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf()
636 num_allocated++; in vmxnet3_rq_alloc_rx_buf()
642 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
645 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
647 return num_allocated; in vmxnet3_rq_alloc_rx_buf()
/drivers/scsi/lpfc/
Dlpfc_scsi.c5448 int num_allocated = 0; in lpfc_slave_alloc() local
5522 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_slave_alloc()
5523 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
5528 num_to_alloc, num_allocated); in lpfc_slave_alloc()
5530 if (num_allocated > 0) in lpfc_slave_alloc()
5531 phba->total_scsi_bufs += num_allocated; in lpfc_slave_alloc()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c2540 u32 *num_allocated) in __vxge_hw_mempool_grow() argument
2548 *num_allocated = 0; in __vxge_hw_mempool_grow()
2584 (*num_allocated)++; in __vxge_hw_mempool_grow()