函数逻辑报告

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

函数名称:put_unused_fd

函数原型:void put_unused_fd(unsigned int fd)

返回类型:void

参数:

类型参数名称
unsigned intfd
559  files等于files
560  加自旋锁
561  __put_unused_fd(files, fd)
562  自旋锁解锁
调用者
名称描述
copy_process创建进程
__do_pipe_flags
do_pipe2sys_pipe() is the normal C calling standard for creating* a pipe. It's not the way Unix traditionally does this, though.
SYSCALL_DEFINE3
open_related_ns
create_fd
copy_event_to_user
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,
do_handle_open