函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get additional reference to inode; caller must already hold one.

函数原型:void ihold(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
420  WARN_ON(atomic_inc_return( & i_count) < 2)
调用者
名称描述
do_unlinkatMake sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.
simple_link
bdgrabdgrab -- Grab a reference to an already referenced block device*@bdev: Block device to grab a reference to.
anon_inode_getfileanon_inode_getfile - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private
get_futex_key_refsTake a reference to the resource addressed by a key.* Can be called while holding spinlocks.
try_break_deleg