函数逻辑报告 |
Source Code:kernel\fork.c |
Create Date:2022-07-27 09:57:33 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_task_mm - acquire a reference to the task's mm* Returns %NULL if the task has no mm. Checks PF_KTHREAD (meaning* this kernel workthread has transiently adopted a user mm with use_mm,* to do its AIO) is not set and if so returns a reference to it, after
函数原型:struct mm_struct *get_task_mm(struct task_struct *task)
返回类型:struct mm_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
1211 | 如果mm则 |
1212 | 如果任务标志按位与I am a kernel thread 则mm = NULL |
1217 | task_unlock(task) |
1218 | 返回:mm |
名称 | 描述 |
---|---|
mm_access | |
ptrace_access_vm | Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages |
getrusage | |
update_tasks_nodemask | pdate_tasks_nodemask - Update the nodemasks of tasks in the cpuset.*@cs: the cpuset in which each task's mems_allowed mask needs to be changed* Iterate through each task of @cs updating its mems_allowed to the* effective cpuset's |
cpuset_attach | |
trace_user_stack_print | TRACE_USER_STACK |
perf_event_addr_filters_apply | Update event's address range filters based on the* task's existing mappings, if any. |
access_process_vm | Access another process' address space.* - source/target buffer must be kernel space |
access_process_vm | Access another process' address space.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages |
kernel_migrate_pages | |
kernel_move_pages | Move a list of pages in the address space of the currently executing* process. |
mem_cgroup_can_attach | |
get_cmdline | get_cmdline() - copy the cmdline value to a buffer.*@task: the task whose cmdline value to copy.*@buffer: the buffer to copy to.*@buflen: the length of the buffer. Larger cmdline values are truncated* to this length. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |