cma_init_reserved_mem(9)
π 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 isNULL, the name of the area will be set to"cmaN", whereNis 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 π₯
- Kernel file
./mm/cma.c cma_declare_contiguous_nid(9)cma_alloc(9)cma_release(9)
sending you off with source/version ./mm, dated October 2026 β page cma_init_reserved_mem(9), byeeee πβ¨
π¦ 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