STRUCT SCLP_DIAG_FTP(9)
πΈ struct sclp_diag_ftp β like, the manual page for it π
okay bestie, so this is the kernel API manual page for struct sclp_diag_ftp β sclp_diag_ftp(9) if you're fancy π β and it's literally the Diagnostic Test FTP Service model-dependent data. yes, that's a whole mouthful, but it's giving "important s390 char driver business" and we're gonna get through it together π«Ά
β¨ NAME β¨
struct sclp_diag_ftp β Diagnostic Test FTP Service model-dependent data π
π¦ SYNOPSIS π¦
no cap, here's the whole struct, copy-paste energy, exactly as it is:
struct sclp_diag_ftp {
u8 pcx;
u8 ldflg;
u8 cmd;
u8 pgsize;
u8 srcflg;
u8 spare;
u64 offset;
u64 fsize;
u64 length;
u64 failaddr;
u64 bufaddr;
u64 asce;
u8 fident[256];
};
π Members π
okay so every single member, one by one, no skipping, not even the reserved one (especially not the reserved one, she's iconic in her own quiet way) π
pcxβ the code for PCX communication. and it should be0x80, like that's the vibe check it needs to pass β¨ldflgβ the load flag. lowkey you gotta check the defines above for this one, bestie πcmdβ the FTP command. yes ma'am, the actual command πpgsizeβ page size, and it's a whole either/or situation:0= 4kB,1= large page size πsrcflgβ source flag π¦spareβ reserved, and it's zeroes. literally just zeroes. she's filler and she ate πoffsetβ file offset, off we go πfsizeβ file size, the whole thing πlengthβ buffer size resp. bytes transferred. dual-purpose queen πfailaddrβ failing address. when things go wrong, this is the address that did it πbufaddrβ buffer address, virtual. virtual bestie, not physical, don't get it twisted π§asceβ region or segment table designation. fancy name, very main character β¨fidentβ the file name, ASCII and zero-terminated, and it's256bytes of it, so plenty of room for your whole name and then some π
π SEE ALSO π
- Kernel file
./drivers/s390/char/sclp_diag.hβ that's where the lore lives, go read it π struct sclp_diag_evbuf(9)πΈstruct sclp_diag_sccb(9)πΈ
and that's the whole page, bestie, you ate that π«Ά source is ./drivers/s390/char, dated October 2026, and it's struct sclp_diag_ftp(9) all the way down β periodt π
β¨
π¦ 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