Searched refs:pci_p2pdma_distance (Results 1 – 5 of 5) sorted by relevance
96 static inline int pci_p2pdma_distance(struct pci_dev *provider, in pci_p2pdma_distance() function
61 if (pci_p2pdma_distance(adev->pdev, attach->dev, false) < 0) in amdgpu_dma_buf_attach()
5649 !(pci_p2pdma_distance(adev->pdev, peer_adev->dev, false) < 0); in amdgpu_device_is_peer_accessible()
109 :c:func:`pci_p2pdma_distance()` otherwise it may find a memory provider
475 ret = pci_p2pdma_distance(ns->p2p_dev, nvmet_ns_dev(ns), true); in nvmet_p2pmem_ns_enable()513 ret = pci_p2pdma_distance(ns->p2p_dev, ctrl->p2p_client, true); in nvmet_p2pmem_ns_add_p2p()