Lines Matching defs:slot
717 static bool vfio_pci_dev_below_slot(struct pci_dev *pdev, struct pci_slot *slot)
720 if (pdev->bus == slot->bus)
721 return (pdev->slot == slot);
729 bool slot;
737 if (!walk->slot || vfio_pci_dev_below_slot(pdev, walk->pdev->slot))
746 bool slot)
749 .fn = fn, .data = data, .pdev = pdev, .slot = slot, .ret = 0,
1097 bool slot = false;
1110 /* Can we do a slot or bus reset or neither? */
1111 if (!pci_probe_reset_slot(vdev->pdev->slot))
1112 slot = true;
1119 &fill.max, slot);
1143 &fill, slot);
1172 bool slot = false;
1183 /* Can we do a slot or bus reset or neither? */
1184 if (!pci_probe_reset_slot(vdev->pdev->slot))
1185 slot = true;
1197 &count, slot);
1260 &info, slot);
1280 &devs, slot);
2244 bool slot = !pci_probe_reset_slot(vdev->pdev->slot);
2250 &vdev->reflck, slot) <= 0)
2337 * If a bus or slot reset is available for the provided device and:
2338 * - All of the devices affected by that bus or slot reset are unused
2342 * Then attempt to perform that bus or slot reset. Callers are required
2343 * to hold vdev->reflck->lock, protecting the bus/slot reset group from
2356 bool slot = false;
2359 if (!pci_probe_reset_slot(vdev->pdev->slot))
2360 slot = true;
2365 &i, slot) || !i)
2375 &devs, slot))