Function report |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-28 20:20:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:userfaultfd_copy
Proto:static int userfaultfd_copy(struct userfaultfd_ctx *ctx, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct userfaultfd_ctx * | ctx | |
| unsigned long | arg |
| 1707 | __user * user_uffdio_copy |
| 1710 | user_uffdio_copy = arg |
| 1713 | If READ_ONCE(memory mappings are changing because of non-cooperative event ) Then Go to out |
| 1717 | If copy_from_user( & uffdio_copy, user_uffdio_copy, size of uffdio_copy - sizeof(__s64)) Then Go to out |
| 1739 | Else |
| 1740 | Return -ESRCH |
| 1751 | wake_userfault(ctx, & range) |
| 1754 | out : |
| 1755 | Return ret |
| Name | Describe |
|---|---|
| userfaultfd_ioctl |
| 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 |