Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c50 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_print()
56 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_print()
106 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
126 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
141 vc4->bo_labels[label].num_allocated++; in vc4_bo_set_label()
145 vc4->bo_labels[bo->label].num_allocated--; in vc4_bo_set_label()
148 if (vc4->bo_labels[bo->label].num_allocated == 0 && in vc4_bo_set_label()
413 vc4->bo_labels[VC4_BO_TYPE_KERNEL].num_allocated++; in vc4_create_object()
1051 if (vc4->bo_labels[i].num_allocated) { in vc4_bo_cache_destroy()
1054 vc4->bo_labels[i].num_allocated, in vc4_bo_cache_destroy()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c51 v3d->bo_stats.num_allocated--; in v3d_free_object()
140 v3d->bo_stats.num_allocated++; in v3d_bo_create_finish()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c676 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local
681 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
757 if (num_allocated == num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
763 num_allocated++; in vmxnet3_rq_alloc_rx_buf()
769 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
772 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
774 return num_allocated; in vmxnet3_rq_alloc_rx_buf()
/linux/drivers/md/
H A Ddm-table.c121 t->num_allocated = num; in alloc_targets()
683 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c6261 int num_allocated = 0; in lpfc_sdev_init() local
6343 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_sdev_init()
6344 if (num_to_alloc != num_allocated) { in lpfc_sdev_init()
6349 num_to_alloc, num_allocated); in lpfc_sdev_init()
6351 if (num_allocated > 0) in lpfc_sdev_init()
6352 phba->total_scsi_bufs += num_allocated; in lpfc_sdev_init()