__msi_lock_descs(9)
π __msi_lock_descs(9) π
okay bestie, welcome to the Kernel API Manual page for __msi_lock_descs(9) β yes, the manual name is folded right in here because we're doing this properly. β¨
πΈ NAME πΈ
__msi_lock_descs β Lock the MSI descriptor storage of a device. Like, it locks the MSI descriptor storage for a device, no cap. π
π«Ά SYNOPSIS π«Ά
void __msi_lock_descs (struct device *dev );
π ARGUMENTS π
devβ Device to operate on. The device we're operating on, fr fr. π«Ά
π DESCRIPTION π
So this one is an internal function for guard(msi_descs_lock). That's the whole description, bestie β it's giving internal-only energy.
π¨ bestie, don't use it in code. The manpage literally says Don't use in code, and we are not fighting the manpage on this. π
π SEE ALSO π
Kernel file: ./kernel/irq/msi.c. Also, go check out these iconic references:
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_unlock_descs(9)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)
that's the page, bestie π«Ά source/version: ./kernel/irq Β· date: October 2026 Β· now go off and lock those descriptors (but not from your own code, remember?) π
β¨
π¦ 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