Function report |
Source Code:mm\process_vm_access.c |
Create Date:2022-07-28 15:01:32 |
Last Modify:2020-03-17 21:52:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:process_vm_rw - check iovecs before calling core routine*@pid: PID of process to read/write from/to*@lvec: iovec array specifying where to copy to/from locally*@liovcnt: size of lvec array*@rvec: iovec array specifying where to copy to/from in the other
Proto:static ssize_t process_vm_rw(pid_t pid, const struct iovec __user *lvec, unsigned long liovcnt, const struct iovec __user *rvec, unsigned long riovcnt, unsigned long flags, int vm_write)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
pid_t | pid | |
const struct iovec __user * | lvec | |
unsigned long | liovcnt | |
const struct iovec __user * | rvec | |
unsigned long | riovcnt | |
unsigned long | flags | |
int | vm_write |
263 | iov_l = iovstack_l |
264 | iov_r = iovstack_r |
267 | dir = If vm_write Then WRITE Else generic data direction definitions |
276 | If Not iov_iter_count( & iter) Then Go to free_iovecs |
281 | If rc <= 0 Then Go to free_iovecs |
286 | free_iovecs : |
287 | If iov_r != iovstack_r Then kfree(iov_r) |
291 | Return rc |
Name | Describe |
---|---|
SYSCALL_DEFINE6 | |
SYSCALL_DEFINE6 |
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 |