Lines Matching refs:so

12  * permit persons to whom the Software is furnished to do so, subject to
92 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
99 if (!list_empty(&so->cotable_head) || !so->committed )
102 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), so->ctx->id);
108 cmd->body.soid = so->id;
111 cmd->body.sizeInBytes = so->size;
114 vmw_cotable_add_resource(so->cotable, &so->cotable_head);
122 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
125 WARN_ON_ONCE(!so->committed);
133 res->id = so->id;
164 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
170 if (list_empty(&so->cotable_head))
173 WARN_ON_ONCE(!so->committed);
175 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), so->ctx->id);
184 cmd->body.sizeInBytes = so->size;
188 list_del_init(&so->cotable_head);
223 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
227 vmw_cotable_add_resource(so->cotable, &so->cotable_head);
228 so->committed = true;
229 res->id = so->id;
233 list_del_init(&so->cotable_head);
234 so->committed = false;
257 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
259 vmw_resource_unreference(&so->cotable);
260 kfree(so);
282 struct vmw_dx_streamoutput *so;
287 so = kmalloc(sizeof(*so), GFP_KERNEL);
288 if (!so) {
292 res = &so->res;
293 so->ctx = ctx;
294 so->cotable = vmw_resource_reference
296 so->id = user_key;
297 so->committed = false;
298 INIT_LIST_HEAD(&so->cotable_head);
310 res->id = so->id;
326 struct vmw_dx_streamoutput *so = vmw_res_to_dx_streamoutput(res);
328 so->size = size;