Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-28 16:50:34
Last Modify:2020-03-17 23:00:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mq_create_mount

Proto:static struct vfsmount *mq_create_mount(struct ipc_namespace *ns)

Type:struct vfsmount

Parameter:

TypeParameterName
struct ipc_namespace *ns
400  fc = s_context manipulation functions.
401  If IS_ERR(fc) Then Return ERR_CAST - Explicitly cast an error-valued pointer to another pointer type*@ptr: The pointer to cast.* Explicitly cast an error-valued pointer to another pointer type in such a* way as to make it clear that's what's going on.
404  ctx = The filesystem's context
405  put_ipc_ns(ipc_ns)
406  ipc_ns = get_ipc_ns(ns)
407  put_user_ns(The user namespace for this mount )
408  The user namespace for this mount = get_user_ns(user_ns)
410  mnt = fc_mount(fc)
411  put_fs_context(fc)
412  Return mnt
Caller
NameDescribe
mq_init_ns