函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_unused_fd_flags

函数原型:int get_unused_fd_flags(unsigned flags)

返回类型:int

参数:

类型参数名称
unsignedflags
545  返回:allocate a file descriptor, mark it busy.
调用者
名称描述
__do_pipe_flags
ksys_dup
SYSCALL_DEFINE3
SYSCALL_DEFINE3Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor.
open_related_ns
create_fd
do_epoll_createOpen an eventpoll file descriptor.
anon_inode_getfdanon_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
io_uring_get_fdAllocate an anonymous fd, this is what constitutes the application* visible backing of an io_uring instance. The application mmaps this* fd to gain access to the SQ/CQ ring details. If UNIX sockets are enabled,
load_misc_binaryhe loader itself
do_handle_open
copy_process创建进程