v4l2_m2m_cancel_job(9)
okay so bestie, you're in the Kernel API Manual and this page is v4l2_m2m_cancel_job(9) π
β¨
πΈ NAME πΈ
v4l2_m2m_cancel_job β cancel pending jobs for the context π«Ά
β¨ SYNOPSIS β¨
void v4l2_m2m_cancel_job (struct v4l2_m2m_ctx *m2m_ctx );
π ARGUMENTS π
m2m_ctxβ the m2m context with jobs to be canceled π
π¦ DESCRIPTION π¦
so when streamoff or release gets called on any context, this is the cleanup situation, and here's the vibe check:
- 1] If the context is currently running, then abort job will be called π₯
- 2] If the context is queued, then the context will be removed from the
job_queueπ§Ή
literally the whole point is handling those pending jobs for the context, no cap π
π₯ SEE ALSO π₯
Kernel file ./drivers/media/v4l2-core/v4l2-mem2mem.c struct v4l2_m2m_dev(9), v4l2_m2m_try_run(9), v4l2_m2m_try_schedule(9), v4l2_m2m_device_run_work(9) π
mwah π this cutie comes from ./drivers/media/v4l2-core, dated October 2026, and it's v4l2_m2m_cancel_job(9) in the Kernel API Manual β periodt πβ¨
π¦ 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