media_reques...l_completion(9)
π media_reques...l_completion(9) β bestie edition
okay so you're reading the Kernel API Manual (yes, the actual one, we're being fancy today β¨) and you've landed on media_reques...l_completion(9). yes the title is abbreviated with dots, no that's not a typo, that's just how the manpage printer decided to do it. let's go π
β¨ NAME β¨
media_request_mark_manual_completion β the "actually, I'll finish it" flag. it enables manual completion πββοΈ
πΈ SYNOPSIS πΈ
void media_request_mark_manual_completion (struct media_request *req );
that's it. that's the whole thing. returns nothing, takes one thing. slay π
π¦ ARGUMENTS π¦
reqβ The request. that's it, that's the whole description, the request in question, the main character of this function π«Ά
π DESCRIPTION π
so what does this actually do, bestie? it marks the request as one that has to be manually completed β meaning somebody out there is gonna have to call media_request_manual_complete themselves. no auto-pilot, no hands-free, you're driving this thing πβ¨
and here's the important bit, no cap: this function shall be called in the req_queue callback. like, that's the place. that's where it goes. if you're calling it anywhere else we need to have a conversation π
β οΈ fr fr, the req_queue callback thing is a shall, not a "whenever you feel like it". respect the callback π
π SEE ALSO π
a whole little friend group of references, all from the kernel file ./include/media/media-request.h. go read them, they're iconic, every single one π
enum media_request_state(9)struct media_request(9)media_request_lock_for_access(9)media_request_unlock_for_access(9)media_request_lock_for_update(9)media_request_unlock_for_update(9)media_request_get(9)media_request_put(9)media_request_get_by_fd(9)media_request_alloc(9)media_request_manual_complete(9)struct media_request_object_ops(9)struct media_request_object(9)media_request_object_get(9)media_request_object_put(9)media_request_object_find(9)media_request_object_init(9)media_request_object_bind(9)media_request_object_unbind(9)media_request_object_complete(9)
π and that's the page!! this came out of ./include/media and it's dated October 2026 β yes, the future, we're serving time-travel realness β byeee bestie, go complete your requests manually π§π
π¦ 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