Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mqueue_init_fs_context

Proto:static int mqueue_init_fs_context(struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
382  ctx = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
383  If Not ctx Then Return -ENOMEM
386  ipc_ns = get_ipc_ns(ipc_ns)
387  put_user_ns(The user namespace for this mount )
388  The user namespace for this mount = get_user_ns(user_ns)
389  The filesystem's context = ctx
390  ops = mqueue_fs_context_ops
391  Return 0