Lines Matching refs:vmw_bo

1287 	struct vmw_buffer_object *vmw_bo = NULL;  in vmw_translate_mob_ptr()  local
1292 ret = vmw_user_bo_lookup(sw_context->fp->tfile, handle, &vmw_bo, NULL); in vmw_translate_mob_ptr()
1310 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, true, &reloc->index); in vmw_translate_mob_ptr()
1314 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr()
1318 vmw_bo_unreference(&vmw_bo); in vmw_translate_mob_ptr()
1347 struct vmw_buffer_object *vmw_bo = NULL; in vmw_translate_guest_ptr() local
1352 ret = vmw_user_bo_lookup(sw_context->fp->tfile, handle, &vmw_bo, NULL); in vmw_translate_guest_ptr()
1369 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, false, &reloc->index); in vmw_translate_guest_ptr()
1373 *vmw_bo_p = vmw_bo; in vmw_translate_guest_ptr()
1377 vmw_bo_unreference(&vmw_bo); in vmw_translate_guest_ptr()
1448 struct vmw_buffer_object *vmw_bo; in vmw_cmd_dx_bind_query() local
1459 &vmw_bo); in vmw_cmd_dx_bind_query()
1464 sw_context->dx_query_mob = vmw_bo; in vmw_cmd_dx_bind_query()
1467 vmw_bo_unreference(&vmw_bo); in vmw_cmd_dx_bind_query()
1550 struct vmw_buffer_object *vmw_bo; in vmw_cmd_end_gb_query() local
1564 &vmw_bo); in vmw_cmd_end_gb_query()
1568 ret = vmw_query_bo_switch_prepare(dev_priv, vmw_bo, sw_context); in vmw_cmd_end_gb_query()
1570 vmw_bo_unreference(&vmw_bo); in vmw_cmd_end_gb_query()
1585 struct vmw_buffer_object *vmw_bo; in vmw_cmd_end_query() local
1618 &vmw_bo); in vmw_cmd_end_query()
1622 ret = vmw_query_bo_switch_prepare(dev_priv, vmw_bo, sw_context); in vmw_cmd_end_query()
1624 vmw_bo_unreference(&vmw_bo); in vmw_cmd_end_query()
1639 struct vmw_buffer_object *vmw_bo; in vmw_cmd_wait_gb_query() local
1653 &vmw_bo); in vmw_cmd_wait_gb_query()
1657 vmw_bo_unreference(&vmw_bo); in vmw_cmd_wait_gb_query()
1672 struct vmw_buffer_object *vmw_bo; in vmw_cmd_wait_query() local
1705 &vmw_bo); in vmw_cmd_wait_query()
1709 vmw_bo_unreference(&vmw_bo); in vmw_cmd_wait_query()
1717 struct vmw_buffer_object *vmw_bo = NULL; in vmw_cmd_dma() local
1739 &vmw_bo); in vmw_cmd_dma()
1744 bo_size = vmw_bo->base.num_pages * PAGE_SIZE; in vmw_cmd_dma()
1765 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, in vmw_cmd_dma()
1769 vmw_bo_unreference(&vmw_bo); in vmw_cmd_dma()
1888 struct vmw_buffer_object *vmw_bo; in vmw_cmd_check_define_gmrfb() local
1898 &vmw_bo); in vmw_cmd_check_define_gmrfb()
1902 vmw_bo_unreference(&vmw_bo); in vmw_cmd_check_define_gmrfb()