Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/mmu/
H A Dmmu.c895 * About rmap_head encoding:
897 * If the bit zero of rmap_head->val is clear, then it points to the only spte
898 * in this rmap chain. Otherwise, (rmap_head->val & ~3) points to a struct
922 static unsigned long __kvm_rmap_lock(struct kvm_rmap_head *rmap_head) in __kvm_rmap_lock()
934 old_val = atomic_long_read(&rmap_head->val); in __kvm_rmap_lock()
946 old_val = atomic_long_read(&rmap_head->val); in __kvm_rmap_lock()
967 } while (!atomic_long_try_cmpxchg_acquire(&rmap_head->val, &old_val, new_val)); in __kvm_rmap_lock()
978 struct kvm_rmap_head *rmap_head) in kvm_rmap_lock()
982 return __kvm_rmap_lock(rmap_head);
985 static void __kvm_rmap_unlock(struct kvm_rmap_head *rmap_head, in __kvm_rmap_unlock()
920 __kvm_rmap_lock(struct kvm_rmap_head * rmap_head) __kvm_rmap_lock() argument
976 kvm_rmap_lock(struct kvm * kvm,struct kvm_rmap_head * rmap_head) kvm_rmap_lock() argument
983 __kvm_rmap_unlock(struct kvm_rmap_head * rmap_head,unsigned long val) __kvm_rmap_unlock() argument
997 kvm_rmap_unlock(struct kvm * kvm,struct kvm_rmap_head * rmap_head,unsigned long new_val) kvm_rmap_unlock() argument
1005 kvm_rmap_get(struct kvm_rmap_head * rmap_head) kvm_rmap_get() argument
1015 kvm_rmap_lock_readonly(struct kvm_rmap_head * rmap_head) kvm_rmap_lock_readonly() argument
1028 kvm_rmap_unlock_readonly(struct kvm_rmap_head * rmap_head,unsigned long old_val) kvm_rmap_unlock_readonly() argument
1044 pte_list_add(struct kvm * kvm,struct kvm_mmu_memory_cache * cache,u64 * spte,struct kvm_rmap_head * rmap_head) pte_list_add() argument
1124 pte_list_remove(struct kvm * kvm,u64 * spte,struct kvm_rmap_head * rmap_head) pte_list_remove() argument
1160 kvm_zap_one_rmap_spte(struct kvm * kvm,struct kvm_rmap_head * rmap_head,u64 * sptep) kvm_zap_one_rmap_spte() argument
1168 kvm_zap_all_rmap_sptes(struct kvm * kvm,struct kvm_rmap_head * rmap_head) kvm_zap_all_rmap_sptes() argument
1197 pte_list_count(struct kvm_rmap_head * rmap_head) pte_list_count() argument
1226 struct kvm_rmap_head *rmap_head; rmap_remove() local
1278 rmap_get_first(struct kvm_rmap_head * rmap_head,struct rmap_iterator * iter) rmap_get_first() argument
1359 rmap_write_protect(struct kvm_rmap_head * rmap_head,bool pt_protect) rmap_write_protect() argument
1387 __rmap_clear_dirty(struct kvm * kvm,struct kvm_rmap_head * rmap_head,const struct kvm_memory_slot * slot) __rmap_clear_dirty() argument
1409 struct kvm_rmap_head *rmap_head; kvm_mmu_write_protect_pt_masked() local
1432 struct kvm_rmap_head *rmap_head; kvm_mmu_clear_dirty_pt_masked() local
1507 struct kvm_rmap_head *rmap_head; kvm_mmu_slot_gfn_write_protect() local
1533 kvm_zap_rmap(struct kvm * kvm,struct kvm_rmap_head * rmap_head,const struct kvm_memory_slot * slot) kvm_zap_rmap() argument
1713 struct kvm_rmap_head *rmap_head; __rmap_add() local
1743 struct kvm_rmap_head *rmap_head; kvm_rmap_age_gfn_range() local
7151 slot_rmap_write_protect(struct kvm * kvm,struct kvm_rmap_head * rmap_head,const struct kvm_memory_slot * slot) slot_rmap_write_protect() argument
7341 shadow_mmu_try_split_huge_pages(struct kvm * kvm,struct kvm_rmap_head * rmap_head,const struct kvm_memory_slot * slot) shadow_mmu_try_split_huge_pages() argument
7456 kvm_mmu_zap_collapsible_spte(struct kvm * kvm,struct kvm_rmap_head * rmap_head,const struct kvm_memory_slot * slot) kvm_mmu_zap_collapsible_spte() argument
[all...]