Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mqueue_fill_super

Proto:static int mqueue_fill_super(struct super_block *sb, struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
struct fs_context *fc
345  ns = s_fs_info
347  s_iflags |= Ignore executables on this fs | Ignore devices on this fs
348  s_blocksize = PAGE_SIZE
349  s_blocksize_bits = PAGE_SHIFT determines the page size
350  s_magic = MQUEUE_MAGIC
351  s_op = mqueue_super_ops
353  inode = mqueue_get_inode(sb, ns, S_IFDIR | S_ISVTX | S_IRWXUGO, NULL)
354  If IS_ERR(inode) Then Return PTR_ERR(inode)
357  s_root = ly used at mount-time
358  If Not s_root Then Return -ENOMEM
360  Return 0