Function report |
Source Code:arch\x86\kernel\cpuid.c |
Create Date:2022-07-28 08:19:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpuid_open
Proto:static int cpuid_open(struct inode *inode, struct file *file)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct file * | file |
107 | cpu = iminor(file_inode(file)) |
108 | If cpu >= nr_cpu_ids || Not cpu_online(cpu) Then Return -ENXIO |
112 | If Maximum supported CPUID level, -1=no CPUID: < 0 Then Return -EIO |
115 | 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 |