STRUCT HL_DIO(9)
π struct hl_dio(9) β like, the whole vibe check π
okay so bestie, welcome to the Kernel API Manual β this one's struct hl_dio(9), and it's literally the glow-up page for the habanalabs direct storage interaction interface. yes, that's a mouthful, but we're gonna get through it together π«Ά
β¨ NAME β¨
struct hl_dio β ngl, this struct is the whole describes habanalabs direct storage interaction interface moment. it's giving "I hold the direct storage tea" π
πΈ SYNOPSIS πΈ
okay here's the actual struct, copy it exactly, no edits, no cap:
struct hl_dio {
struct hl_p2p_region *p2prs;
s64 __percpu *inflight_ios;
u8 np2prs;
u8 io_enabled;
};
like, look at her. four members. flawless. main character energy π
π Members π
breaking down every single one because we do not skip details in this group chat:
p2prsβ array of p2p regions. that's it, that's the whole thing, iconic β¨inflight_iosβ percpu counter for inflight ios. she's counting, per cpu, always watching πnp2prsβ number of elements inp2prs. so like, the size of the array bestie, keep up πio_enabledβ1if io is enabled,0otherwise. binary queen π
π₯ SEE ALSO π₯
go check these out, iykyk:
- Kernel file
./drivers/accel/habanalabs/common/hldio.h - struct
hl_p2p_region(9) - struct
hl_dio_stats(9)
fr fr, this struct is small but she contains multitudes. don't sleep on her π
and that's the page, bestie!! π cute little sign-off before you go: this whole thing lives in ./drivers/accel/habanalabs/common, dated October 2026, and yes β she's still struct hl_dio(9) through and through. slay, stay hydrated, read your headers ππ§
π¦ 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