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_init_fs_context

Proto:int ramfs_init_fs_context(struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
262  fsi = 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).
263  If Not fsi Then Return -ENOMEM
266  mode = RAMFS_DEFAULT_MODE
267  s_fs_info = fsi
268  ops = ramfs_context_ops
269  Return 0