STRUCT DRM_MM_SCAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to struct drm_mm_scan(9) from the Kernel API Manual β€” it's the DRM allocator eviction roaster data. Yes, β€œroaster.” That's literally the name, and we're moving on. πŸ’…


🌸 SYNOPSIS 🌸

struct drm_mm_scan {
        };

πŸŽ€ Members πŸŽ€

Nothing is listed under Members here β€” it's giving minimal, and that's literally it. 🫢


πŸ’– Description πŸ’–

So this structure tracks the data needed for the eviction roaster, which gets set up using drm_mm_scan_init, and it's used with drm_mm_scan_add_block and drm_mm_scan_remove_block. That's the whole plot. ✨

The structure is entirely opaque, bestie β€” like, do not go poking at it directly. It should only be accessed through the provided functions and macros. No cap. πŸ™ˆ

It is meant to be allocated temporarily by the driver on the stack. Stack vibes only. πŸ’…


🌈 SEE ALSO 🌈


That's the whole page, bestie! 😭🫢 Source/version vibes: ./include/drm, date October 2026, and the header is struct drm_mm_scan(9). Slay and stay opaque. πŸ’œ

πŸ“¦ where this page comes from