Lines Matching refs:otables
241 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup() local
247 if (!otables[i].enabled) in vmw_otable_batch_setup()
250 otables[i].size = PFN_ALIGN(otables[i].size); in vmw_otable_batch_setup()
251 bo_size += otables[i].size; in vmw_otable_batch_setup()
260 if (!batch->otables[i].enabled) in vmw_otable_batch_setup()
265 &otables[i]); in vmw_otable_batch_setup()
268 offset += otables[i].size; in vmw_otable_batch_setup()
275 if (batch->otables[i].enabled) in vmw_otable_batch_setup()
277 &batch->otables[i]); in vmw_otable_batch_setup()
299 struct vmw_otable **otables = &dev_priv->otable_batch.otables; in vmw_otables_setup() local
303 *otables = kmemdup(dx_tables, sizeof(dx_tables), GFP_KERNEL); in vmw_otables_setup()
304 if (!(*otables)) in vmw_otables_setup()
309 *otables = kmemdup(pre_dx_tables, sizeof(pre_dx_tables), in vmw_otables_setup()
311 if (!(*otables)) in vmw_otables_setup()
324 kfree(*otables); in vmw_otables_setup()
336 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
338 &batch->otables[i]); in vmw_otable_batch_takedown()
361 kfree(dev_priv->otable_batch.otables); in vmw_otables_takedown()