函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ipc_namespace.h Create Date:2022-07-27 10:31:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_ipc_ns

函数原型:static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns)

返回类型:struct ipc_namespace

参数:

类型参数名称
struct ipc_namespace *ns
128  如果ns_inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
130  返回:ns
调用者
名称描述
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