函数逻辑报告 |
Source Code:mm\gup.c |
Create Date:2022-07-27 16:01:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__gup_longterm_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag.
函数原型:static long __gup_longterm_locked(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, struct page **pages, struct vm_area_struct **vmas, unsigned int gup_flags)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | |
| struct mm_struct * | mm | |
| unsigned long | start | |
| unsigned long | nr_pages | |
| struct page ** | pages | |
| struct vm_area_struct ** | vmas | |
| unsigned int | gup_flags |
| 1559 | flags等于0 |
| 1566 | 如果非vmas_tmp则 |
| 1573 | flags等于memalloc_nocma_save() |
| 1580 | memalloc_nocma_restore(flags) |
| 1595 | out : |
| 1598 | 返回:rc |
| 名称 | 描述 |
|---|---|
| get_user_pages | This is the same as get_user_pages_remote(), just with a* less-flexible calling convention where we assume that the task* and mm being operated on are the current task's and don't allow* passing of a locked parameter. We also obviously don't pass |
| __gup_longterm_unlocked |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |