Home
last modified time | relevance | path

Searched refs:gfn_node (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dkvmgt.c98 struct rb_node gfn_node; member
234 itr = rb_entry(node, struct gvt_dma, gfn_node); in __gvt_cache_find_gfn()
266 itr = rb_entry(parent, struct gvt_dma, gfn_node); in __gvt_cache_add()
273 rb_link_node(&new->gfn_node, parent, link); in __gvt_cache_add()
274 rb_insert_color(&new->gfn_node, &vgpu->gfn_cache); in __gvt_cache_add()
298 rb_erase(&entry->gfn_node, &vgpu->gfn_cache); in __gvt_cache_remove_entry()
316 dma = rb_entry(node, struct gvt_dma, gfn_node); in gvt_cache_destroy()
/Linux-v6.6/include/linux/
Dkvm_host.h582 struct rb_node gfn_node[2]; member
1049 iter->slot = container_of(iter->node, struct kvm_memory_slot, gfn_node[iter->slots->node_idx]); in kvm_memslot_iter_next()
1068 slot = container_of(tmp, struct kvm_memory_slot, gfn_node[idx]); in kvm_memslot_iter_start()
1096 iter->slot = container_of(iter->node, struct kvm_memory_slot, gfn_node[idx]); in kvm_memslot_iter_start()
1675 slot = container_of(node, struct kvm_memory_slot, gfn_node[idx]); in search_memslots()
/Linux-v6.6/arch/s390/kvm/
Dkvm-s390.h231 ms = container_of(node, struct kvm_memory_slot, gfn_node[slots->node_idx]); in kvm_s390_get_gfn_end()
Dkvm-s390.c2219 struct rb_node *mnode = &ms->gfn_node[slots->node_idx]; in kvm_s390_next_dirty_cmma()
2227 ms = container_of(mnode, struct kvm_memory_slot, gfn_node[slots->node_idx]); in kvm_s390_next_dirty_cmma()
2236 ms = container_of(mnode, struct kvm_memory_slot, gfn_node[slots->node_idx]); in kvm_s390_next_dirty_cmma()
/Linux-v6.6/virt/kvm/
Dkvm_main.c1454 tmp = container_of(*node, struct kvm_memory_slot, gfn_node[idx]); in kvm_insert_gfn_node()
1464 rb_link_node(&slot->gfn_node[idx], parent, node); in kvm_insert_gfn_node()
1465 rb_insert_color(&slot->gfn_node[idx], gfn_tree); in kvm_insert_gfn_node()
1471 rb_erase(&slot->gfn_node[slots->node_idx], &slots->gfn_tree); in kvm_erase_gfn_node()
1482 rb_replace_node(&old->gfn_node[idx], &new->gfn_node[idx], in kvm_replace_gfn_node()