Function report |
Source Code:mm\cma_debug.c |
Create Date:2022-07-28 16:33:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cma_free_mem
Proto:static int cma_free_mem(struct cma *cma, int count)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cma * | cma | |
| int | count |
| 97 | mem = cma_get_entry_from_list(cma) |
| 98 | If (mem == NULL) Then Return 0 |
| 105 | Else if Order of pages represented by one bit == 0 Then |
| 109 | count = 0 |
| 110 | cma_add_to_cma_mem_list(cma, mem) |
| 111 | Else |
| 112 | pr_debug("cma: cannot release partial block when order_per_bit != 0\n") |
| 113 | cma_add_to_cma_mem_list(cma, mem) |
| 114 | Break |
| 118 | Return 0 |
| Name | Describe |
|---|---|
| cma_free_write |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |