函数逻辑报告 |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-27 09:22:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_release
函数原型:static int do_release(struct inode *inode, struct file *filp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct file * | filp |
1571 | 如果check_apm_user(as, "release")则返回:0 |
1573 | needed for tty driver, and maybe others = NULL |
1574 | 如果standbys_pending大于0则 |
1575 | standbys_pending减等于standbys_pending |
1576 | 如果standbys_pending小于等于0则standby() |
1579 | 如果suspends_pending大于0则 |
1580 | suspends_pending减等于suspends_pending |
1581 | 如果suspends_pending小于等于0则suspend(1) |
1584 | 加自旋锁 |
1587 | 否则 |
1595 | 打印错误信息("filp not in user list\n") |
1599 | 自旋锁解锁 |
1600 | 释放内存 |
1601 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |