Lines Matching refs:tmp

896 	unsigned long tmp;
906 tmp = align_to_level(start_pfn, level);
909 if (tmp + level_size(level) - 1 > last_pfn)
914 first_pte = pte = dma_pfn_level_pte(domain, tmp, level, &large_page);
918 tmp = align_to_level(tmp + 1, level + 1);
927 tmp += level_size(level);
929 tmp + level_size(level) - 1 <= last_pfn);
934 } while (tmp && tmp + level_size(level) - 1 <= last_pfn);
1677 struct pci_dev *tmp, *parent;
1686 tmp = pci_find_upstream_pcie_bridge(pdev);
1687 if (!tmp)
1691 while (parent != tmp) {
1700 if (pci_is_pcie(tmp)) /* this is a PCIe-to-PCI bridge */
1702 pci_domain_nr(tmp->subordinate),
1703 tmp->subordinate->number, 0,
1707 pci_domain_nr(tmp->bus),
1708 tmp->bus->number,
1709 tmp->devfn,
1716 struct pci_dev *tmp, *parent;
1728 tmp = pci_find_upstream_pcie_bridge(pdev);
1729 if (!tmp)
1733 while (parent != tmp) {
1740 if (pci_is_pcie(tmp))
1741 return device_context_mapped(iommu, tmp->subordinate->number,
1744 return device_context_mapped(iommu, tmp->bus->number,
1745 tmp->devfn);
1810 uint64_t tmp;
1836 tmp = cmpxchg64_local(&pte->val, 0ULL, pteval);
1837 if (tmp) {
1840 iov_pfn, tmp, (unsigned long long)pteval);
1957 struct device_domain_info *info, *tmp;
2037 list_for_each_entry(tmp, &device_domain_list, global) {
2038 if (tmp->segment == segment &&
2039 tmp->bus == bus && tmp->devfn == devfn) {
2040 found = tmp->domain;
3691 struct pci_dev *tmp, *parent;
3697 tmp = pci_find_upstream_pcie_bridge(pdev);
3699 if (tmp) {
3701 while (parent != tmp) {
3706 if (pci_is_pcie(tmp)) /* this is a PCIe-to-PCI bridge */
3708 tmp->subordinate->number, 0);
3710 iommu_detach_dev(iommu, tmp->bus->number,
3711 tmp->devfn);
3722 struct list_head *entry, *tmp;
3730 list_for_each_safe(entry, tmp, &domain->devices) {