函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:finish_clean_context

函数原型:int finish_clean_context(struct fs_context *fc)

返回类型:int

参数:

类型参数名称
struct fs_context *fc
740  如果phase不等于FS_CONTEXT_AWAITING_RECONF则返回:0
743  如果init_fs_contexterror等于init_fs_context(fc)
745  否则error等于legacy_init_fs_context(fc)
747  如果此条件成立可能性小(为编译器优化)(error)则
748  phase等于FS_CONTEXT_FAILED
749  返回:error
751  need_free = true
752  phase等于FS_CONTEXT_RECONF_PARAMS
753  返回:0
调用者
名称描述
vfs_fsconfig_lockedCheck the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning.