epf_ntb_mw_bar_clear(9)
π epf_ntb_mw_bar_clear(9) β like, the Kernel API Manual, bestie
okay so. welcome to the Kernel API Manual, specifically the page for epf_ntb_mw_bar_clear β¨ this one's short and sweet and honestly kinda iconic for it.
πΈ NAME πΈ
epf_ntb_mw_bar_clear β clears Memory window BARs. that's it. that's the whole job. she's a one-task queen π
π SYNOPSIS π
void epf_ntb_mw_bar_clear (struct epf_ntb *ntb , int num_mws );
so she returns void (nothing back, no receipts, no drama) and takes a struct epf_ntb * plus an int. that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
ntbβ the NTB device that facilitates communication between HOST and VHOST. like, she's the whole reason these two are even talking to each other π¬num_mwsβ the number of Memory window BARs that to be cleared. yes. that many. exactly that many π
ngl this one's a tiny page, so there's really not much more to say β two args, one job, zero complications π§
π₯ SEE ALSO π₯
first up, the kernel file this whole thing lives in β go read it, iykyk:
- Kernel file
./drivers/pci/endpoint/functions/pci-epf-vntb.c
and the whole friend group / extended family of related functions, in the order the page gives them π
epf_ntb_link_up(9)epf_ntb_configure_mw(9)epf_ntb_teardown_mw(9)epf_ntb_cmd_handler(9)epf_ntb_config_sspad_bar_clear(9)epf_ntb_config_sspad_bar_set(9)epf_ntb_config_spad_bar_free(9)epf_ntb_config_spad_bar_alloc(9)epf_ntb_configure_interrupt(9)epf_ntb_db_bar_init(9)epf_ntb_db_bar_clear(9)epf_ntb_mw_bar_init(9)epf_ntb_is_bar_used(9)epf_ntb_find_bar(9)epf_ntb_init_epc_bar(9)epf_ntb_epc_init(9)epf_ntb_epc_cleanup(9)epf_ntb_add_cfs(9)epf_ntb_bind(9)epf_ntb_unbind(9)epf_ntb_probe(9)
and that's the page!! short, clear, cleared some BARs πβ¨
sign-off time π this beauty comes from ./drivers/pci/endpoint/functions, dated October 2026, and she's filed under epf_ntb_mw_bar_clear(9) β 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