Searched refs:num_allocated (Results 1 – 6 of 6) sorted by relevance
41 unsigned int num_allocated; member176 t->num_allocated = num; in alloc_targets()683 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
1639 int i, rc, size, num_allocated; in qede_alloc_mem_rxq() local1683 num_allocated = i; in qede_alloc_mem_rxq()1684 if (!num_allocated) { in qede_alloc_mem_rxq()1687 } else if (num_allocated < rxq->num_rx_buffers) { in qede_alloc_mem_rxq()1690 num_allocated); in qede_alloc_mem_rxq()
564 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local569 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()
5430 int num_allocated = 0; in lpfc_slave_alloc() local5504 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_slave_alloc()5505 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()5510 num_to_alloc, num_allocated); in lpfc_slave_alloc()5512 if (num_allocated > 0) in lpfc_slave_alloc()5513 phba->total_scsi_bufs += num_allocated; in lpfc_slave_alloc()
2540 u32 *num_allocated) in __vxge_hw_mempool_grow() argument2548 *num_allocated = 0; in __vxge_hw_mempool_grow()2584 (*num_allocated)++; in __vxge_hw_mempool_grow()
4225 u64 num_allocated = sinfo->bytes_used + sinfo->bytes_reserved; in should_alloc_chunk() local4237 num_allocated += calc_global_rsv_need_space(global_rsv); in should_alloc_chunk()4248 if (num_bytes - num_allocated < thresh) in should_alloc_chunk()4252 if (num_allocated + 2 * 1024 * 1024 < div_factor(num_bytes, 8)) in should_alloc_chunk()