STRUCT SLIB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct slib β€” storage list information block (SLIB) ✨

Ok so bestie, we're deep in the Kernel API Manual territory today β€” like, <cyan>s390 architecture</cyan> deep β€” and the star of this page is struct slib, aka the storage list information block. Yeah. That's the acronym. SLIB. Say it with me: storage list information block πŸ’…. It's a struct, it holds info, and it's lowkey the backbone of QDIO bookkeeping. Let's get into it.


🌸 SYNOPSIS 🌸

struct slib {
    u64 nsliba;
    u64 sla;
    u64 slsba;
    struct slibe slibe[QDIO_MAX_BUFFERS_PER_Q];
};

That's the whole vibe. Four members, one array, zero chill. ✨


πŸŽ€ Members πŸŽ€

  • nsliba β€” the next SLIB address, if there even is one. It's giving linked-list energy β€” a pointer to the next block in the chain, or nothing if this is the last one. if any, bestie. If any. 😌
  • sla β€” the SL address. Short, sweet, iconic. 🫢
  • slsba β€” the SLSB address. One letter different from sla and yet completely different thing. Don't mix them up, I'm begging. 😭
  • slibe β€” the SLIB elements. Plural, plural, plural β€” it's an array of struct slibe, sized QDIO_MAX_BUFFERS_PER_Q, and honestly? The main character of this struct. πŸ‘‘
ngl, these member names are pure consonant soup, but that's s390 for you. Type them exactly, fr fr β€” nsliba, sla, slsba, slibe. No renaming, no "fixing", no vibes-based spelling. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./arch/s390/include/asm/qdio.h β€” go read it, it's the source of truth:

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

Basically a whole friend group of structs and they all hang out in qdio.h. The way that list just keeps going β€” obsessed. 🧚 The friend group is real and you should absolutely click through every single one of these man pages. 🌈


πŸ’– friendly reminder: every single one of those references above is a real page you can pull up. Don't skip the struct slibe(9) one, it's literally the element type inside slibe here. iykyk.

And that's the tea, bestie! β˜• This page came straight out of the ./arch/s390/include/asm corner of the kernel, stamped October 2026, and honestly it ate. Go forth and SLIB responsibly. πŸ“πŸ’œ

πŸ“¦ where this page comes from