函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keyring.c Create Date:2022-07-29 10:57:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:evict_dentries_for_decrypted_inodes

函数原型:static void evict_dentries_for_decrypted_inodes(struct fscrypt_master_key *mk)

返回类型:void

参数:

类型参数名称
struct fscrypt_master_key *mk
637  struct inode * toput_inode = NULL
639  加自旋锁
642  inode等于Back-pointer to the inode
643  加自旋锁
644  如果Misc 按位与I_FREEING按位或I_WILL_FREE按位或I_NEW的值则
645  自旋锁解锁
646  继续下一循环
648  __iget(inode)
649  自旋锁解锁
650  自旋锁解锁
652  Try to evict the inode's dentries from the dentry cache. If the inode is a* directory, then it can have at most one dentry; however, that dentry may be* pinned by child dentries, so first try to evict the children too.
653  放置一个索引节点
654  toput_inode等于inode
656  加自旋锁
659  自旋锁解锁
660  放置一个索引节点
调用者
名称描述
try_to_lock_encrypted_files