Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:resolve_userfault_fork

Proto:static int resolve_userfault_fork(struct userfaultfd_ctx *ctx, struct userfaultfd_ctx *new, struct uffd_msg *msg)

Type:int

Parameter:

TypeParameterName
struct userfaultfd_ctx *ctx
struct userfaultfd_ctx *new
struct uffd_msg *msg
1025  fd = anon_inode_getfd - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private
1027  If fd < 0 Then Return fd
1030  unused reserved fields = 0
1031  ufd = fd
1032  Return 0
Caller
NameDescribe
userfaultfd_ctx_read