函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_pid

函数原型:static inline struct pid *get_pid(struct pid *pid)

返回类型:struct pid

参数:

类型参数名称
struct pid *pid
81  如果pid_inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
83  返回:pid
调用者
名称描述
copy_process创建进程
pidfd_get_pid
get_task_pid
find_get_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
debug_rt_mutex_deadlockWe fill out the fields in the waiter to store the information about* the deadlock. We print when we return. act_waiter can be NULL in* case of a remove waiter operation.
do_timer_createCreate a POSIX.1b interval timer.
auditd_setauditd_set - Set/Reset the auditd connection state*@pid: auditd PID*@portid: auditd netlink portid*@net: auditd network namespace pointer* Description:* This function will obtain and drop network namespace references as* necessary
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.
f_modown
fanotify_alloc_event
scm_set_cred
ipc_update_pid