Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pid_namespace.h Create Date:2022-07-28 05:49:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_pid_ns

Proto:static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)

Type:struct pid_namespace

Parameter:

TypeParameterName
struct pid_namespace *ns
75  Return ns
Caller
NameDescribe
alloc_pid
cgroup_pidlist_find_created the appropriate pidlist for our purpose (given procs vs tasks)* returns with the lock on that pidlist already held, and takes care* of the use count, or returns NULL with no locks held if we're out of* memory.
create_pid_namespace
copy_pid_ns
pidns_get
pidns_for_children_get
pidns_install
pidns_get_parent
perf_event_allocAllocate and initialize an event structure
sysvipc_proc_open