函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:54:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:memory_failure_queue - Schedule handling memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: Flags for memory failure handling* This function is called by the low level hardware error handler
函数原型:void memory_failure_queue(unsigned long pfn, int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | pfn | |
int | flags |
1452 | mf_cpu等于Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(memory_failure_cpu) |
1453 | spin_lock_irqsave( & lock, proc_flags) |
1454 | 如果kfifo_put - put data into the fifo*@fifo: address of the fifo to be used*@val: the data to be added* This macro copies the given value into the fifo( & fifo, entry)则为cpu配置任务 |
1459 | spin_unlock_irqrestore( & lock, proc_flags) |
1460 | The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(memory_failure_cpu) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |