Lines Matching refs:arg
119 if (len && (start > uwq->msg.arg.pagefault.address || in userfaultfd_wake_function()
120 start + len <= uwq->msg.arg.pagefault.address)) in userfaultfd_wake_function()
198 msg.arg.pagefault.address = address; in userfault_msg()
207 msg.arg.pagefault.flags |= UFFD_PAGEFAULT_FLAG_WRITE; in userfault_msg()
216 msg.arg.pagefault.flags |= UFFD_PAGEFAULT_FLAG_WP; in userfault_msg()
218 msg.arg.pagefault.feat.ptid = task_pid_vnr(current); in userfault_msg()
620 ewq->msg.arg.reserved.reserved1; in userfaultfd_event_wait_completion()
728 ewq.msg.arg.reserved.reserved1 = (unsigned long)fctx->new; in dup_fctx()
783 ewq.msg.arg.remap.from = from; in mremap_userfaultfd_complete()
784 ewq.msg.arg.remap.to = to; in mremap_userfaultfd_complete()
785 ewq.msg.arg.remap.len = len; in mremap_userfaultfd_complete()
808 ewq.msg.arg.remove.start = start; in userfaultfd_remove()
809 ewq.msg.arg.remove.end = end; in userfaultfd_remove()
865 ewq.msg.arg.remove.start = ctx->start; in userfaultfd_unmap_complete()
866 ewq.msg.arg.remove.end = ctx->end; in userfaultfd_unmap_complete()
1031 msg->arg.reserved.reserved1 = 0; in resolve_userfault_fork()
1032 msg->arg.fork.ufd = fd; in resolve_userfault_fork()
1111 uwq->msg.arg.reserved.reserved1; in userfaultfd_ctx_read()
1304 unsigned long arg) in userfaultfd_register() argument
1316 user_uffdio_register = (struct uffdio_register __user *) arg; in userfaultfd_register()
1517 unsigned long arg) in userfaultfd_unregister() argument
1526 const void __user *buf = (void __user *)arg; in userfaultfd_unregister()
1673 unsigned long arg) in userfaultfd_wake() argument
1678 const void __user *buf = (void __user *)arg; in userfaultfd_wake()
1705 unsigned long arg) in userfaultfd_copy() argument
1712 user_uffdio_copy = (struct uffdio_copy __user *) arg; in userfaultfd_copy()
1761 unsigned long arg) in userfaultfd_zeropage() argument
1768 user_uffdio_zeropage = (struct uffdio_zeropage __user *) arg; in userfaultfd_zeropage()
1826 unsigned long arg) in userfaultfd_api() argument
1829 void __user *buf = (void __user *)arg; in userfaultfd_api()
1866 unsigned long arg) in userfaultfd_ioctl() argument
1876 ret = userfaultfd_api(ctx, arg); in userfaultfd_ioctl()
1879 ret = userfaultfd_register(ctx, arg); in userfaultfd_ioctl()
1882 ret = userfaultfd_unregister(ctx, arg); in userfaultfd_ioctl()
1885 ret = userfaultfd_wake(ctx, arg); in userfaultfd_ioctl()
1888 ret = userfaultfd_copy(ctx, arg); in userfaultfd_ioctl()
1891 ret = userfaultfd_zeropage(ctx, arg); in userfaultfd_ioctl()