Home
last modified time | relevance | path

Searched refs:rcache (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iommu/
H A Diova.c733 struct iova_rcache *rcache; in iova_domain_init_rcaches() local
737 rcache->depot_size = 0; in iova_domain_init_rcaches()
796 spin_lock(&rcache->lock); in __iova_rcache_insert()
798 rcache->depot[rcache->depot_size++] = in __iova_rcache_insert()
856 spin_lock(&rcache->lock); in __iova_rcache_get()
859 cpu_rcache->loaded = rcache->depot[--rcache->depot_size]; in __iova_rcache_get()
895 struct iova_rcache *rcache; in free_iova_rcaches() local
902 if (!rcache->cpu_rcaches) in free_iova_rcaches()
924 struct iova_rcache *rcache; in free_cpu_cached_iovas() local
943 struct iova_rcache *rcache; in free_global_cached_iovas() local
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c287 rcache->res = res; in vmw_execbuf_rcache_update()
288 rcache->private = private; in vmw_execbuf_rcache_update()
289 rcache->valid = 1; in vmw_execbuf_rcache_update()
290 rcache->valid_handle = 0; in vmw_execbuf_rcache_update()
323 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_val_add()
655 if (likely(rcache->valid_handle && *id_loc == rcache->handle)) { in vmw_cmd_res_check()
656 res = rcache->res; in vmw_cmd_res_check()
680 if (rcache->valid && rcache->res == res) { in vmw_cmd_res_check()
682 rcache->handle = *id_loc; in vmw_cmd_res_check()
856 if (rcache->valid && rcache->res == res) in vmw_execbuf_info_from_res()
[all …]