mc_polling_wait_preemptible(9)
π mc_polling_wait_preemptible(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil function called mc_polling_wait_preemptible, and no cap, it's the chill version of waiting around. π«Ά
πΈ NAME πΈ
mc_polling_wait_preemptible β waits for the completion of an MC command doing preemptible polling. uslepp_range() is called between polling iterations. π€
like literally, it keeps checking in on things, and between each little check it takes a nap via uslepp_range() so it's not out here spinning like a maniac. the way that it's preemptible too? iconic. π
β¨ SYNOPSIS β¨
int mc_polling_wait_preemptible (struct fsl_mc_io *mc_io , struct
fsl_mc_command *cmd , enum mc_cmd_status *mc_status );
she takes three things and gives you back an int, periodt. π
π¦ ARGUMENTS π¦
mc_ioβ the MC I/O object to be used. this is the main character of the I/O situation, fr fr. π₯cmdβ command buffer to receive MC response. it's giving "inbox for the response", and yes she will be filled in. π¬mc_statusβ MC command completion status. this is where you find out if it slayed or if it flopped. π
π SEE ALSO π
bestie go read these next, iykyk:
- Kernel file
./drivers/bus/fsl-mc/mc-sys.c mc_write_command(9)mc_read_response(9)mc_polling_wait_atomic(9)mc_send_command(9)
the whole friend group is right there in mc-sys.c, go say hi π
lowkey reminder: this page is filed under./drivers/bus/fsl-mc, dated October 2026, and it's literally all aboutmc_polling_wait_preemptible(9). mwah, go poll something preemptibly bestie π§πβ¨
π¦ 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