pvr_destroy...xts_for_file(9)
π pvr_destroy_contexts_for_file β Kernel API Manual, section 9 π
okay bestie, so this is a <purple>Kernel API Manual</purple> page (section 9, the driver-adjacent girlies) and honestly it's a short one, so let's get into it β¨
πΈ NAME πΈ
pvr_destroy_contexts_for_file β literally just nukes any contexts that are associated with the given file π
π¦ SYNOPSIS π¦
void pvr_destroy_contexts_for_file (struct pvr_file *pvr_file );
β¨ ARGUMENTS β¨
pvr_fileβ Pointer topvr_filestructure. that's it, that's the whole input π«Ά
π DESCRIPTION π
So what this icon does is: it removes all the contexts associated with pvr_file from the device context list, and then drops the initial references. π§Ήβ¨
Then those contexts get destroyed once all the outstanding references are dropped too. the way that cleanup is a two-step situation, not a one-and-done β no cap π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/imagination/pvr_context.c
pvr_context_destroy_queues(9)pvr_context_create_queues(9)pvr_context_kill_queues(9)pvr_context_create(9)pvr_context_put(9)pvr_context_destroy(9)pvr_context_device_init(9)pvr_context_device_fini(9)
go read the whole friend group, they're all lowkey essential π
so that's the page!! it lives in ./drivers/gpu/drm/imagination and this lil edition is dated October 2026 β mwah, slay, see u in the next manpage 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