Function report |
Source Code:kernel\compat.c |
Create Date:2022-07-28 11:05:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:put_compat_rusage
Proto:int put_compat_rusage(const struct rusage *r, struct compat_rusage __user *ru)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct rusage * | r | |
| struct compat_rusage __user * | ru |
| 159 | ru_minflt = page reclaims |
| 160 | ru_majflt = page faults |
| 164 | ru_msgsnd = messages sent |
| 165 | ru_msgrcv = messages received |
| 166 | ru_nsignals = signals received |
| 168 | ru_nivcsw = involuntary " |
| 169 | If copy_to_user(ru, & r32, size of r32 ) Then Return -EFAULT |
| 171 | Return 0 |
| Name | Describe |
|---|---|
| COMPAT_SYSCALL_DEFINE5 | |
| COMPAT_SYSCALL_DEFINE2 |
| 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 |