STRUCT AP_QUEUE_STATUS(9)
π struct ap_queue_status(9) π
okay bestie, welcome to the Kernel API Manual page for struct ap_queue_status β yes, the whole page is literally about one status word, and she is iconic. no cap, this is the AP queue status vibe check. π
β¨ NAME β¨
struct ap_queue_status β holds the AP queue status. π«Ά
π§ SYNOPSIS π§
okay so here's the whole struct, bestie β every colon, brace and anonymous little guy stays exactly where it was:
struct ap_queue_status {
union {
unsigned int value : 32;
struct {
unsigned int status_bits : 8;
unsigned int rc : 8;
unsigned int : 16;
};
struct {
unsigned int queue_empty : 1;
unsigned int replies_waiting : 1;
unsigned int queue_full : 1;
unsigned int : 3;
unsigned int async : 1;
unsigned int irq_enabled : 1;
unsigned int response_code : 8;
unsigned int : 16;
};
};
};
that's the whole shape. periodt. π
π Members π
the Members section is giving very specific, so here's every entry with its exact label:
{unnamed_union}β anonymous π»{unnamed_struct}β anonymous π»{unnamed_struct}β anonymous π»queue_emptyβ shows if queue is empty π«§replies_waitingβ waiting replies β³queue_fullβ is1if the queue is full π€irq_enabledβ shows if interrupts are enabled for the AP β‘response_codeβ holds the 8 bit response code π’
not me listing anonymous members but go off. π
π Description π
the AP queue status word is returned by all three AP functions: PQAP, NQAP and DQAP. literally all three, bestie β it's giving group-chat energy. there's a set of flags in the first byte, followed by a 1 byte response code. π
for convenience, the value field is a 32 bit access of the whole status. meanwhile the status_bits and rc fields comprise the leftmost 8 status bits and the response_code. yes, it's a little bit-packing moment. β¨
π₯ SEE ALSO π₯
okay so the kernel file is here, and the whole see-also friend group is:
- Kernel file
./arch/s390/include/asm/ap.h ap_instructions_available(9)ap_tapq(9)ap_test_queue(9)struct ap_config_info(9)ap_qci(9)ap_aqic(9)ap_qact(9)ap_nqap(9)ap_dqap(9)
mwah π β source/version: ./arch/s390/include/asm; date: October 2026; page: struct ap_queue_status(9). that's the whole footer, folded into a lil sign-off. π
π¦ 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