Lines Matching refs:gvt_dma
96 struct gvt_dma { struct
209 static struct gvt_dma *__gvt_cache_find_dma_addr(struct intel_vgpu *vgpu, in __gvt_cache_find_dma_addr()
213 struct gvt_dma *itr; in __gvt_cache_find_dma_addr()
216 itr = rb_entry(node, struct gvt_dma, dma_addr_node); in __gvt_cache_find_dma_addr()
228 static struct gvt_dma *__gvt_cache_find_gfn(struct intel_vgpu *vgpu, gfn_t gfn) in __gvt_cache_find_gfn()
231 struct gvt_dma *itr; in __gvt_cache_find_gfn()
234 itr = rb_entry(node, struct gvt_dma, gfn_node); in __gvt_cache_find_gfn()
249 struct gvt_dma *new, *itr; in __gvt_cache_add()
252 new = kzalloc(sizeof(struct gvt_dma), GFP_KERNEL); in __gvt_cache_add()
266 itr = rb_entry(parent, struct gvt_dma, gfn_node); in __gvt_cache_add()
281 itr = rb_entry(parent, struct gvt_dma, dma_addr_node); in __gvt_cache_add()
296 struct gvt_dma *entry) in __gvt_cache_remove_entry()
306 struct gvt_dma *dma; in gvt_cache_destroy()
316 dma = rb_entry(node, struct gvt_dma, gfn_node); in gvt_cache_destroy()
616 struct gvt_dma *entry; in intel_vgpu_dma_unmap()
1632 struct gvt_dma *entry; in intel_gvt_dma_map_guest_page()
1678 struct gvt_dma *entry; in intel_gvt_dma_pin_guest_page()
1697 struct gvt_dma *entry = container_of(ref, typeof(*entry), ref); in __gvt_dma_release()
1707 struct gvt_dma *entry; in intel_gvt_dma_unmap_guest_page()