函数逻辑报告

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

函数名称:get_next_ino

函数原型:unsigned int get_next_ino(void)

返回类型:unsigned int

参数:

892  p等于Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(last_ino)
893  res等于p
904  res自加
906  如果此条件成立可能性小(为编译器优化)(!res)则res自加
908  p等于res
909  The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(last_ino)
910  返回:res
调用者
名称描述
__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
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.
bm_get_inode
ramfs_get_inode
bpf_get_inode