Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_nlink - directly increment an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink. Currently,* it is only here for parity with dec_nlink().

Proto:void inc_nlink(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
357  If Value for the false possibility is greater at compile time(i_nlink == 0) Then
358  WARN_ON(!(Misc & I_LINKABLE))
359  atomic_long_dec( & s_remove_count)
362  __i_nlink++
Caller
NameDescribe
bpf_mkdir
securityfs_create_dentrysecurityfs_create_dentry - create a dentry in the securityfs filesystem*@name: a pointer to a string containing the name of the file to create.*@mode: the permission that the file should have*@parent: a pointer to the parent dentry for this file
sel_make_dirdeclaration for sel_make_class_dirs
__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
simple_link
simple_rename
ramfs_get_inode
ramfs_mkdir
inode_inc_link_count