drm_pagemap..._lock_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_pagemap..._lock_lookup(9) β€” the Kernel API Manual glow-up πŸ’–

okay bestie, so this is a page from the Kernel API Manual and the star of the show is drm_pagemap_cache_lock_lookup β€” yes that's a long name, no we are not shortening it, she's iconic and she's earned every character πŸŽ€


✨ NAME ✨

drm_pagemap_cache_lock_lookup β€” locks a drm_pagemap_cache so you can do a lookup. that's it, that's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_pagemap_cache_lock_lookup (struct drm_pagemap_cache *cache );

literally just hand her a cache pointer and she handles the rest 🫢


🌸 ARGUMENTS 🌸

  • cache β€” the drm_pagemap_cache you wanna lock. that's the one. the main character of this call πŸ’–

⭐ RETURN ⭐

she's giving very simple receipts, ngl:

  • -EINTR β€” returned if she got interrupted while blocking 😭 (rude, but okay)
  • 0 β€” everything else. we love a clean zero, no cap ✨

🌈 SEE ALSO 🌈

okay so here's the whole friend group, no one gets left out 🫢


bestie note: every single one of those is a real page, go read them, I'm not doing the lore dump for you πŸ’€

and that's the whole thing!! this page ships out of ./drivers/gpu/drm, stamped October 2026, from the Kernel API Manual β€” go forth and lock your lookups responsibly πŸ‘‘πŸ’œ πŸŽ€

πŸ“¦ where this page comes from