函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\namespace.c Create Date:2022-07-27 18:28:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:put_ipc_ns - drop a reference to an ipc namespace

函数原型:void put_ipc_ns(struct ipc_namespace *ns)

返回类型:void

参数:

类型参数名称
struct ipc_namespace *ns
148  如果_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
149  mq_clear_sbinfo(ns)
150  自旋锁解锁
151  mq_put_mnt(ns)
152  free_ipc_ns(ns)
调用者
名称描述
free_nsproxy
shm_release
mqueue_fs_context_free
mq_create_mount
mqueue_evict_inode
mqueue_create_attr
ipcns_put
ipcns_install
create_new_namespacesCreate new nsproxy and all of its the associated namespaces.* Return the newly created nsproxy. Do not attach this to the task,* leave it to the caller to do proper locking and attach it to task.