Source
1
+
/* SPDX-License-Identifier: GPL-2.0 */
1
2
#ifndef __MM_CMA_H__
2
3
#define __MM_CMA_H__
3
4
​
4
5
struct cma {
5
6
unsigned long base_pfn;
6
7
unsigned long count;
7
8
unsigned long *bitmap;
8
9
unsigned int order_per_bit; /* Order of pages represented by one bit */
9
10
struct mutex lock;
10
11
#ifdef CONFIG_CMA_DEBUGFS