STRUCT HL_DIO_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct hl_dio_stats(9) β€” like, the Kernel API Manual, bestie πŸŽ€

okay so welcome to the Kernel API Manual page for struct hl_dio_stats, and honestly? it's giving "let me count my Direct I/O wins and losses" and I'm obsessed. ✨


🌸 NAME 🌸

struct hl_dio_stats β€” Direct I/O statistics. that's it, that's the vibe. it's a little struct that keeps receipts on your DIO ops. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, here's the whole shape of her. every field, verbatim, no cap:

struct hl_dio_stats {
    u64 total_ops;
    u64 successful_ops;
    u64 failed_ops;
    u64 bytes_transferred;
    size_t last_len_read;
 };

✨ Members ✨

  • total_ops β€” total number of operations attempted. like, every single one that showed up to the party, whether it slayed or flopped. 🫢
  • successful_ops β€” number of successful operations. the ones that ate and left no crumbs. πŸ‘‘
  • failed_ops β€” number of failed operations. it happens, we don't talk about it, but the struct does keep count. πŸ’€
  • bytes_transferred β€” total bytes successfully transferred. only the successes get counted here, so it's the good-good number. πŸ”₯
  • last_len_read β€” length of the last read operation. yes, just the last one. main character read energy, iykyk. πŸŽ€

πŸ’œ SEE ALSO πŸ’œ

go touch grass in these files fr fr:

  • Kernel file ./drivers/accel/habanalabs/common/hldio.h struct hl_p2p_region(9), struct hl_dio(9)

🌈 lowkey reminder: keep every field spelled exactly like above, because the kernel does not do typos and neither should you πŸ’–

and that's the page, bestie!! mwah πŸ’‹ this lil beauty lives in ./drivers/accel/habanalabs/common and the version/date stamp on the original was October 2026 β€” so yeah, future-dated icon behavior, we love to see it. β­πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from