函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_for_busy_inodes
函数原型:static int check_for_busy_inodes(struct super_block *sb, struct fscrypt_master_key *mk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
struct fscrypt_master_key * | mk |
667 | busy_count等于0 |
670 | 加自旋锁 |
673 | busy_count自加 |
675 | 如果busy_count恒等于0则 |
676 | 自旋锁解锁 |
677 | 返回:0 |
682 | struct inode * inode = ({ |
685 | })->ci_inode |
688 | 自旋锁解锁 |
690 | fscrypt_warn(NULL, "%s: %zu inode(s) still busy after removing key with %s %*phN, including ino %lu", s_id, busy_count, master_key_spec_type( & For v1 policy keys: an arbitrary key descriptor which was assigned by* userspace (->descriptor).* For v2 policy keys: a cryptographic hash of this key (->identifier).), master_key_spec_len( & For v1 policy keys: an arbitrary key descriptor which was assigned by* userspace (->descriptor).* For v2 policy keys: a cryptographic hash of this key (->identifier).), (u8 * ) & u, ino) |
695 | 返回:负EBUSY |
名称 | 描述 |
---|---|
try_to_lock_encrypted_files |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |