sclp_sd_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sclp_sd_sync(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual (sclp_sd_sync(9)) and it's literally about doing a Store Data request synchronously β€” like, you ask, you wait, you get your answer. no chaos, no async shenanigans, just vibes and a blocking call. let's get into it πŸ¦‹


✨ NAME ✨

sclp_sd_sync β€” Perform Store Data request synchronously πŸ’«


🌸 SYNOPSIS 🌸

int sclp_sd_sync (unsigned long page , u8 eq , u8 di , u64 sat , u64 sa
, u32 *dsize_ptr , u32 *esize_ptr );

πŸ’– ARGUMENTS πŸ’–

  • page β€” the address of your work page. must be below 2GB β€” that's not a suggestion, that's the rule, no cap πŸ™ˆ
  • eq β€” Input EQ value
  • di β€” Input DI value
  • sat β€” Input SAT value
  • sa β€” Input SA value, used to specify the address of the target buffer 🎯
  • dsize_ptr β€” Optional pointer to the input and output DSIZE value (yes, both β€” she's an in/out girlie πŸ’…)
  • esize_ptr β€” Optional pointer to the output ESIZE value

⭐ DESCRIPTION ⭐

okay so the whole gig: perform a Store Data request with all the parameters you specified, then wait for completion. that's it, that's the function β€” synchronous queen behavior πŸ‘‘

It returns 0 on success and stores the resulting DSIZE and ESIZE values in dsize_ptr and esize_ptr (if you provided them, which β€” optional, so no pressure 🫢). On error it returns non-zero. lowkey simple, highkey useful.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/s390/char/sclp_sd.c β€” plus the whole friend group:


mwah πŸ’‹ that's the whole page. sourced from ./drivers/s390/char, dated October 2026, and it's sclp_sd_sync(9) herself signing off β€” go read the code bestie, ily, drink water πŸ“βœ¨

πŸ“¦ where this page comes from