函数逻辑报告 |
Source Code:mm\gup.c |
Create Date:2022-07-27 16:01:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_user_pages_remote() - pin user pages in memory*@tsk: the task_struct to use for page fault accounting, or* NULL if faults are not to be recorded
函数原型:long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, struct vm_area_struct **vmas, int *locked)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | mm | |
unsigned long | start | |
unsigned long | nr_pages | |
unsigned int | gup_flags | |
struct page ** | pages | |
struct vm_area_struct ** | vmas | |
int * | locked |
1172 | 如果WARN_ON_ONCE(gup_flags & mapping lifetime is indefinite: see below )则返回:负EINVAL |
1175 | 返回:__get_user_pages_locked(tsk, mm, start, nr_pages, pages, vmas, locked, gup_flags | mark page accessed | we are working on non-current tsk/mm ) |
名称 | 描述 |
---|---|
uprobe_write_opcode | NOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture |
is_trap_at_addr | |
__access_remote_vm | Access another process' address space as given in mm. If non-NULL, use the* given task for page fault accounting. |
process_vm_rw_single_vec | process_vm_rw_single_vec - read/write pages from task specified*@addr: start memory address of target process*@len: size of area to copy to/from*@iter: where to copy to/from locally*@process_pages: struct pages area that can store at least* |
__update_ref_ctr | |
tomoyo_dump_page | moyo_dump_page - Dump a page to buffer.*@bprm: Pointer to "struct linux_binprm".*@pos: Location to dump.*@dump: Poiner to "struct tomoyo_page_dump".* Returns true on success, false otherwise. |
get_arg_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |