pci_epc_destroy(9)
π pci_epc_destroy(9) π
okay so this is a page from the Kernel API Manual, and bestie, it's a short one but it's kind of a big deal β it's the goodbye button for an EPC device. let's get into it π«Ά
β¨ NAME β¨
pci_epc_destroy β destroy the EPC device π
like, literally tear it down. that's the whole job.
πΈ SYNOPSIS πΈ
void pci_epc_destroy (struct pci_epc *epc );
that's it. one argument, no return value, no drama. returns void because there's nothing to report back β you asked for destruction, you get destruction β¨
π ARGUMENTS π
epcβ the EPC device that has to be destroyed. this is the one, the main character of this whole operation. hand it over and it's getting destroyed, no cap π₯
π¦ DESCRIPTION π¦
Invoke this to destroy the PCI EPC device. that's the vibe check: you call it, the device goes away. genuinely that simple β no hidden lore, no secret parameters, just "invoke to destroy the PCI EPC device" and you're done π
ngl it's giving "short function, big consequences" energy β so make sure epc is actually the thing you want gone π
π SEE ALSO π
the whole friend group π«Ά β these all live in the kernel file ./drivers/pci/endpoint/pci-epc-core.c:
pci_epc_put(9)pci_epc_get(9)pci_epc_get_first_free_bar(9)pci_epc_get_next_free_bar(9)pci_epc_get_features(9)pci_epc_get_aux_resources_count(9)pci_epc_get_aux_resources(9)pci_epc_stop(9)pci_epc_start(9)pci_epc_raise_irq(9)pci_epc_map_msi_irq(9)pci_epc_get_msi(9)pci_epc_set_msi(9)pci_epc_get_msix(9)pci_epc_set_msix(9)pci_epc_unmap_addr(9)pci_epc_map_addr(9)pci_epc_mem_map(9)pci_epc_mem_unmap(9)pci_epc_clear_bar(9)pci_epc_set_bar(9)pci_epc_bar_size_to_rebar_cap(9)pci_epc_write_header(9)pci_epc_add_epf(9)pci_epc_remove_epf(9)pci_epc_linkup(9)pci_epc_linkdown(9)pci_epc_init_notify(9)pci_epc_notify_pending_init(9)pci_epc_deinit_notify(9)pci_epc_bus_master_enable_notify(9)__pci_epc_create(9)__devm_pci_epc_create(9)
iykyk π
and that's the page!! mwah π this came from ./drivers/pci/endpoint, dated October 2026, and it's filed under pci_epc_destroy(9) β go forth and destroy responsibly bestie πβ¨
π¦ 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