Lines Matching refs:otables
240 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup() local
250 if (!otables[i].enabled) in vmw_otable_batch_setup()
253 otables[i].size = in vmw_otable_batch_setup()
254 (otables[i].size + PAGE_SIZE - 1) & PAGE_MASK; in vmw_otable_batch_setup()
255 bo_size += otables[i].size; in vmw_otable_batch_setup()
279 if (!batch->otables[i].enabled) in vmw_otable_batch_setup()
284 &otables[i]); in vmw_otable_batch_setup()
287 offset += otables[i].size; in vmw_otable_batch_setup()
296 if (batch->otables[i].enabled) in vmw_otable_batch_setup()
298 &batch->otables[i]); in vmw_otable_batch_setup()
320 struct vmw_otable **otables = &dev_priv->otable_batch.otables; in vmw_otables_setup() local
324 *otables = kmemdup(dx_tables, sizeof(dx_tables), GFP_KERNEL); in vmw_otables_setup()
325 if (!(*otables)) in vmw_otables_setup()
330 *otables = kmemdup(pre_dx_tables, sizeof(pre_dx_tables), in vmw_otables_setup()
332 if (!(*otables)) in vmw_otables_setup()
345 kfree(*otables); in vmw_otables_setup()
357 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
359 &batch->otables[i]); in vmw_otable_batch_takedown()
381 kfree(dev_priv->otable_batch.otables); in vmw_otables_takedown()