Searched refs:phys_len (Results 1 – 2 of 2) sorted by relevance
613 unsigned long phys_len; in imgu_pci_probe() local633 phys_len = pci_resource_len(pci_dev, IMGU_PCI_BAR); in imgu_pci_probe()641 &phys, phys_len); in imgu_pci_probe()691 r = imgu_css_init(&pci_dev->dev, &imgu->css, imgu->base, phys_len); in imgu_pci_probe()
1200 u64 phys_len, req_len, pgoff, req_start; in vfio_pci_mmap() local1223 phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); in vfio_pci_mmap()1229 if (req_start + req_len > phys_len) in vfio_pci_mmap()