Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_release
Proto:static int do_release(struct inode *inode, struct file *filp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct file * | filp |
1571 | If check_apm_user(as, "release") Then Return 0 |
1573 | needed for tty driver, and maybe others = NULL |
1574 | If standbys_pending > 0 Then |
1575 | standbys_pending -= standbys_pending |
1576 | If standbys_pending <= 0 Then standby() |
1579 | If suspends_pending > 0 Then |
1580 | suspends_pending -= suspends_pending |
1581 | If suspends_pending <= 0 Then suspend(1) |
1584 | spin_lock( & user_list_lock) |
1587 | Else |
1595 | pr_err("filp not in user list\n") |
1599 | spin_unlock( & user_list_lock) |
1601 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |