函数逻辑报告

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

函数名称:__iget

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

返回类型:void

参数:

类型参数名称
struct inode *inode>i_lock must be held
412  atomic_inc( & i_count)
调用者
名称描述
inode_lru_isolateIsolate the inode from the LRU in preparation for freeing it
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.
igrab
insert_inode_locked
wait_sb_inodesThe @s_sync_lock is used to serialise concurrent sync operations* to avoid lock contention problems with concurrent wait_sb_inodes() calls.* Concurrent callers will block on the s_sync_lock rather than doing contending* walks
iterate_bdevs
fsnotify_unmount_inodessnotify_unmount_inodes - an sb is unmounting. handle any watched inodes.*@sb: superblock being unmounted.* Called during unmount with no locks held, so needs to be safe against* concurrent modifiers. We temporarily drop sb->s_inode_list_lock and CAN block.
evict_dentries_for_decrypted_inodes
drop_pagecache_sb
add_dquot_refThis routine is guarded by s_umount semaphore