| 函数逻辑报告 | 
| Source Code: ipc\mqueue.c | Create Date:2022-07-27 18:25:58 | 
| Last Modify:2020-03-17 23:00:47 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mqueue_create_attr
函数原型:static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dentry * | dentry | |
| umode_t | mode | |
| void * | arg | 
| 500 | 加自旋锁 | 
| 502 | 如果非ipc_ns则 | 
| 504 | 转到:out_unlock | 
| 507 | 如果mq_queues_count大于等于mq_queues_max且非操作权限检查则 | 
| 510 | 转到:out_unlock | 
| 512 | mq_queues_count自加 | 
| 513 | 自旋锁解锁 | 
| 516 | 如果是错误则 | 
| 523 | put_ipc_ns(ipc_ns) | 
| 524 | i_size加等于DIRENT_SIZE | 
| 525 | i_ctime等于i_mtime等于i_atime等于current_time(dir) | 
| 527 | 为目录项建立索引 | 
| 528 | 获得目录项引用 | 
| 529 | 返回:0 | 
| 530 | out_unlock : | 
| 531 | 自旋锁解锁 | 
| 532 | 如果ipc_ns则put_ipc_ns(ipc_ns) | 
| 534 | 返回:error | 
| 名称 | 描述 | 
|---|---|
| mqueue_create | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |