pci_epc_get_first_free_bar(9)
π NAME π
okay bestie, welcome to pci_epc_get_first_free_bar(9) β yes, that's the title, and the manual name is Kernel API Manual. The function's whole gig is: pci_epc_get_first_free_bar β helper to get first unreserved BAR β¨
β¨ SYNOPSIS β¨
enum pci_barno pci_epc_get_first_free_bar (const struct pci_epc_features
*epc_features );
π ARGUMENTS π
epc_featuresβ thepci_epc_featuresstructure that holds the reserved bar bitmap. She's literally carrying the receipts for which BARs are reserved π
π¦ DESCRIPTION π¦
Invoke this when you need to get the first unreserved BAR that can be used by the endpoint function. That's the vibe: first free BAR, no cap π«Ά
π SEE ALSO π
Kernel file: ./drivers/pci/endpoint/pci-epc-core.c β and here's the whole squad, bestie:
pci_epc_put(9)pci_epc_get(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_destroy(9)__pci_epc_create(9)__devm_pci_epc_create(9)
okay that's the whole page, bestie π cute little sign-off: source/version is ./drivers/pci/endpoint, date is October 2026, and the manual title is pci_epc_get_first_free_bar(9) πβ¨
π¦ 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