Lines Matching refs:otables
242 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup() local
248 if (!otables[i].enabled) in vmw_otable_batch_setup()
251 otables[i].size = PFN_ALIGN(otables[i].size); in vmw_otable_batch_setup()
252 bo_size += otables[i].size; in vmw_otable_batch_setup()
263 if (!batch->otables[i].enabled) in vmw_otable_batch_setup()
269 &otables[i]); in vmw_otable_batch_setup()
272 offset += otables[i].size; in vmw_otable_batch_setup()
279 if (batch->otables[i].enabled) in vmw_otable_batch_setup()
281 &batch->otables[i]); in vmw_otable_batch_setup()
303 struct vmw_otable **otables = &dev_priv->otable_batch.otables; in vmw_otables_setup() local
307 *otables = kmemdup(dx_tables, sizeof(dx_tables), GFP_KERNEL); in vmw_otables_setup()
308 if (!(*otables)) in vmw_otables_setup()
313 *otables = kmemdup(pre_dx_tables, sizeof(pre_dx_tables), in vmw_otables_setup()
315 if (!(*otables)) in vmw_otables_setup()
328 kfree(*otables); in vmw_otables_setup()
340 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
342 &batch->otables[i]); in vmw_otable_batch_takedown()
364 kfree(dev_priv->otable_batch.otables); in vmw_otables_takedown()