drm_pagemap_get_unless_zero(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is drm_pagemap_get_unless_zero(9) from the Kernel API Manual, and she is literally the β€œObtain a reference on a struct drm_pagemap unless the current reference count is zero” icon πŸ’…. no cap, that is the whole assignment πŸŽ€.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_pagemap * drm_pagemap_get_unless_zero (struct drm_pagemap
       *dpagemap );

🌸 ARGUMENTS 🌸

  • dpagemap β€” pointer to the drm_pagemap or NULL. it’s giving β€œmaybe a real pointer, maybe NULL, we’ll find out” energy πŸ™ˆ.

πŸ”₯ RETURN πŸ”₯

A pointer to dpagemap if the reference count was successfully incremented. NULL if dpagemap was NULL, or its refcount was 0. like, if the vibe check says no, you get NULL β€” periodt πŸ’€.

πŸ‘‘ SEE ALSO πŸ‘‘

these are the linked girlies, in order:


mwah πŸ’‹ this page came from ./include/drm, dated October 2026, and it’s all about drm_pagemap_get_unless_zero(9). byeee bestie, go increment something 🫢✨

πŸ“¦ where this page comes from