framebuffer_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 be NULL.

πŸ”₯ 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 πŸ‘‘


πŸ¦‹ 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