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:Common helper for pseudo-filesystems (sockfs, pipefs, bdev - stuff that* will never be mountable)

Proto:struct pseudo_fs_context *init_pseudo(struct fs_context *fc, unsigned long magic)

Type:struct pseudo_fs_context

Parameter:

TypeParameterName
struct fs_context *fc
unsigned longmagic
301  ctx = 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).
302  If Value is more likely to compile time(ctx) Then
303  magic = magic
304  fs_private = ctx
305  ops = pseudo_fs_context_ops
306  sb_flags |= SB_NOUSER
307  global = true
309  Return ctx
Caller
NameDescribe
nsfs_init_fs_context
bd_init_fs_context
anon_inodefs_init_fs_context
aio_init_fs_context