Function report |
Source Code:fs\compat_ioctl.c |
Create Date:2022-07-28 20:26:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compat_ioctl_check_table
Proto:static int compat_ioctl_check_table(unsigned int xcmd)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | xcmd |
120 | max = ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(ioctl_pointer) - 1 |
122 | BUILD_BUG_ON - break compile if a condition is true(max >= (1 << 16)) |
130 | i++ |
133 | When ioctl_pointer[i] > xcmd && i > 0 cycle |
134 | i-- |
136 | Return ioctl_pointer[i] == xcmd |
Name | Describe |
---|---|
COMPAT_SYSCALL_DEFINE3 |
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 |