drm_pagemap_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_pagemap_get β€” the kernel API manual, bestie edition

okay so this is drm_pagemap_get(9) from the Kernel API Manual, and honestly she's a short one but she's iconic ✨


🌸 NAME

drm_pagemap_get β€” bestie, this is how you Obtain a reference on a struct drm_pagemap 🫢

Like, you're literally just grabbing a ref. That's the whole gig. Periodt.


πŸŽ€ SYNOPSIS

struct drm_pagemap * drm_pagemap_get (struct drm_pagemap *dpagemap );

that's it. that's the function. short king energy πŸ‘‘


πŸ’– ARGUMENTS

  • dpagemap β€” Pointer to the struct drm_pagemap, or NULL. yep, NULL is allowed in here, no cap πŸ™ˆ

✨ RETURN

Pointer to the struct drm_pagemap, or NULL. literally the same shape as what you handed in, it's giving mirror selfie πŸͺžπŸ’€


πŸ¦‹ SEE ALSO

okay this is the friend group, and they're all linked up, iykyk:

ngl drm_pagemap_get_unless_zero(9) is right there in the list and she lowkey has main character energy of her own, go say hi πŸ’…

and that's the whole page, bestie β€” no warnings, no bugs section, no drama, she's just a tiny ref-grabber living her truth 🌈

mwah πŸ’‹ this masterpiece lives in the Kernel API Manual, sourced from ./include/drm, dated October 2026 β€” catch you on the next page, love u, bye πŸŽ€πŸ’œ

πŸ“¦ where this page comes from