ENUM HCTX_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

enum hctx_type β€” the type of hardware queue, bestie. That's it, that's the whole vibe check πŸ’…

So this is a page straight out of the Kernel API Manual, and lowkey it's a tiny one β€” but it's iconic for what it does, fr fr.


✨ SYNOPSIS ✨

enum hctx_type {
    HCTX_TYPE_DEFAULT ,
    HCTX_TYPE_READ ,
    HCTX_TYPE_POLL ,
    HCTX_MAX_TYPES

};

Look at her. Four little members, no cap, and she runs the whole hardware-queue situation 🫢


πŸŽ€ CONSTANTS πŸŽ€

Okay so here's the breakdown of every single one of them β€” every flag gets its moment, no member left behind πŸ‘‘

  • HCTX_TYPE_DEFAULT β€” the catch-all queen πŸ‘‘ β€” all I/O that's not otherwise accounted for. If it doesn't fit anywhere else, it goes here, periodt.
  • HCTX_TYPE_READ β€” the one that's just for READ I/O. Reads only. Nothing else invited to this party 🌸
  • HCTX_TYPE_POLL β€” polled I/O of any kind. Any kind!! she's flexible like that πŸ¦‹
  • HCTX_MAX_TYPES β€” the count πŸ’€ β€” literally just the number of types of hctx. Not an actual type, she's the tally, the vibe-check counter, the "how many of y'all are there" energy.
Ngl, HCTX_MAX_TYPES looks like a type and is not one β€” it's the total number of types. Don't @ me, that's just how she is πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

Go read these next, bestie, they're all in the kernel file ./include/linux/blk-mq.h πŸŽ€


Okay that's the whole page, you ate that πŸ“ This little icon came from ./include/linux, dated October 2026, and she goes by enum hctx_type(9) β€” mwah, love her for her, see u next manpage βœ¨πŸ’–πŸ§š

πŸ“¦ where this page comes from