函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\ramfs\inode.c Create Date:2022-07-29 11:11:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ramfs_fill_super

函数原型:static int ramfs_fill_super(struct super_block *sb, struct fs_context *fc)

返回类型:int

参数:

类型参数名称
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  如果非s_root则返回:负ENOMEM
239  返回:0