Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_ipc_ns

Proto:static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns)

Type:struct ipc_namespace

Parameter:

TypeParameterName
struct ipc_namespace *ns
128  If ns Then _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
130  Return ns
Caller
NameDescribe
sysvipc_proc_open
do_shmatFix shmaddr, allocate descriptor, map shm, add attach descriptor to lists.* NOTE! Despite the name, this is NOT a direct system call entrypoint. The* "raddr" thing points to kernel space, and there has to be a wrapper around* this.
__get_ns_from_inodeThis routine should be called with the mq_lock held.
mqueue_init_fs_context
mq_create_mount
copy_ipcs
ipcns_get
ipcns_install