xe_file_put(9)
π xe_file_put β like, the whole manual, bestie
Okay so this is xe_file_put(9) from the Kernel API Manual, and honestly? It's a short one. It's giving "one job, does it well" energy. Let's get into it π«Ά
β¨ NAME β¨
xe_file_put β drops a reference to the xe file object. That's it. That's the whole vibe check. π
πΈ SYNOPSIS πΈ
void xe_file_put (struct xe_file *xef );
No cap, that's the entire signature β copy it exactly like that, spaces and all, don't come for me π
π¦ ARGUMENTS π¦
xefβ a pointer to the xe file. Just a pointer. Pointing at the xe file. That's the whole thing β¨
π DESCRIPTION π
So what does it do? It's used to drop a reference to the xef object. Yes bestie, reference counting β the classic "who's still holding onto this thing" situation. When you're done with your ref, you hand it back. Iconic, lowkey essential, not me being obsessed with a one-line function π
π₯ SEE ALSO π₯
Okay this is the part where it gets long, so buckle up. Here's everything it points you at, fr fr:
Kernel file ./drivers/gpu/drm/xe/xe_device.c, plus all of these lovely people:
xe_file_get(9)xe_is_xe_file(9)xe_device_is_admin_only(9)xe_device_create(9)xe_device_init_early(9)xe_device_probe_early(9)xe_device_wmb(9)xe_device_is_l2_flush_optimized(9)xe_device_td_flush(9)xe_device_assert_mem_access(9)Xe Device Wedging(9)xe_device_set_wedged_method(9)xe_device_declare_wedged(9)xe_device_validate_wedged_mode(9)xe_wedged_mode_to_string(9)xe_device_asid_to_vm(9)
That's the whole squad π go read them, iykyk π
Heads up bestie: get the ref back with xe_file_get(9) before you go dropping it β this page is literally just about the put half π
β¨ and that's a wrap β¨ this icon lives in ./drivers/gpu/drm/xe, dated October 2026, and honestly? She ate. 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