Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pseudo_fs_fill_super

Proto:static int pseudo_fs_fill_super(struct super_block *s, struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct super_block *s
struct fs_context *fc
248  ctx = fs_private
251  s_maxbytes = Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM.
252  s_blocksize = PAGE_SIZE
253  s_blocksize_bits = PAGE_SHIFT determines the page size
254  s_magic = magic
255  s_op = If ops Else simple_super_operations
256  s_xattr = xattr
257  s_time_gran = 1
258  root = obtain an inode
259  If Not root Then Return -ENOMEM
267  Stat data, not accessed from path walking = 1
268  i_mode = S_IFDIR | S_IRUSR | S_IWUSR
269  i_atime = i_mtime = i_ctime = rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.
270  s_root = d_make_root(root)
271  If Not s_root Then Return -ENOMEM
273  s_d_op = dops
274  Return 0