msi_free_msi_descs_range(9)
β¨ NAME β¨
msi_free_msi_descs_range β Free a range of MSI descriptors of a device in the default irqdomain
Okay so literally what it says on the tin, bestie. This function is all about freeing a range of MSI descriptors for a device in the default irqdomain. It's giving cleanup era. π
πΈ SYNOPSIS πΈ
void msi_free_msi_descs_range (struct device *dev , unsigned int first , unsigned int last );
π ARGUMENTS π
devβ Device for which to free the descriptors. Like, the device whose descriptors you're freeing. No cap, it's that simple. π«Άfirstβ Index to start freeing from (inclusive). So you're starting right here, and yes, this index is included. Fr fr. β¨lastβ Last index to be freed (inclusive). This is the final index you're freeing, and it's included too. Slay. π
Bestie, this is kernel API, so handle with care. But you got this! πͺ
π SEE ALSO π
Bestie, if you wanna go deeper (and why wouldn't you?), check out the kernel file ./include/linux/msi.h. It's lowkey iconic. And while you're there, these are all the related structs and functions you might wanna vibe with:
struct msi_msg(9)struct pci_msi_desc(9)union msi_domain_cookie(9)struct msi_desc_data(9)struct msi_desc(9)struct msi_dev_domain(9)msi_first_desc(9)msi_domain_for_each_desc(9)msi_for_each_desc(9)msi_msg_set_addr(9)msi_insert_msi_desc(9)msi_free_msi_descs(9)struct msi_domain_ops(9)struct msi_domain_info(9)struct msi_domain_template(9)struct msi_parent_ops(9)
And that's the tea! π This manual page is from ./include/linux, dated October 2026, and it's all about msi_free_msi_descs_range(9). Stay iconic, 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