Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_bo.c48 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_dump()
54 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_dump()
79 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_debugfs()
85 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_debugfs()
127 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
147 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
162 vc4->bo_labels[label].num_allocated++; in vc4_bo_set_label()
166 vc4->bo_labels[bo->label].num_allocated--; in vc4_bo_set_label()
169 if (vc4->bo_labels[bo->label].num_allocated == 0 && in vc4_bo_set_label()
427 vc4->bo_labels[VC4_BO_TYPE_KERNEL].num_allocated++; in vc4_create_object()
[all …]
Dvc4_drv.h104 u32 num_allocated; member
/Linux-v4.19/drivers/gpu/drm/v3d/
Dv3d_bo.c168 v3d->bo_stats.num_allocated++; in v3d_bo_create()
193 v3d->bo_stats.num_allocated--; in v3d_free_object()
Dv3d_debugfs.c171 v3d->bo_stats.num_allocated); in v3d_debugfs_bo_stats()
Dv3d_drv.h94 u32 num_allocated; member
/Linux-v4.19/drivers/net/vmxnet3/
Dvmxnet3_drv.c569 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local
574 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
637 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf()
641 num_allocated++; in vmxnet3_rq_alloc_rx_buf()
647 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
650 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
652 return num_allocated; in vmxnet3_rq_alloc_rx_buf()
/Linux-v4.19/drivers/md/
Ddm-table.c42 unsigned int num_allocated; member
180 t->num_allocated = num; in alloc_targets()
724 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_scsi.c5520 int num_allocated = 0; in lpfc_slave_alloc() local
5596 num_allocated = lpfc_new_scsi_buf(vport, num_to_alloc); in lpfc_slave_alloc()
5597 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
5602 num_to_alloc, num_allocated); in lpfc_slave_alloc()
5604 if (num_allocated > 0) in lpfc_slave_alloc()
5605 phba->total_scsi_bufs += num_allocated; in lpfc_slave_alloc()
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c2524 u32 *num_allocated) in __vxge_hw_mempool_grow() argument
2532 *num_allocated = 0; in __vxge_hw_mempool_grow()
2568 (*num_allocated)++; in __vxge_hw_mempool_grow()