cppi5_hdesc_get_swdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppi5_hdesc_get_swdata β€” like, the whole kernel API manual vibe ✨

okay bestie, so this is cppi5_hdesc_get_swdata(9) from the Kernel API Manual, and it's literally so simple it's iconic. let's get into it 🫢


🌸 NAME 🌸

cppi5_hdesc_get_swdata β€” get a pointer on swdata. that's it. that's the whole job. πŸ’–


✨ SYNOPSIS ✨

void * cppi5_hdesc_get_swdata (struct cppi5_host_desc_t *desc );

no cap, one function, one argument, returns a void *. clean. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • desc β€” the Host packet descriptor. like, the hdesc itself, bestie. hand it over πŸ’…

🌈 RETURN 🌈

a pointer on SWDATA in HDesc. periodt.

⚠️ NOTE, and this is the important part: it's the caller's responsibility to be sure the hdesc actually has swdata. not the function's. yours. so, like, do your vibe check first, bestie 😭 β€” this function will not check for you and there's no plan B here.

πŸ‘‘ SEE ALSO πŸ‘‘

the full squad, fr fr β€” this is the entire ti-cppi5 extended universe and i'm obsessed πŸ’€

like, go read all of them, i'll wait πŸ’œ


and that's the page, bestie!! this one came out of ./include/linux/dma and it's dated October 2026 β€” slay, see you in the next manpage πŸ§šπŸ’–

πŸ“¦ where this page comes from