media_reque...ual_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… media_request_manual_complete(9) β€” the Kernel API Manual, bestie edition πŸŽ€

Okay so this is a page from the Kernel API Manual, and the star of the show is media_request_manual_complete β€” yes the header up top gets all truncate-y and looks like media_reque...ual_complete(9), that's just the page header being dramatic, the real one is spelled out below. Let's get into it ✨


🌸 NAME 🌸

media_request_manual_complete β€” mark the request as completed, that's literally the whole gig 🫢


✨ SYNOPSIS ✨

void media_request_manual_complete (struct media_request *req );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” the request. That's it, that's the arg πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea πŸ“: this function completes a request that was previously marked for manual completion β€” and "previously" means by an earlier call to media_request_mark_manual_completion. Like, that's the setup, and this is the payoff. When it runs, the request's manual_completion field gets reset to false. Clean slate, no cap ✨

Now, the important bit β€” all objects contained in the request must have been completed previously. Every single one. It is an error to call this function otherwise 😭

And if that error does happen? The function will WARN, and the object completion gets delayed until num_incomplete_objects is 0. So like, not the end of the world, but it's giving πŸ’€ so please complete your objects first, bestie, iykyk.


🌈 SEE ALSO 🌈

Over in the kernel file ./include/media/media-request.h, you'll find the whole friend group πŸ‘―β€β™€οΈ:

Like, the entire roster, no gatekeeping πŸ”₯


πŸ’œ That's the whole page, bestie. Now go complete those objects before you call this, mwah 😘

Sign-off time 🧚: this little masterpiece comes from ./include/media, dated October 2026, and it lives in the same media_reque...ual_complete(9) header/footer sandwich it started in. Slay. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from