Lines Matching refs:otables
250 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup() local
256 if (!otables[i].enabled) in vmw_otable_batch_setup()
259 otables[i].size = PFN_ALIGN(otables[i].size); in vmw_otable_batch_setup()
260 bo_size += otables[i].size; in vmw_otable_batch_setup()
269 if (!batch->otables[i].enabled) in vmw_otable_batch_setup()
274 &otables[i]); in vmw_otable_batch_setup()
277 offset += otables[i].size; in vmw_otable_batch_setup()
284 if (batch->otables[i].enabled) in vmw_otable_batch_setup()
286 &batch->otables[i]); in vmw_otable_batch_setup()
308 struct vmw_otable **otables = &dev_priv->otable_batch.otables; in vmw_otables_setup() local
312 *otables = kmemdup(dx_tables, sizeof(dx_tables), GFP_KERNEL); in vmw_otables_setup()
313 if (!(*otables)) in vmw_otables_setup()
318 *otables = kmemdup(pre_dx_tables, sizeof(pre_dx_tables), in vmw_otables_setup()
320 if (!(*otables)) in vmw_otables_setup()
333 kfree(*otables); in vmw_otables_setup()
345 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
347 &batch->otables[i]); in vmw_otable_batch_takedown()
370 kfree(dev_priv->otable_batch.otables); in vmw_otables_takedown()