tcw_get_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tcw_get_data(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this is the page for tcw_get_data, and it's literally the glow-up guide for grabbing the data pointer out of a tcw. no cap. 🫢


🌸 NAME 🌸

tcw_get_data β€” return pointer to input/output data associated with tcw

✨ SYNOPSIS ✨

void * tcw_get_data (struct tcw *tcw );

πŸŽ€ ARGUMENTS πŸŽ€

  • tcw β€” pointer to the tcw. that's the whole vibe. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this function returns the input or output data address specified in the tcw, depending on whether the r-bit or the w-bit is set. lowkey simple, highkey iconic. ✨

if neither bit is set? it returns NULL. that's it. no drama, no extra steps, just NULL. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/s390/cio/fcx.c and these iconic besties:


mwah πŸ’‹ and that's the whole page, bestie β€” brought to you by source/version ./drivers/s390/cio, dated October 2026, and the one and only tcw_get_data(9). periodt. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from