Lines Matching refs:pte_list
924 unsigned long *pte_list) in pte_list_add() argument
929 if (!*pte_list) { in pte_list_add()
931 *pte_list = (unsigned long)spte; in pte_list_add()
932 } else if (!(*pte_list & 1)) { in pte_list_add()
935 desc->sptes[0] = (u64 *)*pte_list; in pte_list_add()
937 *pte_list = (unsigned long)desc | 1; in pte_list_add()
941 desc = (struct pte_list_desc *)(*pte_list & ~1ul); in pte_list_add()
958 pte_list_desc_remove_entry(unsigned long *pte_list, struct pte_list_desc *desc, in pte_list_desc_remove_entry() argument
970 *pte_list = (unsigned long)desc->sptes[0]; in pte_list_desc_remove_entry()
975 *pte_list = (unsigned long)desc->more | 1; in pte_list_desc_remove_entry()
979 static void pte_list_remove(u64 *spte, unsigned long *pte_list) in pte_list_remove() argument
985 if (!*pte_list) { in pte_list_remove()
988 } else if (!(*pte_list & 1)) { in pte_list_remove()
990 if ((u64 *)*pte_list != spte) { in pte_list_remove()
994 *pte_list = 0; in pte_list_remove()
997 desc = (struct pte_list_desc *)(*pte_list & ~1ul); in pte_list_remove()
1002 pte_list_desc_remove_entry(pte_list, in pte_list_remove()
1016 static void pte_list_walk(unsigned long *pte_list, pte_list_walk_fn fn) in pte_list_walk() argument
1021 if (!*pte_list) in pte_list_walk()
1024 if (!(*pte_list & 1)) in pte_list_walk()
1025 return fn((u64 *)*pte_list); in pte_list_walk()
1027 desc = (struct pte_list_desc *)(*pte_list & ~1ul); in pte_list_walk()