hl_eq_fini(9)
π hl_eq_fini(9) β like, the Kernel API Manual era π
okay so bestie, welcome to the Kernel API Manual, section 9 β we're in the deep end of the pool now and honestly? it's giving main character energy. today's episode: hl_eq_fini, which is the "destroy event queue" girlie. she's the cleanup crew. the closer. the one who turns the lights off. π
β¨ NAME β¨
hl_eq_fini β destroy event queue π§¨
like, she destroys the event queue. that's the whole gig. no cap.
πΈ SYNOPSIS πΈ
void hl_eq_fini (struct hl_device *hdev , struct hl_eq *q );
yep that's it, that's the whole function. returns void, so she gives you nothing back β and honestly, respect. π
π¦ ARGUMENTS π¦
hdevβ pointer to device structure π«Ά (your device, your main squeeze, thestruct hl_devicein question)qβ pointer to eq structure π (the eq in question, i.e. the event queue we're about to send off)
two pointers, zero drama. she just needs to know which device and which queue.
π DESCRIPTION π
Free the event queue memory.
literally that's the description. free the memory. release it. let it go. ποΈ the event queue memory gets freed and that is the entire vibe of this function β no extra steps, no surprises, no secret side quests.
ngl this is a short one, bestie β don't go looking for options, there are none, she has no flags, she is unbothered and unconfigurable. π
π SEE ALSO π
Kernel file ./drivers/accel/habanalabs/common/irq.c and struct hl_eqe_work(9), plus the whole friend group:
hl_cq_inc_ptr(9)hl_eq_inc_ptr(9)job_finish(9)cs_finish(9)hl_irq_handler_cq(9)hl_irq_user_interrupt_handler(9)hl_irq_user_interrupt_thread_handler(9)hl_irq_handler_eq(9)hl_irq_handler_dec_abnrm(9)hl_cq_init(9)hl_cq_fini(9)hl_eq_init(9)
iykyk β go read hl_eq_init(9) first if you wanna see her origin story, and hl_cq_fini(9) if you want the completion-queue twin. β¨
and that's the page, bestie!! ππ source + version vibes come from ./drivers/accel/habanalabs/common, dated October 2026 β so mark your calendar, this one's from the future. mwah, slay, bye! π¦π
π¦ 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