函数逻辑报告 |
Source Code:fs\open.c |
Create Date:2022-07-29 10:31:01 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:build_open_flags
函数原型:static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | flags | |
umode_t | mode | |
struct open_flags * | op |
960 | lookup_flags等于0 |
971 | 否则mode等于0 |
986 | 如果flags按位与__O_TMPFILE则 |
996 | flags与等于O_DIRECTORY按位或O_NOFOLLOW按位或O_PATH |
997 | acc_mode等于0 |
1008 | 如果flags按位与O_APPEND则acc_mode或等于MAY_APPEND |
1013 | intent等于如果flags按位与O_PATH则0否则... in open |
1016 | intent或等于... in object creation |
1017 | 如果flags按位与O_EXCL则intent或等于... in exclusive creation |
1021 | 如果flags按位与O_DIRECTORY则lookup_flags或等于quire a directory |
1023 | 如果非flags按位与O_NOFOLLOW的值则lookup_flags或等于llow links at the end |
1025 | lookup_flags等于lookup_flags |
1026 | 返回:0 |
名称 | 描述 |
---|---|
file_open_name | le_open_name - open file and return file pointer*@name: struct filename containing path to open*@flags: open flags as per the open(2) second argument*@mode: mode for the new file if O_CREAT is set, else ignored* This is the helper to open a file from |
file_open_root | |
do_sys_open |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |