drm_mm_scan_add_block(9)
Okay bestie, welcome to drm_mm_scan_add_block(9) from the Kernel API Manual β itβs giving βtiny but important kernel helperβ energy, and weβre gonna get into it. π
π NAME
drm_mm_scan_add_block β add a node to the scan list
β¨ SYNOPSIS
bool drm_mm_scan_add_block (struct drm_mm_scan *scan , struct
drm_mm_node *node );
πΈ ARGUMENTS
scanβ the activedrm_mmscanner. Like, the scanner that is currently scanning. Main character scanner vibes. πnodeβdrm_mm_nodeto add. This is the node bestie is adding to the scan list.
π¦ DESCRIPTION
Add a node to the scan list that might be freed to make space for the desired hole. Thatβs it, thatβs the whole plot. The scan list is collecting nodes that might get freed so the desired hole can happen, and youβre adding one to it. No cap. β¨
β RETURN
Returns True if a hole has been found, false otherwise.
π₯ SEE ALSO
- Kernel file
./drivers/gpu/drm/drm_mm.cβOverview(9) DECLARE_NEXT_HOLE_ADDR(9)drm_mm_reserve_node(9)drm_mm_insert_node_in_range(9)drm_mm_remove_node(9)lru scan roster(9)drm_mm_scan_init_with_range(9)drm_mm_scan_remove_block(9)drm_mm_scan_color_evict(9)drm_mm_init(9)drm_mm_takedown(9)drm_mm_print(9)
Cute little sign-off time: this oneβs sourced from ./drivers/gpu/drm, dated October 2026, and the page is drm_mm_scan_add_block(9). Periodt. π«Άπ
π¦ 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