pvr_find_heap_containing(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pvr_find_heap_containing(9) πŸ’–

okay so you're reading pvr_find_heap_containing(9) from the Kernel API Manual, bestie. It's the little function that goes β€œwhich heap contains this device-virtual address range?” and honestly? iconic. ✨


🌸 NAME 🌸

pvr_find_heap_containing β€” Find a heap which contains the specified device-virtual address range. That's the whole mission, no cap. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

const struct drm_pvr_heap * pvr_find_heap_containing (struct pvr_device
       *pvr_dev , u64 start , u64 size );

πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_dev β€” target PowerVR device. Like, the device you're checking against. 🫢
  • start β€” start of the target range. The beginning, bestie. ⭐
  • size β€” size of the target range. How much range we're talking about. πŸ“

πŸ”₯ RETURN πŸ”₯

  • A pointer to a constant instance of struct drm_pvr_heap representing the heap containing the entire range specified by start and size on success, or
  • NULL if no such heap exists.

So yeah: you either get the heap pointer, or you get NULL and you deal with it. 😭

πŸ‘€ SEE ALSO πŸ‘€

Go check out these little icons, iykyk:


Source/version vibe: ./drivers/gpu/drm/imagination Β· October 2026. That's the footer tea, bestie β€” bye! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from