__msi_unlock_descs(9)
π __msi_unlock_descs(9) β like, the Kernel API Manual, bestie π
okay so this is __msi_unlock_descs, and it lives in the Kernel API Manual (section 9, obviously π
). Let's get into it β¨
β¨ NAME β¨
__msi_unlock_descs β the function that unlocks the MSI descriptor storage of a device ππ«Ά
πΈ SYNOPSIS πΈ
void __msi_unlock_descs (struct device *dev );
like yes that's the whole signature, she's short and sweet π
π¦ ARGUMENTS π¦
devβ the Device to operate on, periodt. That's the one you're unlocking the storage for π
π DESCRIPTION π
so this is an internal function for guard(msi_descs_lock) β iykyk, it's the cleanup half of that guard thing π§
β οΈ bestie listen to me: Don't use in code. fr fr, it's not for you, it's an internal helper and using it is not the vibe ππ
π SEE ALSO π
lowkey a whole friend group of related stuff, so here's everybody π
Kernel file ./kernel/irq/msi.c plus:
struct msi_device_data(9)struct msi_ctrl(9)msi_alloc_desc(9)msi_domain_insert_msi_desc(9)msi_domain_free_msi_descs_range(9)msi_domain_add_simple_msi_descs(9)msi_setup_device_data(9)__msi_lock_descs(9)β her literal counterpart, the lock to this unlock π«Άmsi_domain_first_desc(9)msi_next_desc(9)msi_domain_get_virq(9)msi_device_populate_sysfs(9)msi_device_destroy_sysfs(9)msi_domain_set_affinity(9)msi_create_irq_domain(9)msi_create_parent_irq_domain(9)msi_parent_init_dev_msi_info(9)msi_create_device_irq_domain(9)msi_remove_device_irq_domain(9)msi_match_device_irq_domain(9)msi_domain_alloc_irqs_range_locked(9)msi_domain_alloc_irqs_range(9)msi_domain_alloc_irqs_all_locked(9)msi_domain_alloc_irq_at(9)msi_device_domain_alloc_wired(9)msi_domain_free_irqs_range_locked(9)msi_domain_free_irqs_range(9)msi_domain_free_irqs_all_locked(9)msi_domain_free_irqs_all(9)msi_device_domain_free_wired(9)msi_get_domain_info(9)msi_device_has_isolated_msi(9)
π okay that's the whole page!! this one came from ./kernel/irq, dated October 2026, and she's filed under __msi_unlock_descs(9) β slay, go unlock responsibly (or, y'know, don't, because internal function π) πβ¨π¦
π¦ 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