Searched refs:rcache (Results 1 – 2 of 2) sorted by relevance
672 static struct iova_magazine *iova_depot_pop(struct iova_rcache *rcache) in iova_depot_pop() argument674 struct iova_magazine *mag = rcache->depot; in iova_depot_pop()676 rcache->depot = mag->next; in iova_depot_pop()678 rcache->depot_size--; in iova_depot_pop()682 static void iova_depot_push(struct iova_rcache *rcache, struct iova_magazine *mag) in iova_depot_push() argument684 mag->next = rcache->depot; in iova_depot_push()685 rcache->depot = mag; in iova_depot_push()686 rcache->depot_size++; in iova_depot_push()691 struct iova_rcache *rcache = container_of(work, typeof(*rcache), work.work); in iova_depot_work_func() local695 spin_lock_irqsave(&rcache->lock, flags); in iova_depot_work_func()[all …]
284 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache, in vmw_execbuf_rcache_update() argument288 rcache->res = res; in vmw_execbuf_rcache_update()289 rcache->private = private; in vmw_execbuf_rcache_update()290 rcache->valid = 1; in vmw_execbuf_rcache_update()291 rcache->valid_handle = 0; in vmw_execbuf_rcache_update()318 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_val_add() local323 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add()324 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_val_add()327 rcache->private, dirty); in vmw_execbuf_res_val_add()355 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_val_add()[all …]