Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\namespace.c Create Date:2022-07-28 16:53:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_ipc_ns - drop a reference to an ipc namespace

Proto:void put_ipc_ns(struct ipc_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct ipc_namespace *ns
148  If _dec_and_lock - return holding spinlock if able to decrement* refcount to 0*@r: the refcount*@lock: the spinlock to be locked* Similar to atomic_dec_and_lock(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then
149  mq_clear_sbinfo(ns)
150  spin_unlock( & mq_lock)
151  mq_put_mnt(ns)
152  free_ipc_ns(ns)
Caller
NameDescribe
free_nsproxy
shm_release
mqueue_fs_context_free
mq_create_mount
mqueue_evict_inode
mqueue_create_attr
ipcns_put
ipcns_install