ap_nqap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ap_nqap(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so welcome to ap_nqap, straight out of the Kernel API Manual and honestly? she's iconic. this is the "send a message to the adjunct processor queue" girlie and she is serving. iykyk πŸ’–


✨ NAME ✨

ap_nqap β€” Send message to adjunct processor queue. periodt. that's the whole vibe. πŸ’Œ


🌸 SYNOPSIS 🌸

struct ap_queue_status ap_nqap (ap_qid_t qid , unsigned long long psmid
, void *msg , size_t length );

like, copy it exactly bestie, don't improvise 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • qid β€” The AP queue number. this is which queue we're sliding into πŸ’…
  • psmid β€” The program supplied message identifier. your message's lil name tag 🏷️
  • msg β€” The message text. the actual content, the main character energy ✨
  • length β€” The message length. how much of msg is actually doing something 🌈

πŸ”₯ DESCRIPTION πŸ”₯

Returns AP queue status structure. no cap, that's the return value, that's the whole deal πŸ’œ

Condition code 1 on NQAP can't happen because the L bit is 1. literally cannot occur, it's giving "not on my watch" πŸ’€

Condition code 2 on NQAP also means the send is incomplete, because a segment boundary was reached. so yeah, cc2 = not done yet, the send got cut off at a boundary 😭

The NQAP is repeated. that's the move β€” you just run it again, we go again πŸŽ€


⭐ SEE ALSO ⭐

Kernel file ./arch/s390/include/asm/ap.h and also these absolute legends:

go read them, they're all so good, obsessed honestly πŸ‘‘


ngl the whole page lives in ./arch/s390/include/asm and it's dated October 2026 β€” so like, future-coded of her. slay. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

bye bestie, go send some messages to that adjunct processor queue, you've got this πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from