函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:35:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.
函数原型:long do_unlinkat(int dfd, struct filename *name)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | dfd | |
struct filename * | name |
3977 | struct inode * delegated_inode = NULL |
3978 | lookup_flags等于0 |
3979 | retry : |
3980 | name等于filename_parentat(dfd, name, lookup_flags, & path, & last, & type) |
3988 | error等于mnt_want_write(mnt) |
3991 | retry_deleg : |
3995 | 如果非是错误则 |
4000 | 如果d_is_negative(dentry)则转到:slashes |
4003 | error等于security_path_unlink( & path, dentry) |
4007 | exit2 : |
4013 | inode = NULL |
4014 | 如果delegated_inode则 |
4015 | error等于break_deleg_wait( & delegated_inode) |
4016 | 如果非error则转到:retry_deleg |
4019 | mnt_drop_write(mnt) |
4020 | exit1 : |
4028 | 返回:error |
4030 | slashes : |
4031 | 如果d_is_negative(dentry)则error等于负ENOENT |
4037 | 转到:exit2 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |