函数逻辑报告 |
Source Code:mm\gup.c |
Create Date:2022-07-27 16:01:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:We can leverage the VM_FAULT_RETRY functionality in the page fault* paths better by using either get_user_pages_locked() or* get_user_pages_unlocked().* get_user_pages_locked() is suitable to replace the form:* down_read(&mm->mmap_sem);* do_something()
函数原型:long get_user_pages_locked(unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, int *locked)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | start | |
| unsigned long | nr_pages | |
| unsigned int | gup_flags | |
| struct page ** | pages | |
| int * | locked |
| 1661 | 如果WARN_ON_ONCE(gup_flags & mapping lifetime is indefinite: see below )则返回:负EINVAL |
| 1664 | 返回:__get_user_pages_locked(当前进程, mm, start, nr_pages, pages, NULL, locked, gup_flags | mark page accessed ) |
| 名称 | 描述 |
|---|---|
| lookup_node | |
| get_vaddr_frames | get_vaddr_frames() - map virtual addresses to pfns*@start: starting user address*@nr_frames: number of pages / pfns from start to map*@gup_flags: flags modifying lookup behaviour*@vec: structure which receives pages / pfns of the addresses mapped. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |