|
@@ -165,6 +165,9 @@ core_initcall(cma_init_reserved_areas);
|
|
|
* @base: Base address of the reserved area
|
|
|
* @size: Size of the reserved area (in bytes),
|
|
|
* @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.
|
|
|
*
|
|
|
* This function creates custom contiguous area from already reserved memory.
|
|
@@ -227,6 +230,7 @@ int __init cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
|
|
|
* @alignment: Alignment for the CMA area, should be power of 2 or zero
|
|
|
* @order_per_bit: Order of pages represented by one bit on bitmap.
|
|
|
* @fixed: hint about where to place the reserved area
|
|
|
+ * @name: The name of the area. See function cma_init_reserved_mem()
|
|
|
* @res_cma: Pointer to store the created cma region.
|
|
|
*
|
|
|
* This function reserves memory from early allocator. It should be
|
|
@@ -390,6 +394,7 @@ static inline void cma_debug_show_areas(struct cma *cma) { }
|
|
|
* @cma: Contiguous memory region for which the allocation is performed.
|
|
|
* @count: Requested number of pages.
|
|
|
* @align: Requested alignment of pages (in PAGE_SIZE order).
|
|
|
+ * @gfp_mask: GFP mask to use during compaction
|
|
|
*
|
|
|
* This function allocates part of contiguous memory on specific
|
|
|
* contiguous memory area.
|