函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_pid

函数原型:void put_pid(struct pid *pid)

返回类型:void

参数:

类型参数名称
struct pid *pid
107  如果非pid则返回
110  ns等于进程所处空间
111  如果_dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED
112  释放一个对象
113  put_pid_ns(ns)
调用者
名称描述
_do_fork分裂进程
kernel_waitid
kernel_wait4
proc_do_cad_pid
delayed_put_pid
pidfd_createpidfd_create() - Create a new pid file descriptor.*@pid: struct pid that the pidfd will reference* This creates a new pid file descriptor with the O_CLOEXEC flag set.* Note, that this function can only be called after the fd table has
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
debug_rt_mutex_free_waiter
release_posix_timer
auditd_conn_freeauditd_conn_free - RCU helper to release an auditd connection struct*@rcu: RCU head* Description:* Drop any references inside the auditd connection tracking struct and free* the memory.
remove_notification
f_modown
fanotify_free_event
pidfd_release
scm_destroy_cred
ipc_update_pid
__do_notifyThe next function is only to split too long sys_mq_timedsend
__fputhe real guts of fput() - releasing the last reference to file