Function report | 
Source Code:arch\x86\kernel\msr.c | 
Create Date:2022-07-28 08:18:58 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:msr_open
Proto:static int msr_open(struct inode *inode, struct file *file)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct file * | file | 
| 158 | cpu = iminor(file_inode(file)) | 
| 161 | If Not Check operation authority Then Return -EPERM | 
| 164 | If cpu >= nr_cpu_ids || Not cpu_online(cpu) Then Return -ENXIO | 
| 168 | If Not cpu_has(c, Model-Specific Registers ) Then Return -EIO | 
| 171 | Return 0 | 
| 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  |