Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:57
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:w_inode_pseudo - obtain an inode*@sb: superblock* Allocates a new inode for given superblock.* Inode wont be chained in superblock s_inodes list* This means :* - fs can't be unmount* - quotas, fsnotify, writeback can't work

Proto:struct inode *new_inode_pseudo(struct super_block *sb)

Type:struct inode

Parameter:

TypeParameterName
struct super_block *sb
926  inode = alloc_inode(sb)
928  If inode Then
929  spin_lock( & _blocks, i_bytes, maybe i_size )
930  Misc = 0
931  spin_unlock( & _blocks, i_bytes, maybe i_size )
932  Initialization list head
934  Return inode
Caller
NameDescribe
new_inodeobtain an inode
alloc_anon_inodeA single inode exists for all anon_inode files. Contrary to pipes,* anon_inode inodes have no associated per-instance data, so we need* only allocate one of them.
__ns_get_path