Lines Matching refs:res_id
65 uint32_t res_id; member
224 res->res_id = client_res_id ? client_res_id : res->server_res_id; in vtest_new_resource()
236 virgl_renderer_resource_unref(res->res_id); in vtest_unref_resource()
1015 fd = vtest_new_shm(res->res_id, size); in vtest_create_resource_setup_shm()
1052 args->handle = res->res_id; in vtest_create_resource_internal()
1060 virgl_renderer_ctx_attach_resource(ctx->ctx_id, res->res_id); in vtest_create_resource_internal()
1066 [VTEST_CMD_DATA_START] = res->res_id, in vtest_create_resource_internal()
1095 virgl_renderer_resource_attach_iov(res->res_id, &res->iov, 1); in vtest_create_resource_internal()
1098 util_hash_table_set(ctx->resource_table, intptr_to_pointer(res->res_id), res); in vtest_create_resource_internal()
1159 args.res_handle = res->res_id; in vtest_resource_create_blob()
1193 ret = virgl_renderer_resource_export_blob(res->res_id, &fd_type, &fd); in vtest_resource_create_blob()
1206 virgl_renderer_ctx_attach_resource(ctx->ctx_id, res->res_id); in vtest_resource_create_blob()
1210 resp_buf[VTEST_CMD_DATA_START] = res->res_id; in vtest_resource_create_blob()
1228 util_hash_table_set(ctx->resource_table, intptr_to_pointer(res->res_id), res); in vtest_resource_create_blob()
1379 ret = virgl_renderer_transfer_read_iov(res->res_id, in vtest_transfer_get_internal()
1435 ret = virgl_renderer_transfer_write_iov(res->res_id, in vtest_transfer_put_internal()