Searched refs:phys_len (Results 1 – 2 of 2) sorted by relevance
621 unsigned long phys_len; in imgu_pci_probe() local641 phys_len = pci_resource_len(pci_dev, IMGU_PCI_BAR); in imgu_pci_probe()649 &phys, phys_len); in imgu_pci_probe()700 r = imgu_css_init(&pci_dev->dev, &imgu->css, imgu->base, phys_len); in imgu_pci_probe()
1827 u64 phys_len, req_len, pgoff, req_start; in vfio_pci_core_mmap() local1852 phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); in vfio_pci_core_mmap()1858 if (req_start + req_len > phys_len) in vfio_pci_core_mmap()