Home
last modified time | relevance | path

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

/drivers/staging/tidspbridge/core/
Dmsg_sm.c107 u32 num_allocated = 0; in bridge_msg_create_queue() local
171 num_allocated++; in bridge_msg_create_queue()
191 delete_msg_queue(msg_q, num_allocated); in bridge_msg_create_queue()
/drivers/md/
Ddm-table.c54 unsigned int num_allocated; member
195 t->num_allocated = num; in alloc_targets()
299 if (t->num_targets >= t->num_allocated) in check_space()
300 return alloc_targets(t, t->num_allocated * 2); in check_space()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c559 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local
564 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
614 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf()
618 num_allocated++; in vmxnet3_rq_alloc_rx_buf()
624 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
627 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
629 return num_allocated; in vmxnet3_rq_alloc_rx_buf()
/drivers/scsi/lpfc/
Dlpfc_scsi.c5423 int num_allocated = 0; in lpfc_slave_alloc() local
5463 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_slave_alloc()
5464 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
5469 num_to_alloc, num_allocated); in lpfc_slave_alloc()
5471 if (num_allocated > 0) in lpfc_slave_alloc()
5472 phba->total_scsi_bufs += num_allocated; in lpfc_slave_alloc()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c2543 u32 *num_allocated) in __vxge_hw_mempool_grow() argument
2551 *num_allocated = 0; in __vxge_hw_mempool_grow()
2587 (*num_allocated)++; in __vxge_hw_mempool_grow()