函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:35:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check whether we can create an object with dentry child in directory* dir.* 1. We can't do it if child already exists (open has special treatment for* this case, but since we are inlined it's OK)* 2
函数原型:static inline int may_create(struct inode *dir, struct dentry *child)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | dir | |
| struct dentry * | child |
| 2786 | audit_inode_child(dir, child, a child being created ) |
| 2787 | 如果 Where the name belongs to - NULL is * negative 则返回:负EEXIST |
| 2789 | 如果IS_DEADDIR(dir)则返回:负ENOENT |
| 2792 | 如果非kuid_has_mapping(s_user_ns, current_fsuid())或非kgid_has_mapping(s_user_ns, current_fsgid())则返回:负EOVERFLOW |
| 名称 | 描述 |
|---|---|
| vfs_create | |
| vfs_mkobj | |
| vfs_mknod | |
| vfs_mkdir | |
| vfs_symlink | |
| vfs_link | vfs_link - create a new link*@old_dentry: object to be linked*@dir: new parent*@new_dentry: where to create the new link*@delegated_inode: returns inode needing a delegation break* The caller must hold dir->i_mutex* If vfs_link discovers a delegation on |
| vfs_rename | vfs_rename - rename a filesystem object*@old_dir: parent of source*@old_dentry: source*@new_dir: parent of destination*@new_dentry: destination*@delegated_inode: returns an inode needing a delegation break*@flags: rename flags |
| vfs_whiteout |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |