Lines Matching refs:rcache

278 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache,  in vmw_execbuf_rcache_update()  argument
282 rcache->res = res; in vmw_execbuf_rcache_update()
283 rcache->private = private; in vmw_execbuf_rcache_update()
284 rcache->valid = 1; in vmw_execbuf_rcache_update()
285 rcache->valid_handle = 0; in vmw_execbuf_rcache_update()
306 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_noref_val_add() local
311 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noref_val_add()
312 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_noref_val_add()
315 rcache->private, dirty); in vmw_execbuf_res_noref_val_add()
337 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_noref_val_add()
355 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_noctx_val_add() local
360 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noctx_val_add()
361 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_noctx_val_add()
364 rcache->private, dirty); in vmw_execbuf_res_noctx_val_add()
373 vmw_execbuf_rcache_update(rcache, res, ptr); in vmw_execbuf_res_noctx_val_add()
654 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; in vmw_cmd_res_check() local
669 if (likely(rcache->valid_handle && *id_loc == rcache->handle)) { in vmw_cmd_res_check()
670 res = rcache->res; in vmw_cmd_res_check()
673 rcache->private, dirty); in vmw_cmd_res_check()
693 if (rcache->valid && rcache->res == res) { in vmw_cmd_res_check()
694 rcache->valid_handle = true; in vmw_cmd_res_check()
695 rcache->handle = *id_loc; in vmw_cmd_res_check()
862 struct vmw_res_cache_entry *rcache = in vmw_execbuf_info_from_res() local
865 if (rcache->valid && rcache->res == res) in vmw_execbuf_info_from_res()
866 return rcache->private; in vmw_execbuf_info_from_res()