函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:04:00 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Apply policy to a single VMA* This must be called with the mmap_sem held for writing.
函数原型:static int vma_replace_policy(struct vm_area_struct *vma, struct mempolicy *pol)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_area_struct * | vma | |
| struct mempolicy * | pol |
| 721 | pr_debug("vma %lx-%lx/%lx vm_ops %p vm_file %p set_policy %p\n", Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. , Offset (within vm_file) in PAGE_SIZEunits , Function pointers to deal with this struct. , File we map to (can be NULL). , Function pointers to deal with this struct. ? set_policy : NULL) |
| 737 | NUMA policy for the VMA 等于new |
| 740 | 返回:0 |
| 741 | err_out : |
| 743 | 返回:err |
| 名称 | 描述 |
|---|---|
| mbind_range | Step 2: apply policy to a range and do splits. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |