函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_get_pid

函数原型:struct pid *find_get_pid(pid_t nr)

返回类型:struct pid

参数:

类型参数名称
pid_tnr
439  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
440  pid等于get_pid(find_vpid(nr))
441  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
443  返回:pid
调用者
名称描述
kernel_waitid
kernel_wait4
proc_do_cad_pid
SYSCALL_DEFINE2pidfd_open() - Open new pid file descriptor.*@pid: pid for which to retrieve a pidfd*@flags: flags to pass* This creates a new pid file descriptor with the O_CLOEXEC flag set for* the process identified by @pid. Currently, the process identified by