函数逻辑报告 |
Source Code:mm\process_vm_access.c |
Create Date:2022-07-27 16:31:33 |
Last Modify:2020-03-17 21:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_process_vm_rw
函数原型:static ssize_t compat_process_vm_rw(compat_pid_t pid, const struct compat_iovec __user *lvec, unsigned long liovcnt, const struct compat_iovec __user *rvec, unsigned long riovcnt, unsigned long flags, int vm_write)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
compat_pid_t | pid | |
const struct compat_iovec __user * | lvec | |
unsigned long | liovcnt | |
const struct compat_iovec __user * | rvec | |
unsigned long | riovcnt | |
unsigned long | flags | |
int | vm_write |
321 | iov_l等于iovstack_l |
322 | iov_r等于iovstack_r |
330 | rc等于compat_import_iovec(dir, lvec, liovcnt, UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1), & iov_l, & iter) |
333 | 如果非iov_iter_count( & iter)则转到:free_iovecs |
338 | 如果rc小于等于0则转到:free_iovecs |
343 | free_iovecs : |
344 | 如果iov_r不等于iovstack_r则释放内存 |
346 | 释放内存 |
347 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |