pci_p2pdma_enable_show(9)
π pci_p2pdma_enable_show(9) β Kernel API Manual, bestie β¨
Okay so like, welcome to the Kernel API Manual page for pci_p2pdma_enable_show(9) and honestly? It's giving tiny-but-iconic. π
πΈ NAME πΈ
pci_p2pdma_enable_show β shows off a configfs/sysfs attribute that tells you whether p2pdma is enabled π
β¨ SYNOPSIS β¨
ssize_t pci_p2pdma_enable_show (char *page , struct pci_dev *p2p_dev ,
bool use_p2pdma );
Like, that's the whole signature. No cap, that's it. π«Ά
π¦ ARGUMENTS π¦
pageβ the contents of the stored value πp2p_devβ the selected p2p device (NULLif no device is selected π)use_p2pdmaβ whether p2pdma has been enabled or not β
π DESCRIPTION π
Bestie, listen β any attribute that uses pci_p2pdma_enable_store should use this function to show the value of the attribute. They're like a matching set, iykyk. π§
Returns 0 on success. Periodt. π
Not me being the show half of a store/show duo β main character energy fr fr. π₯
π SEE ALSO π
Kernel file ./drivers/pci/p2pdma.c β and literally the whole squad:
pcim_p2pdma_init(9)pcim_p2pdma_provider(9)pci_p2pdma_add_resource(9)pci_p2pdma_distance_many(9)pci_has_p2pmem(9)pci_p2pmem_find_many(9)pci_alloc_p2pmem(9)pci_free_p2pmem(9)pci_p2pmem_virt_to_bus(9)pci_p2pmem_alloc_sgl(9)pci_p2pmem_free_sgl(9)pci_p2pmem_publish(9)pci_p2pdma_map_type(9)pci_p2pdma_enable_store(9)
π Okay that's the page!! Sourced straight from ./drivers/pci, dated October 2026 β she's from the future and she ate. πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms