Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/
A Dibuf_ctrl_rmgr.c64 if (ibuf_rsrc.num_active < ibuf_rsrc.num_allocated) { in ia_css_isys_ibuf_rmgr_acquire()
65 for (i = 0; i < ibuf_rsrc.num_allocated; i++) { in ia_css_isys_ibuf_rmgr_acquire()
82 if ((ibuf_rsrc.num_allocated < MAX_IBUF_HANDLES) && in ia_css_isys_ibuf_rmgr_acquire()
84 handle = getHandle(ibuf_rsrc.num_allocated); in ia_css_isys_ibuf_rmgr_acquire()
92 ibuf_rsrc.num_allocated++; in ia_css_isys_ibuf_rmgr_acquire()
114 for (i = 0; i < ibuf_rsrc.num_allocated; i++) { in ia_css_isys_ibuf_rmgr_release()
A Dibuf_ctrl_rmgr.h35 u16 num_allocated; member
/linux/drivers/gpu/drm/vc4/
A Dvc4_bo.c47 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_print()
53 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_print()
103 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
123 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
138 vc4->bo_labels[label].num_allocated++; in vc4_bo_set_label()
142 vc4->bo_labels[bo->label].num_allocated--; in vc4_bo_set_label()
145 if (vc4->bo_labels[bo->label].num_allocated == 0 && in vc4_bo_set_label()
401 vc4->bo_labels[VC4_BO_TYPE_KERNEL].num_allocated++; in vc4_create_object()
996 if (vc4->bo_labels[i].num_allocated) { in vc4_bo_cache_destroy()
999 vc4->bo_labels[i].num_allocated, in vc4_bo_cache_destroy()
A Dvc4_drv.h111 u32 num_allocated; member
/linux/drivers/gpu/drm/v3d/
A Dv3d_bo.c39 v3d->bo_stats.num_allocated--; in v3d_free_object()
116 v3d->bo_stats.num_allocated++; in v3d_bo_create_finish()
A Dv3d_debugfs.c204 v3d->bo_stats.num_allocated); in v3d_debugfs_bo_stats()
A Dv3d_drv.h141 u32 num_allocated; member
/linux/drivers/md/
A Ddm-core.h176 unsigned int num_allocated; member
A Ddm-table.c120 t->num_allocated = num; in alloc_targets()
649 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
/linux/drivers/net/vmxnet3/
A Dvmxnet3_drv.c563 int num_allocated = 0; in vmxnet3_rq_alloc_rx_buf() local
568 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf()
631 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf()
635 num_allocated++; in vmxnet3_rq_alloc_rx_buf()
641 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
644 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()
646 return num_allocated; in vmxnet3_rq_alloc_rx_buf()
/linux/drivers/scsi/lpfc/
A Dlpfc_scsi.c6693 int num_allocated = 0; in lpfc_slave_alloc() local
6775 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc()
6776 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc()
6781 num_to_alloc, num_allocated); in lpfc_slave_alloc()
6783 if (num_allocated > 0) in lpfc_slave_alloc()
6784 phba->total_scsi_bufs += num_allocated; in lpfc_slave_alloc()
/linux/drivers/net/ethernet/neterion/vxge/
A Dvxge-config.c2520 u32 *num_allocated) in __vxge_hw_mempool_grow() argument
2528 *num_allocated = 0; in __vxge_hw_mempool_grow()
2564 (*num_allocated)++; in __vxge_hw_mempool_grow()

Completed in 66 milliseconds