Function report |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-28 20:20:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:userfaultfd_zeropage
Proto:static int userfaultfd_zeropage(struct userfaultfd_ctx *ctx, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct userfaultfd_ctx * | ctx | |
| unsigned long | arg |
| 1763 | __user * user_uffdio_zeropage |
| 1766 | user_uffdio_zeropage = arg |
| 1769 | If READ_ONCE(memory mappings are changing because of non-cooperative event ) Then Go to out |
| 1773 | If copy_from_user( & uffdio_zeropage, user_uffdio_zeropage, size of uffdio_zeropage - sizeof(__s64)) Then Go to out |
| 1778 | ret = validate_range(mm with one ore more vmas attached to this userfaultfd_ctx , & start, len) |
| 1783 | If mode & ~UFFDIO_ZEROPAGE_MODE_DONTWAKE Then Go to out |
| 1791 | Else |
| 1792 | Return -ESRCH |
| 1801 | If Not (mode & UFFDIO_ZEROPAGE_MODE_DONTWAKE) Then |
| 1803 | wake_userfault(ctx, & range) |
| 1806 | out : |
| 1807 | 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 |