pci_p2pdma_enable_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 (NULL if 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:


πŸ’œ 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