Function report |
Source Code:arch\x86\kernel\cpu\mtrr\if.c |
Create Date:2022-07-28 08:05:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mtrr_file_add
Proto:static int mtrr_file_add(unsigned long base, unsigned long size, unsigned int type, bool increment, struct file *file, int page)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | base | |
| unsigned long | size | |
| unsigned int | type | |
| bool | increment | |
| struct file * | file | |
| int | page |
| 41 | fcount = FILE_FCOUNT(file) |
| 44 | max = num_var_ranges |
| 45 | If (fcount == NULL) Then |
| 46 | fcount = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 49 | FILE_FCOUNT(file) = fcount |
| 51 | If Not page Then |
| 60 | Return reg |
| Name | Describe |
|---|---|
| mtrr_ioctl |
| 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 |