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:serfaultfd_wake may be used in combination with the* UFFDIO_*_MODE_DONTWAKE to wakeup userfaults in batches.
Proto:static int userfaultfd_wake(struct userfaultfd_ctx *ctx, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct userfaultfd_ctx * | ctx | |
| unsigned long | arg |
| 1679 | If copy_from_user( & uffdio_wake, buf, size of uffdio_wake ) Then Go to out |
| 1682 | ret = validate_range(mm with one ore more vmas attached to this userfaultfd_ctx , & start, len) |
| 1695 | wake_userfault(ctx, & range) |
| 1696 | ret = 0 |
| 1698 | out : |
| 1699 | 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 |