函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lock_new_inode - clear the I_NEW state and wake up any waiters*@inode: new inode to unlock* Called when the inode is fully initialised to clear the new state of the* inode and wake up anyone waiting for the inode to finish initialisation.

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

返回类型:void

参数:

类型参数名称
struct inode *inode
992  lockdep_annotate_inode_mutex_key(inode)
993  加自旋锁
994  WARN_ON(!(Misc & I_NEW))
995  Misc 与等于I_NEW的反按位与I_CREATING的反
996  smp_mb()
997  wake_up_bit - wake up a waiter on a bit*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on* There is a standard hashed waitqueue table for generic use
998  自旋锁解锁
调用者
名称描述
iget_failedget_failed - Mark an under-construction inode as dead and release it*@inode: The inode to discard* Mark an under-construction inode as dead and release it.
bdget