函数逻辑报告 |
Source Code:mm\gup.c |
Create Date:2022-07-27 16:01:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_user_pages_fast() - pin user pages in memory*@start: starting user address*@nr_pages: number of pages from start to pin*@gup_flags: flags modifying pin behaviour*@pages: array that receives pointers to the pages pinned.
函数原型:int get_user_pages_fast(unsigned long start, int nr_pages, unsigned int gup_flags, struct page **pages)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | start | |
| int | nr_pages | |
| unsigned int | gup_flags | |
| struct page ** | pages |
| 2418 | 如果WARN_ON_ONCE(gup_flags & ~(check pte is writable | mapping lifetime is indefinite: see below | get_user_pages read/write w/o permission ))则返回:负EINVAL |
| 2442 | start加等于nr左移PAGE_SHIFT determines the page size 位 |
| 2449 | 如果nr大于0则 |
| 2457 | 返回:ret |
| 名称 | 描述 |
|---|---|
| iov_iter_get_pages_alloc | |
| get_futex_key | get_futex_key() - Get parameters which are the keys for a futex*@uaddr: virtual address of the futex*@fshared: 0 for a PROCESS_PRIVATE futex, 1 for PROCESS_SHARED*@key: address where result is stored |
| madvise_inject_error | Error injection support for memory error handling. |
| __gup_benchmark_ioctl | |
| iov_iter_get_pages |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |