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

/linux-4.1.27/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c564 int num_allocated = 0; vmxnet3_rq_alloc_rx_buf() local
569 while (num_allocated <= num_to_alloc) { vmxnet3_rq_alloc_rx_buf()
621 if (num_allocated == num_to_alloc) vmxnet3_rq_alloc_rx_buf()
625 num_allocated++; vmxnet3_rq_alloc_rx_buf()
631 num_allocated, ring->next2fill, ring->next2comp); vmxnet3_rq_alloc_rx_buf()
634 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); vmxnet3_rq_alloc_rx_buf()
636 return num_allocated; vmxnet3_rq_alloc_rx_buf()
/linux-4.1.27/drivers/md/
H A Ddm-table.c41 unsigned int num_allocated; member in struct:dm_table
176 t->num_allocated = num; alloc_targets()
679 BUG_ON(t->num_targets >= t->num_allocated); dm_table_add_target()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_scsi.c5397 int num_allocated = 0; lpfc_slave_alloc() local
5471 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); lpfc_slave_alloc()
5472 if (num_to_alloc != num_allocated) { lpfc_slave_alloc()
5477 num_to_alloc, num_allocated); lpfc_slave_alloc()
5479 if (num_allocated > 0) lpfc_slave_alloc()
5480 phba->total_scsi_bufs += num_allocated; lpfc_slave_alloc()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
H A Dvxge-config.c2540 u32 *num_allocated) __vxge_hw_mempool_grow()
2548 *num_allocated = 0; __vxge_hw_mempool_grow()
2584 (*num_allocated)++; __vxge_hw_mempool_grow()
2539 __vxge_hw_mempool_grow(struct vxge_hw_mempool *mempool, u32 num_allocate, u32 *num_allocated) __vxge_hw_mempool_grow() argument
/linux-4.1.27/fs/btrfs/
H A Dextent-tree.c4065 u64 num_allocated = sinfo->bytes_used + sinfo->bytes_reserved; should_alloc_chunk() local
4077 num_allocated += calc_global_rsv_need_space(global_rsv); should_alloc_chunk()
4088 if (num_bytes - num_allocated < thresh) should_alloc_chunk()
4092 if (num_allocated + 2 * 1024 * 1024 < div_factor(num_bytes, 8)) should_alloc_chunk()

Completed in 359 milliseconds