函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-29 10:52:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:resolve_userfault_fork

函数原型:static int resolve_userfault_fork(struct userfaultfd_ctx *ctx, struct userfaultfd_ctx *new, struct uffd_msg *msg)

返回类型:int

参数:

类型参数名称
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  如果fd小于0则返回:fd
1030  unused reserved fields 等于0
1031  ufd等于fd
1032  返回:0
调用者
名称描述
userfaultfd_ctx_read