Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_unused_fd

Proto:void put_unused_fd(unsigned int fd)

Type:void

Parameter:

TypeParameterName
unsigned intfd
559  files = files
560  spin_lock( & written part on a separate cache line in SMP)
561  __put_unused_fd(files, fd)
562  spin_unlock( & written part on a separate cache line in SMP)
Caller
NameDescribe
copy_processCreate a new 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