cma_init_reserved_mem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cma_init_reserved_mem πŸ’–

okay so bestie, this is the Kernel API Manual, section 9, and we're talking about cma_init_reserved_mem β€” it's giving reserved-memory makeover energy. ✨

🌸 NAME 🌸

cma_init_reserved_mem β€” create custom contiguous area from reserved memory. periodt. πŸ’…

✨ SYNOPSIS ✨

       int cma_init_reserved_mem (phys_addr_t base , phys_addr_t size ,
              unsigned int order_per_bit , const char *name , struct cma **res_cma );

πŸŽ€ ARGUMENTS πŸŽ€

  • base β€” base address of the reserved area. πŸ“
  • size β€” size of the reserved area (in bytes), yes the comma is staying, bestie. πŸ“
  • order_per_bit β€” order of pages represented by one bit on bitmap. 🧠
  • name β€” the name of the area. If this parameter is NULL, the name of the area will be set to "cmaN", where N is a running counter of used areas. 🏷️
  • res_cma β€” pointer to store the created cma region. 🫢

πŸ’… DESCRIPTION πŸ’…

this function creates custom contiguous area from already reserved memory. that's it, that's the vibe β€” custom contiguous area, already reserved memory, no cap. πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯


sending you off with source/version ./mm, dated October 2026 β€” page cma_init_reserved_mem(9), byeeee πŸ’‹βœ¨

πŸ“¦ where this page comes from