Lines Matching refs:otables
240 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup() local
246 if (!otables[i].enabled) in vmw_otable_batch_setup()
249 otables[i].size = in vmw_otable_batch_setup()
250 (otables[i].size + PAGE_SIZE - 1) & PAGE_MASK; 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()
298 struct vmw_otable **otables = &dev_priv->otable_batch.otables; in vmw_otables_setup() local
302 *otables = kmemdup(dx_tables, sizeof(dx_tables), GFP_KERNEL); in vmw_otables_setup()
303 if (!(*otables)) in vmw_otables_setup()
308 *otables = kmemdup(pre_dx_tables, sizeof(pre_dx_tables), in vmw_otables_setup()
310 if (!(*otables)) in vmw_otables_setup()
323 kfree(*otables); in vmw_otables_setup()
335 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
337 &batch->otables[i]); in vmw_otable_batch_takedown()
359 kfree(dev_priv->otable_batch.otables); in vmw_otables_takedown()