framebuffer_alloc(9)
π framebuffer_alloc(9) β Kernel API Manual π
β¨ NAME β¨
framebuffer_alloc β creates a new frame buffer info structure. Bestie, thatβs literally the whole assignment π
π¦ SYNOPSIS π¦
struct fb_info * framebuffer_alloc (size_t size , struct device *dev );
πΈ ARGUMENTS πΈ
sizeβ size of driver private data, can be zero.devβ pointer to the device for this fb, this can beNULL.
π₯ DESCRIPTION π₯
Okay so this function creates a new frame buffer info structure. It also reserves size bytes for driver private data (info->par) π
info->par (if any) will be aligned to sizeof(long). Not me being picky about alignment, but yes, thatβs the vibe check β¨
The new instances of struct fb_info and the driver private data are both cleared to zero. Clean slate energy fr fr π«Ά
Returns the new structure, or NULL if an error occurred. Periodt π
π SEE ALSO π
- Kernel file
./drivers/video/fbdev/core/fb_info.c framebuffer_release(9)
π¦ This page comes from ./drivers/video/fbdev/core, dated October 2026, and itβs all about framebuffer_alloc(9) β no cap, thatβs the sign-off bestie ππ
π¦ 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