函数逻辑报告 |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-29 10:52:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:userfaultfd_ioctl
函数原型:static long userfaultfd_ioctl(struct file *file, unsigned cmd, unsigned long arg)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
unsigned | cmd | |
unsigned long | arg |
1869 | 如果cmd不等于UFFDIO_API且state machine 恒等于UFFD_STATE_WAIT_API则返回:负EINVAL |
1873 | 当:cmd恒等于UFFDIO_API |
1874 | ret等于serland asks for a certain API version and we return which bits* and ioctl commands are implemented in this kernel for such API* version or -EINVAL if unknown. |
1875 | 退出 |
1876 | 当:cmd恒等于UFFDIO_REGISTER |
1877 | ret等于userfaultfd_register(ctx, arg) |
1878 | 退出 |
1879 | 当:cmd恒等于UFFDIO_UNREGISTER |
1880 | ret等于userfaultfd_unregister(ctx, arg) |
1881 | 退出 |
1882 | 当:cmd恒等于UFFDIO_WAKE |
1883 | ret等于serfaultfd_wake may be used in combination with the* UFFDIO_*_MODE_DONTWAKE to wakeup userfaults in batches. |
1884 | 退出 |
1885 | 当:cmd恒等于UFFDIO_COPY |
1886 | ret等于userfaultfd_copy(ctx, arg) |
1887 | 退出 |
1888 | 当:cmd恒等于UFFDIO_ZEROPAGE |
1889 | ret等于userfaultfd_zeropage(ctx, arg) |
1890 | 退出 |
1892 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |