Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\ramfs\inode.c Create Date:2022-07-28 20:34:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ramfs_fill_super

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

Type:int

Parameter:

TypeParameterName
struct super_block *sb
struct fs_context *fc
224  fsi = s_fs_info
227  s_maxbytes = Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM.
228  s_blocksize = PAGE_SIZE
229  s_blocksize_bits = PAGE_SHIFT determines the page size
230  s_magic = some random number
231  s_op = ramfs_ops
232  s_time_gran = 1
234  inode = ramfs_get_inode(sb, NULL, S_IFDIR | mode, 0)
235  s_root = d_make_root(inode)
236  If Not s_root Then Return -ENOMEM
239  Return 0