cp_init(9)
π cp_init(9) β Kernel API Manual energy π
okay bestie, welcome to the Kernel API Manual page for cp_init(9) β the little function that gets your channel program its ccwchain moment. no cap, let's get into it.
π NAME π
cp_init β allocate ccwchains for a channel program.
β¨ SYNOPSIS β¨
int cp_init (struct channel_program *cp , union orb *orb );
πΈ ARGUMENTS πΈ
cpβ thechannel_programon which to perform the operation. that's the main character right there.orbβ the control block for the channel program from the guest.
π¦ DESCRIPTION π¦
okay so this creates one or more ccwchain(s), and copies the raw data of the target channel program from orb->cmd.iova to the new ccwchain(s). literally the whole vibe.
Limitations:
- Supports
idal(c64)ccw chaining. - Supports
4kidaw.
β RETURN β
0 on success and a negative error value on failure. that's it, that's the return lore π
π₯ SEE ALSO π₯
Kernel file ./drivers/s390/cio/vfio_ccw_cp.c β and these absolute icons:
π«Ά cute sign-off: source/version ./drivers/s390/cio, dated October 2026, and the page is cp_init(9). bye bestie, go be iconic with your channel programs π
β¨
π¦ 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