函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:struct inode *new_inode_pseudo(struct super_block *sb)

返回类型:struct inode

参数:

类型参数名称
struct super_block *sb
926  inode等于alloc_inode(sb)
928  如果inode
929  加自旋锁
930  Misc 等于0
931  自旋锁解锁
932  初始化链表头
934  返回:inode
调用者
名称描述
new_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