Searched refs:phys_len (Results 1 – 2 of 2) sorted by relevance
622 unsigned long phys_len; in imgu_pci_probe() local642 phys_len = pci_resource_len(pci_dev, IMGU_PCI_BAR); in imgu_pci_probe()650 &phys, phys_len); in imgu_pci_probe()701 r = imgu_css_init(&pci_dev->dev, &imgu->css, imgu->base, phys_len); in imgu_pci_probe()
1728 u64 phys_len, req_len, pgoff, req_start; in vfio_pci_core_mmap() local1753 phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); in vfio_pci_core_mmap()1759 if (req_start + req_len > phys_len) in vfio_pci_core_mmap()