Searched refs:num_allocated (Results 1 – 5 of 5) sorted by relevance
50 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()
51 v3d->bo_stats.num_allocated--; in v3d_free_object()140 v3d->bo_stats.num_allocated++; in v3d_bo_create_finish()
676 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local681 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()
121 t->num_allocated = num; in alloc_targets()683 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
6261 int num_allocated = 0; in lpfc_sdev_init() local6343 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()