ufshcd_pci_remove(9)
π ufshcd_pci_remove(9)
okay so bestie, welcome to the Kernel API Manual β this is the page for ufshcd_pci_remove, and honestly? it's giving cleanup era. β¨
πΈ NAME πΈ
ufshcd_pci_remove β de-allocate PCI/SCSI host and host memory space data structure memory π§Ή
like, it frees the stuff. the PCI/SCSI host data structure memory and the host memory space data structure memory. both of them. no cap.
β¨ SYNOPSIS β¨
void ufshcd_pci_remove (struct pci_dev *pdev );
returns void, so don't go looking for a return value, there isn't one, that's the whole vibe π
π ARGUMENTS π
pdevβ pointer to PCI handle π«Ά that's it, that's the one (1) argument, she's lowkey simple like that
π¦ SEE ALSO π¦
- Kernel file
./drivers/ufs/host/ufshcd-pci.cβ go read the source, iykyk π ufshcd_pci_probe(9)β the other half of the story, the setup to this cleanup, they're literally a matching set π
ngl this page is short but she ate. everything in its place, nothing extra, main character energy only π
mwah, that's the whole page β no bugs listed, no warnings, no exit statuses, just vibes and a very tidy de-allocation π
sign-off time π this iconic little page lives under ./drivers/ufs/host and it's dated October 2026 β remember it fondly, bestie, and go free that memory. πππΈ
π¦ 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