| 函数逻辑报告 | 
| Source Code: arch\x86\kernel\kvm.c | Create Date:2022-07-27 09:43:43 | 
| Last Modify:2020-03-16 21:33:46 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:@interrupt_kernel: Is this called from a routine which interrupts the kernel* (other than user space)?
函数原型:void kvm_async_pf_task_wait(unsigned int token, int interrupt_kernel)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | token | |
| int | interrupt_kernel | 
| 105 | key等于hash_32(token, KVM_TASK_SLEEP_HASHBITS) | 
| 106 | b等于async_pf_sleepers[key] | 
| 108 | DECLARE_SWAITQUEUE(wait) | 
| 112 | raw_spin_lock( & lock) | 
| 113 | e等于_find_apf_task(b, token) | 
| 114 | 如果e则 | 
| 126 | halted等于是空闲任务或如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_COUNT)则抢占计数值大于1或rcu_preempt_depth()否则interrupt_kernel | 
| 130 | init_swait_queue_head( & wq) | 
| 131 | hlist_add_head( & link, & list) | 
| 132 | raw_spin_unlock( & lock) | 
| 134 | 循环 | 
| 135 | 如果非halted则prepare_to_swait_exclusive( & wq, & wait, 深度睡眠态) | 
| 137 | 如果hlist_unhashed( & link)则退出 | 
| 142 | 如果非halted则 | 
| 146 | 否则 | 
| 150 | native_safe_halt() | 
| 151 | 禁止中断() | 
| 156 | 如果非halted则finish_swait( & wq, & wait) | 
| 160 | 返回 | 
| 名称 | 描述 | 
|---|---|
| do_async_page_fault | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |