函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\pid.c Create Date:2022-07-27 10:29:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:find_task_by_vpid

函数原型:struct task_struct *find_task_by_vpid(pid_t vnr)

返回类型:struct task_struct

参数:

类型参数名称
pid_tvnr
397  返回:Must be called under rcu_read_lock().
调用者
名称描述
SYSCALL_DEFINE3
SYSCALL_DEFINE2Ugh. To avoid negative return values, "getpriority()" will* not return the normal nice-value, but a negated value that* has been offset by 20 (ie it returns 40..1 instead of -20..19)* to stay compatible.
SYSCALL_DEFINE2This needs some heavy checking
do_getpgid
SYSCALL_DEFINE1
SYSCALL_DEFINE4
find_get_task_by_vpid
find_process_by_pidd_process_by_pid - find a process with a matching PID value.*@pid: the pid in question.* The task of @pid, if found. %NULL otherwise.
SYSCALL_DEFINE5
lookup_taskFunctions for validating access to tasks.
SYSCALL_DEFINE3sys_get_robust_list() - Get the robust-futex list head of a task*@pid: pid of the process [zero for current task]*@head_ptr: pointer to a list-head pointer, the kernel fills it in*@len_ptr: pointer to a length field, the kernel fills in the header size
COMPAT_SYSCALL_DEFINE3
cgroup_procs_write_start
fill_stats_for_tgid
trace_user_stack_printTRACE_USER_STACK
find_lively_task_by_vpid
kernel_move_pagesMove a list of pages in the address space of the currently executing* process.
SYSCALL_DEFINE2
tomoyo_read_pidmoyo_read_pid - Get domainname of the specified PID
rdtgroup_move_task
do_send_specific
kernel_migrate_pages
SYSCALL_DEFINE3
tomoyo_select_domainmoyo_select_domain - Parse select command.*@head: Pointer to "struct tomoyo_io_buffer".*@data: String to parse.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().