Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_event
Proto:static void queue_event(apm_event_t event, struct apm_user *sender)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
apm_event_t | event | |
struct apm_user * | sender |
1180 | spin_lock( & user_list_lock) |
1186 | If ++event_head >= Maximum number of events stored Then event_head = 0 |
1189 | If event_head == event_tail Then |
1194 | If ++event_tail >= Maximum number of events stored Then event_tail = 0 |
1197 | events[event_head] = event |
1201 | Case event == APM_SYS_SUSPEND |
1202 | Case event == APM_USER_SUSPEND |
1207 | Case event == Events (results of Get PM Event) |
1208 | Case event == APM_USER_STANDBY |
1214 | wake_up_interruptible( & apm_waitqueue) |
1215 | out : |
1216 | spin_unlock( & user_list_lock) |
Name | Describe |
---|---|
suspend | |
check_events | |
do_ioctl |
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 |