Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-28 20:20:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mremap_userfaultfd_complete

Proto:void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, unsigned long from, unsigned long to, unsigned long len)

Type:void

Parameter:

TypeParameterName
struct vm_userfaultfd_ctx *vm_ctx
unsigned longfrom
unsigned longto
unsigned longlen
769  ctx = ctx
772  If Not ctx Then Return
775  If to & ~PAGE_MASK Then
776  serfaultfd_ctx_put - Releases a reference to the internal userfaultfd* context.*@ctx: [in] Pointer to userfaultfd context.* The userfaultfd context reference must have been previously acquired either* with userfaultfd_ctx_get() or userfaultfd_ctx_fdget().
777  Return
780  msg_init( & msg)
782  event = UFFD_EVENT_REMAP
783  from = from
784  to = to
785  len = len
787  userfaultfd_event_wait_completion(ctx, & ewq)