Function Report

Linux Kernel (v4.4)

Source File:include\linux\pid.h Create Date:2016-01-14 09:11:11
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:pid_nr

Function:static inline pid_t pid_nr(struct pid *pid)

Return Type:static inline pid_t


Type Parameter NameRemarks
struct pid * pid

Function description:the helpers to get the pid's id seen from different namespaces

166  nr = 0
167  If pid then nr = Try to keep pid_chain in the same cacheline as nr for find_vpid
169  Returning nr
Function NameFunction description
copy_processCreate a new process