函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:55:15 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:perf_mmap_fault
函数原型:static vm_fault_t perf_mmap_fault(struct vm_fault *vmf)
返回类型:vm_fault_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_fault * | vmf |
5518 | event等于private_data |
5520 | ret等于VM_FAULT_SIGBUS |
5523 | 如果Logical page offset based on vma 恒等于0则ret等于0 |
5525 | 返回:ret |
5529 | rb等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(rb) |
5533 | 如果Logical page offset based on vma 且FAULT_FLAG_xxx flags 按位与Fault was a write access 则转到:unlock |
5536 | ->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR).等于perf_mmap_to_page(rb, Logical page offset based on vma ) |
5537 | 如果非->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR).则转到:unlock |
5540 | get_page(->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR).) |
5544 | ret等于0 |
5545 | unlock : |
5548 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |