STRUCT HMCDRV_FTP_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct hmcdrv_ftp_ops(9) πŸ’…

okay bestie, so this is a page straight out of the Kernel API Manual β€” like, the real one β€” and it's about struct hmcdrv_ftp_ops, which is literally the HMC drive FTP operations table. it's giving "vtable of vibes", and we're gonna walk through it together, no cap 🫢


✨ NAME ✨

struct hmcdrv_ftp_ops β€” HMC drive FTP operations πŸŽ€

✨ SYNOPSIS ✨

here's the whole struct, exactly as it lives, no edits, no notes:

struct hmcdrv_ftp_ops {
    int (*startup)(void);
    void (*shutdown)(void);
    ssize_t (*transfer)(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
};

like… it's just three function pointers and honestly? she ate. πŸ”₯

✨ Members ✨

  • startup β€” the startup function πŸ’– this one gets things going, she's the main character of the beginning.
  • shutdown β€” the shutdown function 🌸 the one that wraps things up and says bye, iconic behavior.
  • transfer β€” the FTP transfer function πŸ¦‹ this is where the actual file-moving magic happens, iykyk.

✨ SEE ALSO ✨

go look at the kernel file ./drivers/s390/char/hmcdrv_ftp.c if you wanna read the source, and then these lovely friends right here:


bestie heads up: this whole thing lives in the kernel under ./drivers/s390/char, so please don't go poking at it unless you actually know what you're doing, okay? πŸ’€

and that's the whole page! πŸŽ€ brought to you by ./drivers/s390/char in October 2026 β€” literally the source, the version, and the date all in one cute little sign-off. slay, go read the source, ily, bye πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from