Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dibuf_ctrl_rmgr.c55 if (ibuf_rsrc.num_active < ibuf_rsrc.num_allocated) { in ia_css_isys_ibuf_rmgr_acquire()
56 for (i = 0; i < ibuf_rsrc.num_allocated; i++) { in ia_css_isys_ibuf_rmgr_acquire()
73 if ((ibuf_rsrc.num_allocated < MAX_IBUF_HANDLES) && in ia_css_isys_ibuf_rmgr_acquire()
75 handle = getHandle(ibuf_rsrc.num_allocated); in ia_css_isys_ibuf_rmgr_acquire()
83 ibuf_rsrc.num_allocated++; in ia_css_isys_ibuf_rmgr_acquire()
105 for (i = 0; i < ibuf_rsrc.num_allocated; i++) { in ia_css_isys_ibuf_rmgr_release()
H A Dibuf_ctrl_rmgr.h26 u16 num_allocated; member
/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c49 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_print()
55 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_print()
105 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
125 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
140 vc4->bo_labels[label].num_allocated++; in vc4_bo_set_label()
144 vc4->bo_labels[bo->label].num_allocated--; in vc4_bo_set_label()
147 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()
1052 if (vc4->bo_labels[i].num_allocated) { in vc4_bo_cache_destroy()
1055 vc4->bo_labels[i].num_allocated, in vc4_bo_cache_destroy()
[all...]
H A Dvc4_drv.h128 u32 num_allocated; member
/linux/drivers/md/
H A Ddm-core.h199 unsigned int num_allocated; member
H A Ddm-table.c121 t->num_allocated = num; in alloc_targets()
699 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_drv.h198 u32 num_allocated; member
H A Dv3d_debugfs.c220 v3d->bo_stats.num_allocated); in v3d_debugfs_bo_stats()
/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()