Searched refs:num_allocated (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dibuf_ctrl_rmgr.c64 if (ibuf_rsrc.num_active < ibuf_rsrc.num_allocated) {
65 for (i = 0; i < ibuf_rsrc.num_allocated; i++) {
82 if ((ibuf_rsrc.num_allocated < MAX_IBUF_HANDLES) &&
84 handle = getHandle(ibuf_rsrc.num_allocated);
92 ibuf_rsrc.num_allocated++;
114 for (i = 0; i < ibuf_rsrc.num_allocated; i++) {
H A Dibuf_ctrl_rmgr.h35 u16 num_allocated; member in struct:ibuf_rsrc_s
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_bo.c49 if (!vc4->bo_labels[i].num_allocated)
55 vc4->bo_labels[i].num_allocated);
105 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0);
125 vc4->bo_labels[free_slot].num_allocated = 0;
140 vc4->bo_labels[label].num_allocated++;
144 vc4->bo_labels[bo->label].num_allocated--;
147 if (vc4->bo_labels[bo->label].num_allocated == 0 &&
413 vc4->bo_labels[VC4_BO_TYPE_KERNEL].num_allocated++;
1052 if (vc4->bo_labels[i].num_allocated) {
1055 vc4->bo_labels[i].num_allocated,
[all...]
H A Dvc4_drv.h119 u32 num_allocated; member in struct:vc4_dev::vc4_label
/linux-master/drivers/gpu/drm/v3d/
H A Dv3d_bo.c42 v3d->bo_stats.num_allocated--;
120 v3d->bo_stats.num_allocated++;
H A Dv3d_drv.h161 u32 num_allocated; member in struct:v3d_dev::__anon534
H A Dv3d_debugfs.c220 v3d->bo_stats.num_allocated);
/linux-master/drivers/md/
H A Ddm-core.h201 unsigned int num_allocated; member in struct:dm_table
H A Ddm-table.c122 t->num_allocated = num;
662 BUG_ON(t->num_targets >= t->num_allocated);
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c616 int num_allocated = 0; local
621 while (num_allocated <= num_to_alloc) {
697 if (num_allocated == num_to_alloc) {
703 num_allocated++;
709 num_allocated, ring->next2fill, ring->next2comp);
712 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp);
714 return num_allocated;
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_scsi.c6221 int num_allocated = 0; local
6303 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc);
6304 if (num_to_alloc != num_allocated) {
6309 num_to_alloc, num_allocated);
6311 if (num_allocated > 0)
6312 phba->total_scsi_bufs += num_allocated;

Completed in 185 milliseconds