closest_pdevs 615 drivers/pci/p2pdma.c struct pci_dev **closest_pdevs; closest_pdevs 617 drivers/pci/p2pdma.c const int max_devs = PAGE_SIZE / sizeof(*closest_pdevs); closest_pdevs 620 drivers/pci/p2pdma.c closest_pdevs = kmalloc(PAGE_SIZE, GFP_KERNEL); closest_pdevs 621 drivers/pci/p2pdma.c if (!closest_pdevs) closest_pdevs 638 drivers/pci/p2pdma.c pci_dev_put(closest_pdevs[i]); closest_pdevs 644 drivers/pci/p2pdma.c closest_pdevs[dev_cnt++] = pci_dev_get(pdev); closest_pdevs 648 drivers/pci/p2pdma.c pdev = pci_dev_get(closest_pdevs[prandom_u32_max(dev_cnt)]); closest_pdevs 651 drivers/pci/p2pdma.c pci_dev_put(closest_pdevs[i]); closest_pdevs 653 drivers/pci/p2pdma.c kfree(closest_pdevs);