crossbar_domain_free(9)
π NAME π
okay so this is crossbar_domain_free(9), straight from the Kernel API Manual, and itβs literally the βunmap/free a crossbar<->irq connectionβ girlie. Bestie, this is the cleanup-core function you call when that connection needs to go bye-bye. π
β¨ SYNOPSIS β¨
void crossbar_domain_free (struct irq_domain *domain , unsigned int virq , unsigned int nr_irqs );
π ARGUMENTS π
domainβ the domain of the irq youβre unmapping, bestie.virqβ the virq number. iconic lil identifier.nr_irqsβ the number of irqs to free. yes maβam, count them.
π¦ DESCRIPTION π¦
okay so real talk: we do not maintain a use count of the total number of map/unmap calls for a particular irq, so thereβs no counter to check and find out if an irq can really be unmapped. not me explaining the whole vibe π
Why? Because unmap is called during irq_dispose_mapping(irq), and after that the irq is anyways unusable. So an explicit map has to be called after that. periodt. π₯
fr fr, this is the βafter irq_dispose_mapping(irq) itβs unusable, so map again explicitlyβ situation. no cap.
πΈ SEE ALSO πΈ
- Kernel file
./drivers/irqchip/irq-crossbar.c - struct
crossbar_device(9)
mwah π this cutie comes from ./drivers/irqchip, dated October 2026. drink water, 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