sclp_sd_sync(9)
π 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 valuediβ Input DI valuesatβ Input SAT valuesaβ 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:
struct sclp_sd_data(9)struct sclp_sd_listener(9)struct sclp_sd_file(9)sclp_sd_listener_add(9)sclp_sd_listener_remove(9)sclp_sd_listener_init(9)sclp_sd_receiver(9)sclp_sd_store_data(9)sclp_sd_data_reset(9)sclp_sd_file_release(9)sclp_sd_file_update(9)sclp_sd_file_update_async(9)reload_store(9)data_read(9)sclp_sd_file_create(9)sclp_sd_init(9)
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
- 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