Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Diova.c673 static struct iova_magazine *iova_depot_pop(struct iova_rcache *rcache) in iova_depot_pop() argument
675 struct iova_magazine *mag = rcache->depot; in iova_depot_pop()
682 rcache->depot = mag->next; in iova_depot_pop()
684 rcache->depot_size--; in iova_depot_pop()
688 static void iova_depot_push(struct iova_rcache *rcache, struct iova_magazine *mag) in iova_depot_push() argument
690 mag->next = rcache->depot; in iova_depot_push()
691 rcache->depot = mag; in iova_depot_push()
692 rcache->depot_size++; in iova_depot_push()
697 struct iova_rcache *rcache = container_of(work, typeof(*rcache), work.work); in iova_depot_work_func() local
701 spin_lock_irqsave(&rcache->lock, flags); in iova_depot_work_func()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c266 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache, in vmw_execbuf_rcache_update() argument
270 rcache->res = res; in vmw_execbuf_rcache_update()
271 rcache->private = private; in vmw_execbuf_rcache_update()
272 rcache->valid = 1; in vmw_execbuf_rcache_update()
273 rcache->valid_handle = 0; in vmw_execbuf_rcache_update()
300 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_val_add() local
305 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add()
306 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_val_add()
309 rcache->private, dirty); in vmw_execbuf_res_val_add()
337 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_val_add()
[all …]