drm_vma_node_revoke(9)
β¨ drm_vma_node_revoke β it's giving "you're uninvited from the party" π
okay so real quick, bestie: this is a page from the Kernel API Manual, and it's all about drm_vma_node_revoke(9) β the function that takes somebody's name off the guest list π
πΈ NAME πΈ
drm_vma_node_revoke β remove open-file from list of allowed users
likeβ¦ think of it as the bouncer politely walking one specific file out of the VIP area πͺβ¨
π¦ SYNOPSIS π¦
void drm_vma_node_revoke (struct drm_vma_offset_node *node , struct
drm_file *tag );
no cap, that's the whole signature π
π ARGUMENTS π
nodeβ node to modify. this is the thing you're editing, the main character of the operation πtagβ tag of file to remove. the one getting de-listed, sorry bestie π
π DESCRIPTION π
so here's the tea β β this decrements the ref-count of tag in the list of allowed open-files on node. if the ref-count drops to zero, tag gets removed from the list. literally "count hits zero β you're out" β¨
β οΈ and this is the important bit, so listen up: you must call this once for everydrm_vma_node_allowontag. one revoke per allow, fr fr. don't be out here matching them up wrong π
this is locked against concurrent access internally β so the locking is already handled for you, no need to come up with your own, we love a self-sufficient function π«Ά
and if tag is not on the list? nothing is done. it justβ¦ doesn't happen. no error, no drama, no nothing π the function simply vibes past it.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_vma_manager.c vma offset manager(9)drm_vma_offset_manager_init(9)drm_vma_offset_manager_destroy(9)drm_vma_offset_lookup_locked(9)drm_vma_offset_add(9)drm_vma_offset_remove(9)drm_vma_node_allow(9)drm_vma_node_allow_once(9)drm_vma_node_is_allowed(9)
the whole friend group, honestly π§π
and that's the page!! mwah π this one came straight out of ./drivers/gpu/drm, dated October 2026, and yes it's the Kernel API Manual because we stay on the kernel side of things β periodt. now go balance your allow/revoke calls like the icon you are ππΈ
π¦ 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