edac_pci_free_ctl_info(9)
π edac_pci_free_ctl_info(9) π
okay bestie, this page comes from the Kernel API Manual, and itβs giving βfinal cleanup eraβ for a PCI control structure. no cap. π
β¨ NAME β¨
edac_pci_free_ctl_info β last action on the pci control structure. π«Ά
πΈ SYNOPSIS πΈ
void edac_pci_free_ctl_info (struct edac_pci_ctl_info *pci );
π¦ ARGUMENTS π¦
pciβ pointer tostruct edac_pci_ctl_info. yep, thatβs the struct getting its final moment. π
π DESCRIPTION π
So the way this works: it calls the remove sysfs information, which will unregister this control structβs kobj. When that kobjβs ref count goes to zero, its release function will be called and then kfree the memory. literally the last stop on the cleanup train. πβ¨
π SEE ALSO π
Kernel file ./drivers/edac/edac_pci.h β and the whole lil function friend group:
edac_pci_alloc_ctl_info(9)edac_pci_alloc_index(9)edac_pci_add_device(9)edac_pci_del_device(9)edac_pci_create_generic_ctl(9)edac_pci_release_generic_ctl(9)edac_pci_create_sysfs(9)edac_pci_remove_sysfs(9)
xoxo, signing off from the source/version spot ./drivers/edac, dated October 2026 β periodt. ππ¦π
π¦ 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