STRUCT QIB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct qib(9) β€” the queue information block, bestie 🌸

okay so this is a page from the Kernel API Manual and it's literally all about struct qib, which stands for queue information block (QIB, iykyk πŸ’…). it's a little s390 gem and honestly? iconic.


✨ NAME ✨

struct qib β€” the queue information block (QIB) πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, here's the whole thing, character for character, no cap:

struct qib {
    u32 qfmt   : 8;
    u32 pfmt   : 8;
    u32 rflags : 8;
    u32 ac     : 8;
    u32 : 32;
    u64 isliba;
    u64 osliba;
    u32 : 32;
    u32 : 32;
    u8 ebcnam[8];
    u8 parm[128];
 };

yes there are some unnamed u32 : 32 fields in there just vibing β€” they're in the struct, they're part of the layout, we don't ask them questions πŸ™ˆ


πŸ’– Members πŸ’–

  • qfmt β€” the queue format, literally what format the queue is in ✨
  • pfmt β€” the implementation dependent parameter format (say that five times fast 😭)
  • rflags β€” QEBSM πŸ‘‘
  • ac β€” the adapter characteristics, main character energy fr fr
  • isliba β€” the logical address of the first input SLIB 🧚
  • osliba β€” the logical address of the first output SLIB 🌸
  • ebcnam β€” the adapter identifier in EBCDIC (yes, EBCDIC, we love a retro queen πŸ’€)
  • parm β€” the implementation dependent parameters, mysterious and undefined, we stan 🫢

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./arch/s390/include/asm/qdio.h and its whole friend group β€” go say hi to all of them:

  • struct qdesfmt0(9)
  • struct qdr(9)
  • struct slibe(9)
  • struct qaob(9)
  • struct slib(9)
  • struct qdio_buffer_element(9)
  • struct qdio_buffer(9)
  • struct sl_element(9)
  • struct sl(9)
  • struct slsb(9)
  • struct qdio_initialize(9)

and that's the whole page, bestie, you ate that πŸ’…βœ¨

this little beauty lives in ./arch/s390/include/asm and it's dated October 2026 β€” so it's from the future, obviously, which is very on brand for her πŸ‘‘πŸ¦‹πŸ’œ

k bye, go read your structs πŸŽ€

πŸ“¦ where this page comes from