Lines Matching refs:root_entry
150 struct root_entry {
154 #define ROOT_ENTRY_NR (VTD_PAGE_SIZE/sizeof(struct root_entry))
155 static inline bool root_present(struct root_entry *root)
159 static inline void set_root_present(struct root_entry *root)
163 static inline void set_root_value(struct root_entry *root, unsigned long value)
169 get_context_addr_from_root(struct root_entry *root)
605 struct root_entry *root;
611 root = &iommu->root_entry[bus];
632 struct root_entry *root;
638 root = &iommu->root_entry[bus];
652 struct root_entry *root;
657 root = &iommu->root_entry[bus];
669 struct root_entry *root;
675 if (!iommu->root_entry) {
679 root = &iommu->root_entry[i];
684 free_pgtable_page(iommu->root_entry);
685 iommu->root_entry = NULL;
846 struct root_entry *root;
849 root = (struct root_entry *)alloc_pgtable_page(iommu->node);
856 iommu->root_entry = root;
868 addr = iommu->root_entry;