drm_pagemap_get(9)
π 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 thestruct drm_pagemap, orNULL. yep,NULLis 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:
- Kernel file
./include/drm/drm_pagemap.henum drm_interconnect_protocol(9)struct drm_pagemap_addr(9)drm_pagemap_addr_encode(9)struct drm_pagemap_ops(9)struct drm_pagemap(9)struct drm_pagemap_devmem_ops(9)drm_pagemap_get_unless_zero(9)struct drm_pagemap_devmem(9)struct drm_pagemap_migrate_details(9)drm_pagemap_page_zone_device_data(9)
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
- 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