Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Set up the filesystem mount context.

Proto:static int bpf_init_fs_context(struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
670  opts = 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).
671  If Not opts Then Return -ENOMEM
674  mode = S_IRWXUGO
676  fs_private = opts
677  ops = bpf_context_ops
678  Return 0