Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__wait_on_freeing_inode

Proto:static void __wait_on_freeing_inode(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
1957  wq = bit_waitqueue( & Misc , Serves as both a mutex and completion notification)
1958  Note: we use "set_current_state()" _after_ the wait-queue add,* because we need a memory barrier there on SMP, so that any* wake-function that tests for the wait-queue being active* will be guaranteed to see waitqueue addition _or_ subsequent
1959  spin_unlock( & _blocks, i_bytes, maybe i_size )
1960  spin_unlock( & inode_hash_lock)
1961  schedule()
1962  sh_wait - clean up after waiting in a queue*@wq_head: waitqueue waited on*@wq_entry: wait descriptor* Sets current thread back to running state and removes* the wait descriptor from the given waitqueue if still* queued.
1963  spin_lock( & inode_hash_lock)
Caller
NameDescribe
find_inodeCalled with the inode lock held.
find_inode_fastd_inode_fast is the fast path version of find_inode, see the comment at* iget_locked for details.