STRUCT DRM_GEM_FLINK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to struct drm_gem_flink(9) β€” this is a page straight out of the Kernel API Manual and it's literally the whole personality of the &DRM_IOCTL_GEM_FLINK ioctl, no cap 🫢


🌸 NAME 🌸

struct drm_gem_flink β€” the argument struct for the &DRM_IOCTL_GEM_FLINK ioctl. that's it, that's the whole vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_gem_flink {
    __u32 handle;
    __u32 name;
 };

look at her. two little __u32s and she's iconic πŸ‘‘


πŸŽ€ Members πŸŽ€

  • handle β€” the handle for the object that's getting itself a name. main character energy fr πŸ’…
  • name β€” the global name, returned to you. it's giving "here's your prize bestie" πŸ†

πŸ’– Description πŸ’–

so what this does: you create a global name for an object, and the name comes right back to you. slay ✨

⚠️ okay but super important, don't skip this one: the name does not hold a reference. so when the object gets freed, the name goes away too. like, gone gone. no cap 😭 the name does not keep the object alive, so don't be out here trusting a name to stick around forever πŸ™ˆ

🌈 SEE ALSO 🌈

buckle up babes, this list is long and honestly? every single one of these ate πŸ’€


and that's the whole page bestie, go forth and name your objects responsibly πŸ§šπŸ’œ

this lil masterpiece came from ./tools/perf/trace/beauty/incl... and it's dated October 2026 β€” yeah she's from the future, we don't question it 😌⭐ struct drm_gem_flink(9) out πŸ’…πŸŽ€

πŸ“¦ where this page comes from