函数逻辑报告

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

函数名称:取新的索引节点

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

返回类型:struct inode

参数:

类型参数名称
struct super_block *sb
953  spin_lock_prefetch( & s_inode_list_lock)
955  inode等于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
956  如果inodede_sb_list_add - add inode to the superblock list of inodes*@inode: inode to add
958  返回:inode
调用者
名称描述
sel_make_inode
__aafs_setup_d_inode__aafs_setup_d_inode - basic inode setup for apparmorfs*@dir: parent directory for the dentry*@dentry: dentry we are seting the inode up for*@mode: permissions the file should have*@data: data to store on inode
aa_mk_null_file
pseudo_fs_fill_super
simple_fill_superhe inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions.
bm_get_inode
mknod_ptmx
devpts_fill_super
devpts_pty_newdevpts_pty_new -- create a new inode in /dev/pts/*@ptmx_inode: inode of the master*@device: major+minor of the node to be created*@index: used as a name of the node*@priv: what's given back by devpts_get_priv* The created inode is returned
ramfs_get_inode
bpf_get_inode