STRUCT QAOB(9)
β¨ NAME β¨
struct qaob β the queue asynchronous operation block, bestie π
So this is a struct from the Kernel API Manual (that's the manual name, cutie, consider it folded in π) and it lives in the kernel headers β it's the block that carries an async QDIO operation's results and storage-block info. Lowkey iconic. Periodt.
πΈ SYNOPSIS πΈ
struct qaob {
u64 res0[6];
u8 res1;
u8 res2;
u8 res3;
u8 aorc;
u8 flags;
u16 cbtbs;
u8 sb_count;
dma64_t sba[QDIO_MAX_ELEMENTS_PER_BUFFER];
u16 dcount[QDIO_MAX_ELEMENTS_PER_BUFFER];
u64 user0;
u64 res4[2];
u8 user1[16];
};
Like, that's the whole shape of it. Every field, every type, every array size β exactly as written, no cap π«Ά
π¦ Members π¦
Okay so here's the member-by-member vibe check, one bullet each, nothing skipped:
res0β reserved parameters π (yes, plural, it's au64[6])res1β reserved parameterres2β reserved parameterres3β reserved parameteraorcβ asynchronous operation return code π₯ this is the one that tells you how the async op wentflagsβ internal flagscbtbsβ control block typesb_countβ number of storage blockssbaβ storage block element addresses (it's adma64_tarray sizedQDIO_MAX_ELEMENTS_PER_BUFFER, fyi)dcountβ size of storage block elements (au16array, sameQDIO_MAX_ELEMENTS_PER_BUFFERsizing)user0β user definable value βres4β reserved parameteruser1β user definable value π
So yeah β the reserved ones are just taking up space, don't touch them, and the user* ones are literally yours to play with β¨
π SEE ALSO π
Kernel file ./arch/s390/include/asm/qdio.h β and the whole friend group:
struct qdesfmt0(9)struct qdr(9)struct qib(9)struct slibe(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)
Go read those too, bestie, they're all in the same header and they all know each other. Iykyk π§
Okay that's the whole page, mwah π β this one ships from ./arch/s390/include/asm, dated October 2026, under the title struct qaob(9). Slay, bye! ππ
π¦ 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